public class Refund extends APIResource implements MetadataStore<Charge>
APIResource.RequestMethod, APIResource.RequestTypeCHARSET, GSONPRETTY_PRINT_GSON| Constructor and Description |
|---|
Refund() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAmount() |
String |
getBalanceTransaction() |
String |
getCharge() |
Long |
getCreated() |
String |
getCurrency() |
String |
getId() |
String |
getInstanceURL() |
Map<String,String> |
getMetadata() |
void |
setAmount(Integer amount) |
void |
setBalanceTransaction(String balanceTransaction) |
void |
setCharge(String charge) |
void |
setCreated(Long created) |
void |
setCurrency(String currency) |
void |
setMetadata(Map<String,String> metadata) |
Refund |
update(Map<String,Object> params) |
Refund |
update(Map<String,Object> params,
RequestOptions options) |
Refund |
update(Map<String,Object> params,
String apiKey)
Deprecated.
|
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, setStripeResponseGetter, singleClassURL, singleClassURL, urlEncodeequals, toStringpublic Refund update(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
update in interface MetadataStore<Charge>AuthenticationExceptionInvalidRequestExceptionAPIConnectionExceptionCardExceptionAPIException@Deprecated public Refund update(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Refund update(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
update in interface MetadataStore<Charge>AuthenticationExceptionInvalidRequestExceptionAPIConnectionExceptionCardExceptionAPIExceptionpublic String getInstanceURL()
public String getId()
public Integer getAmount()
public void setAmount(Integer amount)
public String getCurrency()
public void setCurrency(String currency)
public Long getCreated()
public void setCreated(Long created)
public String getBalanceTransaction()
public void setBalanceTransaction(String balanceTransaction)
public String getCharge()
public void setCharge(String charge)
public Map<String,String> getMetadata()
getMetadata in interface MetadataStore<Charge>Copyright © 2015 Stripe. All rights reserved.