com.stripe.model
Class Refund
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.APIResource
com.stripe.model.Refund
- All Implemented Interfaces:
- MetadataStore<Charge>
public class Refund
- extends APIResource
- implements MetadataStore<Charge>
Refund
public Refund()
update
public Refund update(Map<String,Object> params)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Specified by:
update in interface MetadataStore<Charge>
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
update
public Refund update(Map<String,Object> params,
String apiKey)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Specified by:
update in interface MetadataStore<Charge>
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
getInstanceURL
public String getInstanceURL()
getId
public String getId()
getAmount
public Integer getAmount()
setAmount
public void setAmount(Integer amount)
getCurrency
public String getCurrency()
setCurrency
public void setCurrency(String currency)
getCreated
public Long getCreated()
setCreated
public void setCreated(Long created)
getBalanceTransaction
public String getBalanceTransaction()
setBalanceTransaction
public void setBalanceTransaction(String balanceTransaction)
getCharge
public String getCharge()
setCharge
public void setCharge(String charge)
getMetadata
public Map<String,String> getMetadata()
- Specified by:
getMetadata in interface MetadataStore<Charge>
setMetadata
public void setMetadata(Map<String,String> metadata)
- Specified by:
setMetadata in interface MetadataStore<Charge>
Copyright © 2014 Stripe. All rights reserved.