Package com.stripe.model.billing
Class CreditBalanceTransaction.Credit
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.CreditBalanceTransaction.Credit
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- CreditBalanceTransaction
For more details about Credit, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Amount, please refer to the API Reference.static class
For more details about CreditsApplicationInvoiceVoided, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Details of the invoice to which the reinstated credits were originally applied.getType()
The type of credit transaction.int
hashCode()
void
void
setCreditsApplicationInvoiceVoided
(CreditBalanceTransaction.Credit.CreditsApplicationInvoiceVoided creditsApplicationInvoiceVoided) Details of the invoice to which the reinstated credits were originally applied.void
The type of credit transaction.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Credit
public Credit()
-
-
Method Details
-
getAmount
-
getCreditsApplicationInvoiceVoided
public CreditBalanceTransaction.Credit.CreditsApplicationInvoiceVoided getCreditsApplicationInvoiceVoided()Details of the invoice to which the reinstated credits were originally applied. Only present iftype
iscredits_application_invoice_voided
. -
getType
The type of credit transaction.One of
credits_application_invoice_voided
, orcredits_granted
. -
setAmount
-
setCreditsApplicationInvoiceVoided
public void setCreditsApplicationInvoiceVoided(CreditBalanceTransaction.Credit.CreditsApplicationInvoiceVoided creditsApplicationInvoiceVoided) Details of the invoice to which the reinstated credits were originally applied. Only present iftype
iscredits_application_invoice_voided
. -
setType
The type of credit transaction.One of
credits_application_invoice_voided
, orcredits_granted
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-