public class Token extends APIResource implements HasId
APIResource.RequestMethod, APIResource.RequestType
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
Token() |
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 BankAccount getBankAccount()
public void setBankAccount(BankAccount bankAccount)
public Card getCard()
public void setCard(Card card)
public String getClientIp()
public void setClientIp(String clientIp)
public Long getCreated()
public void setCreated(Long created)
public String getCurrency()
public void setCurrency(String currency)
public String getEmail()
public void setEmail(String email)
public Boolean getLivemode()
public void setLivemode(Boolean livemode)
public String getType()
public void setType(String type)
public Boolean getUsed()
public void setUsed(Boolean used)
public static Token create(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Token retrieve(String id) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static Token create(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Token create(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static Token retrieve(String id, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Token retrieve(String id, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
Copyright © 2017 Stripe. All rights reserved.