public class Card extends ExternalAccount implements MetadataStore<Card>, HasId
APIResource.RequestMethod, APIResource.RequestType
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
Card() |
getAccount, getCustomer, getId, getObject, setAccount, setCustomer, verify, verify
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, requestCollection, setStripeResponseGetter, singleClassURL, singleClassURL, urlEncode
equals, toString
public Card update(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
update
in interface MetadataStore<Card>
update
in class ExternalAccount
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
@Deprecated public Card update(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Card update(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
update
in interface MetadataStore<Card>
update
in class ExternalAccount
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
public DeletedCard delete() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
delete
in class ExternalAccount
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
@Deprecated public DeletedCard delete(String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public DeletedCard delete(RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
delete
in class ExternalAccount
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
public String getInstanceURL()
getInstanceURL
in class ExternalAccount
public String getStatus()
public void setStatus(String status)
public String getRecipient()
public void setRecipient(String recipient)
public Integer getExpMonth()
public void setExpMonth(Integer expMonth)
public Integer getExpYear()
public void setExpYear(Integer expYear)
public String getLast4()
public void setLast4(String last4)
public String getDynamicLast4()
public void setDynamicLast4(String dynamicLast4)
public String getCountry()
public void setCountry(String country)
public String getType()
public void setType(String type)
public String getName()
public void setName(String name)
public String getAddressLine1()
public void setAddressLine1(String addressLine1)
public String getAddressLine2()
public void setAddressLine2(String addressLine2)
public String getAddressCity()
public void setAddressCity(String addressCity)
public String getAddressZip()
public void setAddressZip(String addressZip)
public String getAddressState()
public void setAddressState(String addressState)
public String getAddressCountry()
public void setAddressCountry(String addressCountry)
public String getAddressZipCheck()
public void setAddressZipCheck(String addressZipCheck)
public String getAddressLine1Check()
public void setAddressLine1Check(String addressLine1Check)
public String getCvcCheck()
public void setCvcCheck(String cvcCheck)
public String getFingerprint()
public void setFingerprint(String fingerprint)
public String getBrand()
public void setBrand(String brand)
public String getFunding()
public void setFunding(String funding)
public Map<String,String> getMetadata()
getMetadata
in interface MetadataStore<Card>
public String getCurrency()
public void setCurrency(String currency)
public String getTokenizationMethod()
public void setTokenizationMethod(String tokenizationMethod)
Copyright © 2016 Stripe. All rights reserved.