Package com.stripe.model.capital
Class FinancingOffer.AcceptedTerms
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.capital.FinancingOffer.AcceptedTerms
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- FinancingOffer
This is an object representing the terms of an offer of financing from Stripe Capital to a
Connected account. This resource represents the terms accepted by the Connected account, which
may differ from those offered.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAmount of financing offered, in minor units.Currency that the financing offer is transacted in.Fixed fee amount, in minor units.Populated when theproduct_typeof thefinancingofferisrefill.Per-transaction rate at which Stripe withholds funds to repay the financing.inthashCode()voidsetAdvanceAmount(Long advanceAmount) Amount of financing offered, in minor units.voidsetCurrency(String currency) Currency that the financing offer is transacted in.voidsetFeeAmount(Long feeAmount) Fixed fee amount, in minor units.voidsetPreviousFinancingFeeDiscountAmount(Long previousFinancingFeeDiscountAmount) Populated when theproduct_typeof thefinancingofferisrefill.voidsetWithholdRate(BigDecimal withholdRate) Per-transaction rate at which Stripe withholds funds to repay the financing.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AcceptedTerms
public AcceptedTerms()
-
-
Method Details
-
getAdvanceAmount
Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. -
getCurrency
Currency that the financing offer is transacted in. For example,usd. -
getFeeAmount
Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. -
getPreviousFinancingFeeDiscountAmount
Populated when theproduct_typeof thefinancingofferisrefill. Represents the discount amount on remaining premium for the existing loan at payout time. -
getWithholdRate
Per-transaction rate at which Stripe withholds funds to repay the financing. -
setAdvanceAmount
Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. -
setCurrency
Currency that the financing offer is transacted in. For example,usd. -
setFeeAmount
Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. -
setPreviousFinancingFeeDiscountAmount
Populated when theproduct_typeof thefinancingofferisrefill. Represents the discount amount on remaining premium for the existing loan at payout time. -
setWithholdRate
Per-transaction rate at which Stripe withholds funds to repay the financing. -
equals
-
canEqual
-
hashCode
public int hashCode()
-