Package com.stripe.param.capital
Class FinancingOfferRefillParams.Builder
java.lang.Object
com.stripe.param.capital.FinancingOfferRefillParams.Builder
- Enclosing class:
- FinancingOfferRefillParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllExpand(List<String> elements) Add all elements to `expand` list.Add an element to `expand` list.build()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setAdvanceAmount(Long advanceAmount) Required. Amount of financing offered, in minor units.setFeeAmount(Long feeAmount) Required. Fixed fee amount, in minor units.setFinancingType(FinancingOfferRefillParams.FinancingType financingType) Required. The type of financing offerThe status of the financing offer.setWithholdRate(BigDecimal withholdRate) Required. Per-transaction rate at which Stripe withholds funds to repay the financing.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAdvanceAmount
Required. Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. -
addExpand
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeFinancingOfferRefillParams.expandfor the field documentation. -
addAllExpand
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeFinancingOfferRefillParams.expandfor the field documentation. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeFinancingOfferRefillParams.extraParamsfor the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeFinancingOfferRefillParams.extraParamsfor the field documentation. -
setFeeAmount
Required. Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. -
setFinancingType
public FinancingOfferRefillParams.Builder setFinancingType(FinancingOfferRefillParams.FinancingType financingType) Required. The type of financing offer -
setStatus
The status of the financing offer. -
setWithholdRate
Required. Per-transaction rate at which Stripe withholds funds to repay the financing.
-