Package com.stripe.model.billing
Class CreditBalanceTransaction.Debit
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.CreditBalanceTransaction.Debit
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- CreditBalanceTransaction
public static class CreditBalanceTransaction.Debit
extends StripeObject
implements StripeActiveObject
For more details about Debit, 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 CreditsApplied, 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 how the billing credits were applied to an invoice.getType()The type of debit transaction.inthashCode()voidvoidsetCreditsApplied(CreditBalanceTransaction.Debit.CreditsApplied creditsApplied) Details of how the billing credits were applied to an invoice.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidThe type of debit 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
-
Debit
public Debit()
-
-
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
-
getCreditsApplied
Details of how the billing credits were applied to an invoice. Only present iftypeiscredits_applied. -
getType
The type of debit transaction.One of
credits_applied,credits_expired, orcredits_voided. -
setAmount
-
setCreditsApplied
Details of how the billing credits were applied to an invoice. Only present iftypeiscredits_applied. -
setType
The type of debit transaction.One of
credits_applied,credits_expired, orcredits_voided. -
equals
-
canEqual
-
hashCode
public int hashCode()
-