Package com.stripe.model
Class Invoice.TotalPretaxCreditAmount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.TotalPretaxCreditAmount
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- Invoice
public static class Invoice.TotalPretaxCreditAmount
extends StripeObject
implements StripeActiveObject
For more details about TotalPretaxCreditAmount, 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 booleanbooleanThe amount, in cents (or local equivalent), of the pretax credit amount.Get ID of expandablecreditBalanceTransactionobject.Get expandedcreditBalanceTransaction.Get ID of expandablediscountobject.Get expandeddiscount.getType()Type of the pretax credit amount referenced.inthashCode()voidThe amount, in cents (or local equivalent), of the pretax credit amount.voidvoidsetCreditBalanceTransactionObject(CreditBalanceTransaction expandableObject) voidsetDiscount(String id) voidsetDiscountObject(Discount expandableObject) voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidType of the pretax credit amount referenced.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
-
TotalPretaxCreditAmount
public TotalPretaxCreditAmount()
-
-
Method Details
-
getCreditBalanceTransaction
Get ID of expandablecreditBalanceTransactionobject. -
setCreditBalanceTransaction
-
getCreditBalanceTransactionObject
Get expandedcreditBalanceTransaction. -
setCreditBalanceTransactionObject
-
getDiscount
Get ID of expandablediscountobject. -
setDiscount
-
getDiscountObject
Get expandeddiscount. -
setDiscountObject
-
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
The amount, in cents (or local equivalent), of the pretax credit amount. -
getType
Type of the pretax credit amount referenced.One of
credit_balance_transaction, ordiscount. -
setAmount
The amount, in cents (or local equivalent), of the pretax credit amount. -
setType
Type of the pretax credit amount referenced.One of
credit_balance_transaction, ordiscount. -
equals
-
canEqual
-
hashCode
public int hashCode()
-