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.Status
           
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()
           
 String customerId()
           
static Request deleteCardForCustomer(String id)
           
 Integer expiryMonth()
           
 Integer expiryYear()
           
 String firstName()
           
 Gateway gateway()
           
 String iin()
           
 String ipAddress()
           
 String last4()
           
 String lastName()
           
 String maskedNumber()
           
static Request retrieve(String id)
           
 Card.Status status()
           
static Card.UpdateCardForCustomerRequest updateCardForCustomer(String id)
           
 
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
 
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

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.