Package com.stripe.model.billing
Class CreditBalanceTransaction.Credit
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.CreditBalanceTransaction.Credit
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- CreditBalanceTransaction
public static class CreditBalanceTransaction.Credit
extends StripeObject
implements StripeActiveObject
For more details about Credit, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Amount, please refer to the API Reference.static classFor 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 booleanbooleanDetails of the invoice to which the reinstated credits were originally applied.getType()The type of credit transaction.inthashCode()voidvoidsetCreditsApplicationInvoiceVoided(CreditBalanceTransaction.Credit.CreditsApplicationInvoiceVoided creditsApplicationInvoiceVoided) Details of the invoice to which the reinstated credits were originally applied.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidThe type of credit transaction.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Credit
public Credit()
-
-
Method Details
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getAmount
-
getCreditsApplicationInvoiceVoided
public CreditBalanceTransaction.Credit.CreditsApplicationInvoiceVoided getCreditsApplicationInvoiceVoided()Details of the invoice to which the reinstated credits were originally applied. Only present iftypeiscredits_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 iftypeiscredits_application_invoice_voided. -
setType
The type of credit transaction.One of
credits_application_invoice_voided, orcredits_granted. -
equals
-
canEqual
-
hashCode
public int hashCode()
-