com.chargebee.models
Class Card
java.lang.Object
com.chargebee.internal.Resource<Card>
com.chargebee.models.Card
public class Card
- extends Resource<Card>
|
Constructor Summary |
Card(org.json.JSONObject jsonObj)
|
Card(String jsonStr)
|
| Methods inherited from class com.chargebee.internal.Resource |
nullCheck, optBoolean, optDouble, optEnum, optInteger, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBoolean, reqDouble, reqEnum, reqInteger, reqJSONObject, reqList, reqLong, reqString, reqSubResource, reqTimestamp, toJson, toString, uri |
Card
public Card(String jsonStr)
Card
public Card(org.json.JSONObject jsonObj)
customerId
public String customerId()
status
public Card.Status status()
gateway
public Gateway gateway()
firstName
public String firstName()
lastName
public String lastName()
iin
public String iin()
last4
public String last4()
cardType
public Card.CardType cardType()
expiryMonth
public Integer expiryMonth()
expiryYear
public Integer expiryYear()
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()
ipAddress
public String ipAddress()
maskedNumber
public String maskedNumber()
retrieve
public static Request retrieve(String id)
throws IOException
- Throws:
IOException
updateCardForCustomer
public static Card.UpdateCardForCustomerRequest updateCardForCustomer(String id)
throws IOException
- Throws:
IOException
deleteCardForCustomer
public static Request deleteCardForCustomer(String id)
throws IOException
- Throws:
IOException
Copyright © 2015 ChargeBee. All Rights Reserved.