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, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBigDecimal, reqBoolean, reqDouble, reqEnum, reqInteger, 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()
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()
createUsingTempToken
public static PaymentSource.CreateUsingTempTokenRequest createUsingTempToken()
throws IOException
- Throws:
IOException
createUsingPermanentToken
public static PaymentSource.CreateUsingPermanentTokenRequest createUsingPermanentToken()
throws IOException
- Throws:
IOException
createCard
public static PaymentSource.CreateCardRequest createCard()
throws IOException
- Throws:
IOException
retrieve
public static Request retrieve(String id)
throws IOException
- Throws:
IOException
list
public static PaymentSource.PaymentSourceListRequest list()
throws IOException
- Throws:
IOException
switchGatewayAccount
public static PaymentSource.SwitchGatewayAccountRequest switchGatewayAccount(String id)
throws IOException
- Throws:
IOException
exportPaymentSource
public static PaymentSource.ExportPaymentSourceRequest exportPaymentSource(String id)
throws IOException
- Throws:
IOException
delete
public static Request delete(String id)
throws IOException
- Throws:
IOException
Copyright © 2017 ChargeBee. All Rights Reserved.