com.stripe.model
Class Card

java.lang.Object
  extended by com.stripe.model.StripeObject
      extended by com.stripe.net.APIResource
          extended by com.stripe.model.Card

public class Card
extends APIResource


Nested Class Summary
 
Nested classes/interfaces inherited from class com.stripe.net.APIResource
APIResource.RequestMethod
 
Field Summary
 
Fields inherited from class com.stripe.net.APIResource
CHARSET, GSON
 
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
 
Constructor Summary
Card()
           
 
Method Summary
 DeletedCard delete()
           
 DeletedCard delete(String apiKey)
           
 String getAddressCity()
           
 String getAddressCountry()
           
 String getAddressLine1()
           
 String getAddressLine1Check()
           
 String getAddressLine2()
           
 String getAddressState()
           
 String getAddressZip()
           
 String getAddressZipCheck()
           
 String getBrand()
           
 String getCountry()
           
 String getCustomer()
           
 String getCvcCheck()
           
 Integer getExpMonth()
           
 Integer getExpYear()
           
 String getFingerprint()
           
 String getFunding()
           
 String getId()
           
 String getInstanceURL()
           
 String getLast4()
           
 String getName()
           
 String getRecipient()
           
 String getType()
           
 void setAddressCity(String addressCity)
           
 void setAddressCountry(String addressCountry)
           
 void setAddressLine1(String addressLine1)
           
 void setAddressLine1Check(String addressLine1Check)
           
 void setAddressLine2(String addressLine2)
           
 void setAddressState(String addressState)
           
 void setAddressZip(String addressZip)
           
 void setAddressZipCheck(String addressZipCheck)
           
 void setBrand(String brand)
           
 void setCountry(String country)
           
 void setCustomer(String customer)
           
 void setCvcCheck(String cvcCheck)
           
 void setExpMonth(Integer expMonth)
           
 void setExpYear(Integer expYear)
           
 void setFingerprint(String fingerprint)
           
 void setFunding(String funding)
           
 void setId(String id)
           
 void setLast4(String last4)
           
 void setName(String name)
           
 void setRecipient(String recipient)
           
 void setType(String type)
           
 Card update(Map<String,Object> params)
           
 Card update(Map<String,Object> params, String apiKey)
           
 
Methods inherited from class com.stripe.net.APIResource
_request, classURL, instanceURL, request, singleClassURL
 
Methods inherited from class com.stripe.model.StripeObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Card

public Card()
Method Detail

update

public Card update(Map<String,Object> params)
            throws AuthenticationException,
                   InvalidRequestException,
                   APIConnectionException,
                   CardException,
                   APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

update

public Card update(Map<String,Object> params,
                   String apiKey)
            throws AuthenticationException,
                   InvalidRequestException,
                   APIConnectionException,
                   CardException,
                   APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

delete

public DeletedCard delete()
                   throws AuthenticationException,
                          InvalidRequestException,
                          APIConnectionException,
                          CardException,
                          APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

delete

public DeletedCard delete(String apiKey)
                   throws AuthenticationException,
                          InvalidRequestException,
                          APIConnectionException,
                          CardException,
                          APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

getInstanceURL

public String getInstanceURL()

getId

public String getId()

setId

public void setId(String id)

getCustomer

public String getCustomer()

setCustomer

public void setCustomer(String customer)

getRecipient

public String getRecipient()

setRecipient

public void setRecipient(String recipient)

getExpMonth

public Integer getExpMonth()

setExpMonth

public void setExpMonth(Integer expMonth)

getExpYear

public Integer getExpYear()

setExpYear

public void setExpYear(Integer expYear)

getLast4

public String getLast4()

setLast4

public void setLast4(String last4)

getCountry

public String getCountry()

setCountry

public void setCountry(String country)

getType

public String getType()

setType

public void setType(String type)

getName

public String getName()

setName

public void setName(String name)

getAddressLine1

public String getAddressLine1()

setAddressLine1

public void setAddressLine1(String addressLine1)

getAddressLine2

public String getAddressLine2()

setAddressLine2

public void setAddressLine2(String addressLine2)

getAddressCity

public String getAddressCity()

setAddressCity

public void setAddressCity(String addressCity)

getAddressZip

public String getAddressZip()

setAddressZip

public void setAddressZip(String addressZip)

getAddressState

public String getAddressState()

setAddressState

public void setAddressState(String addressState)

getAddressCountry

public String getAddressCountry()

setAddressCountry

public void setAddressCountry(String addressCountry)

getAddressZipCheck

public String getAddressZipCheck()

setAddressZipCheck

public void setAddressZipCheck(String addressZipCheck)

getAddressLine1Check

public String getAddressLine1Check()

setAddressLine1Check

public void setAddressLine1Check(String addressLine1Check)

getCvcCheck

public String getCvcCheck()

setCvcCheck

public void setCvcCheck(String cvcCheck)

getFingerprint

public String getFingerprint()

setFingerprint

public void setFingerprint(String fingerprint)

getBrand

public String getBrand()

setBrand

public void setBrand(String brand)

getFunding

public String getFunding()

setFunding

public void setFunding(String funding)


Copyright © 2014 Stripe. All rights reserved.