public class OrderReturn extends APIResource implements HasId
APIResource.RequestMethod, APIResource.RequestType
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
OrderReturn() |
Modifier and Type | Method and Description |
---|---|
Long |
getAmount() |
Long |
getCreated() |
String |
getCurrency() |
String |
getId() |
List<OrderItem> |
getItems() |
Boolean |
getLivemode() |
String |
getObject() |
String |
getOrder() |
String |
getRefund() |
static OrderReturnCollection |
list(Map<String,Object> params) |
static OrderReturnCollection |
list(Map<String,Object> params,
RequestOptions options) |
static OrderReturn |
retrieve(String id) |
static OrderReturn |
retrieve(String id,
RequestOptions options) |
void |
setAmount(Long amount) |
void |
setCreated(Long created) |
void |
setCurrency(String currency) |
void |
setId(String id) |
void |
setItems(List<OrderItem> items) |
void |
setLivemode(Boolean livemode) |
void |
setObject(String object) |
void |
setOrder(String order) |
void |
setRefund(String refund) |
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, requestCollection, setExpandableFieldID, setStripeResponseGetter, singleClassURL, singleClassURL, urlEncode
equals, toJson, toString
public void setId(String id)
public String getObject()
public void setObject(String object)
public Long getAmount()
public void setAmount(Long amount)
public Long getCreated()
public void setCreated(Long created)
public String getCurrency()
public void setCurrency(String currency)
public Boolean getLivemode()
public void setLivemode(Boolean livemode)
public String getOrder()
public void setOrder(String order)
public String getRefund()
public void setRefund(String refund)
public static OrderReturn retrieve(String id) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static OrderReturn retrieve(String id, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static OrderReturnCollection list(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static OrderReturnCollection list(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
Copyright © 2017 Stripe. All rights reserved.