com.chargebee.models
Class PaymentSource
java.lang.Object
com.chargebee.internal.Resource<PaymentSource>
com.chargebee.models.PaymentSource
public class PaymentSource
- extends Resource<PaymentSource>
| 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 |
PaymentSource
public PaymentSource(String jsonStr)
PaymentSource
public PaymentSource(org.json.JSONObject jsonObj)
id
public String id()
resourceVersion
public Long resourceVersion()
updatedAt
public Timestamp updatedAt()
createdAt
public Timestamp createdAt()
customerId
public String customerId()
type
public Type type()
referenceId
public String referenceId()
status
public PaymentSource.Status status()
gateway
public Gateway gateway()
gatewayAccountId
public String gatewayAccountId()
ipAddress
public String ipAddress()
issuingCountry
public String issuingCountry()
card
public PaymentSource.Card card()
bankAccount
public PaymentSource.BankAccount bankAccount()
amazonPayment
public PaymentSource.AmazonPayment amazonPayment()
paypal
public PaymentSource.Paypal paypal()
deleted
public Boolean deleted()
createUsingTempToken
public static PaymentSource.CreateUsingTempTokenRequest createUsingTempToken()
createUsingPermanentToken
public static PaymentSource.CreateUsingPermanentTokenRequest createUsingPermanentToken()
createUsingToken
public static PaymentSource.CreateUsingTokenRequest createUsingToken()
createUsingPaymentIntent
public static PaymentSource.CreateUsingPaymentIntentRequest createUsingPaymentIntent()
createCard
public static PaymentSource.CreateCardRequest createCard()
createBankAccount
public static PaymentSource.CreateBankAccountRequest createBankAccount()
updateCard
public static PaymentSource.UpdateCardRequest updateCard(String id)
verifyBankAccount
public static PaymentSource.VerifyBankAccountRequest verifyBankAccount(String id)
retrieve
public static Request retrieve(String id)
list
public static PaymentSource.PaymentSourceListRequest list()
switchGatewayAccount
public static PaymentSource.SwitchGatewayAccountRequest switchGatewayAccount(String id)
exportPaymentSource
public static PaymentSource.ExportPaymentSourceRequest exportPaymentSource(String id)
delete
public static Request delete(String id)
deleteLocal
public static Request deleteLocal(String id)
Copyright © 2019 ChargeBee. All Rights Reserved.