public class PaymentVoucher extends Resource<PaymentVoucher>
Modifier and Type | Class and Description |
---|---|
static class |
PaymentVoucher.CreateRequest |
static class |
PaymentVoucher.LinkedInvoice |
static class |
PaymentVoucher.PaymentVoucherPaymentVouchersForCustomerRequest |
static class |
PaymentVoucher.PaymentVoucherPaymentVouchersForInvoiceRequest |
static class |
PaymentVoucher.Status |
Constructor and Description |
---|
PaymentVoucher(org.json.JSONObject jsonObj) |
PaymentVoucher(String jsonStr) |
Modifier and Type | Method and Description |
---|---|
Long |
amount() |
static PaymentVoucher.CreateRequest |
create() |
String |
currencyCode() |
String |
customerId() |
Timestamp |
date() |
String |
errorCode() |
String |
errorText() |
Timestamp |
expiresAt() |
Gateway |
gateway() |
String |
gatewayAccountId() |
String |
id() |
String |
idAtGateway() |
List<PaymentVoucher.LinkedInvoice> |
linkedInvoices() |
String |
payload() |
static PaymentVoucher.PaymentVoucherPaymentVouchersForCustomerRequest |
payment_vouchersForCustomer(String id) |
static PaymentVoucher.PaymentVoucherPaymentVouchersForInvoiceRequest |
payment_vouchersForInvoice(String id) |
String |
paymentSourceId() |
PaymentVoucherType |
paymentVoucherType() |
Long |
resourceVersion() |
static Request |
retrieve(String id) |
PaymentVoucher.Status |
status() |
String |
subscriptionId() |
Timestamp |
updatedAt() |
String |
url() |
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
public PaymentVoucher(String jsonStr)
public PaymentVoucher(org.json.JSONObject jsonObj)
public String id()
public String idAtGateway()
public PaymentVoucherType paymentVoucherType()
public Timestamp expiresAt()
public PaymentVoucher.Status status()
public String subscriptionId()
public String currencyCode()
public Long amount()
public String gatewayAccountId()
public String paymentSourceId()
public Gateway gateway()
public String payload()
public String errorCode()
public String errorText()
public String url()
public Timestamp date()
public Long resourceVersion()
public Timestamp updatedAt()
public String customerId()
public List<PaymentVoucher.LinkedInvoice> linkedInvoices()
public static PaymentVoucher.CreateRequest create()
public static PaymentVoucher.PaymentVoucherPaymentVouchersForInvoiceRequest payment_vouchersForInvoice(String id)
public static PaymentVoucher.PaymentVoucherPaymentVouchersForCustomerRequest payment_vouchersForCustomer(String id)
Copyright © 2023 ChargeBee. All rights reserved.