Package com.stripe.model
Class CreditNote.PretaxCreditAmount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.CreditNote.PretaxCreditAmount
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- CreditNote
For more details about PretaxCreditAmount, 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
The amount, in cents (or local equivalent), of the pretax credit amount.Get ID of expandablecreditBalanceTransaction
object.Get expandedcreditBalanceTransaction
.Get ID of expandablediscount
object.Get expandeddiscount
.getType()
Type of the pretax credit amount referenced.int
hashCode()
void
The amount, in cents (or local equivalent), of the pretax credit amount.void
void
setCreditBalanceTransactionObject
(CreditBalanceTransaction expandableObject) void
setDiscount
(String id) void
setDiscountObject
(Discount expandableObject) void
Type of the pretax credit amount referenced.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PretaxCreditAmount
public PretaxCreditAmount()
-
-
Method Details
-
getCreditBalanceTransaction
Get ID of expandablecreditBalanceTransaction
object. -
setCreditBalanceTransaction
-
getCreditBalanceTransactionObject
Get expandedcreditBalanceTransaction
. -
setCreditBalanceTransactionObject
-
getDiscount
Get ID of expandablediscount
object. -
setDiscount
-
getDiscountObject
Get expandeddiscount
. -
setDiscountObject
-
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()
-