com.chargebee.models
Class Card

java.lang.Object
  extended by com.chargebee.internal.Resource<Card>
      extended by com.chargebee.models.Card

public class Card
extends Resource<Card>


Nested Class Summary
static class Card.CardType
           
static class Card.CopyCardForCustomerRequest
           
static class Card.FundingType
           
static class Card.Status
           
static class Card.SwitchGatewayForCustomerRequest
           
static class Card.UpdateCardForCustomerRequest
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
Card(org.json.JSONObject jsonObj)
           
Card(String jsonStr)
           
 
Method Summary
 String billingAddr1()
           
 String billingAddr2()
           
 String billingCity()
           
 String billingCountry()
           
 String billingState()
           
 String billingStateCode()
           
 String billingZip()
           
 Card.CardType cardType()
           
static Card.CopyCardForCustomerRequest copyCardForCustomer(String id)
           
 Timestamp createdAt()
           
 String customerId()
           
static Request deleteCardForCustomer(String id)
           
 Integer expiryMonth()
           
 Integer expiryYear()
           
 String firstName()
           
 Card.FundingType fundingType()
           
 Gateway gateway()
           
 String gatewayAccountId()
           
 String iin()
           
 String ipAddress()
           
 String issuingCountry()
           
 String last4()
           
 String lastName()
           
 String maskedNumber()
           
 String paymentSourceId()
           
 String refTxId()
           
 Long resourceVersion()
           
static Request retrieve(String id)
           
 Card.Status status()
           
static Card.SwitchGatewayForCustomerRequest switchGatewayForCustomer(String id)
           
static Card.UpdateCardForCustomerRequest updateCardForCustomer(String id)
           
 Timestamp updatedAt()
           
 
Methods inherited from class com.chargebee.internal.Resource
apiVersionCheck, nullCheck, optBigDecimal, optBoolean, optDouble, optEnum, optInteger, optJSONArray, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBigDecimal, reqBoolean, reqDouble, reqEnum, reqInteger, reqJSONArray, reqJSONObject, reqList, reqLong, reqString, reqSubResource, reqTimestamp, toJson, toString, uri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Card

public Card(String jsonStr)

Card

public Card(org.json.JSONObject jsonObj)
Method Detail

paymentSourceId

public String paymentSourceId()

status

public Card.Status status()

gateway

public Gateway gateway()

gatewayAccountId

public String gatewayAccountId()

refTxId

public String refTxId()

firstName

public String firstName()

lastName

public String lastName()

iin

public String iin()

last4

public String last4()

cardType

public Card.CardType cardType()

fundingType

public Card.FundingType fundingType()

expiryMonth

public Integer expiryMonth()

expiryYear

public Integer expiryYear()

issuingCountry

public String issuingCountry()

billingAddr1

public String billingAddr1()

billingAddr2

public String billingAddr2()

billingCity

public String billingCity()

billingStateCode

public String billingStateCode()

billingState

public String billingState()

billingCountry

public String billingCountry()

billingZip

public String billingZip()

createdAt

public Timestamp createdAt()

resourceVersion

public Long resourceVersion()

updatedAt

public Timestamp updatedAt()

ipAddress

public String ipAddress()

customerId

public String customerId()

maskedNumber

public String maskedNumber()

retrieve

public static Request retrieve(String id)

updateCardForCustomer

public static Card.UpdateCardForCustomerRequest updateCardForCustomer(String id)

switchGatewayForCustomer

public static Card.SwitchGatewayForCustomerRequest switchGatewayForCustomer(String id)

copyCardForCustomer

public static Card.CopyCardForCustomerRequest copyCardForCustomer(String id)

deleteCardForCustomer

public static Request deleteCardForCustomer(String id)


Copyright © 2020 ChargeBee. All Rights Reserved.