Package com.stripe.param.v2.payments
Class SettlementAllocationIntentCreateParams.Builder
java.lang.Object
com.stripe.param.v2.payments.SettlementAllocationIntentCreateParams.Builder
- Enclosing class:
- SettlementAllocationIntentCreateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllMetadata(Map<String, String> map) Add all map key/value pairs to `metadata` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata(String key, String value) Add a key/value pair to `metadata` map.Required. The amount and currency of the SettlementAllocationIntent.setExpectedSettlementDate(Instant expectedSettlementDate) Required. Date when we expect to receive the funds.setFinancialAccount(String financialAccount) Required. Financial Account Id where the funds are expected for this SettlementAllocationIntent.setReference(String reference) Required. Reference for the SettlementAllocationIntent.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public SettlementAllocationIntentCreateParams.Builder setAmount(SettlementAllocationIntentCreateParams.Amount amount) Required. The amount and currency of the SettlementAllocationIntent. Allowed Currencies aregbp|eur. -
setExpectedSettlementDate
public SettlementAllocationIntentCreateParams.Builder setExpectedSettlementDate(Instant expectedSettlementDate) Required. Date when we expect to receive the funds. Must be in future . -
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. SeeSettlementAllocationIntentCreateParams.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. SeeSettlementAllocationIntentCreateParams.extraParamsfor the field documentation. -
setFinancialAccount
Required. Financial Account Id where the funds are expected for this SettlementAllocationIntent. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSettlementAllocationIntentCreateParams.metadatafor the field documentation. -
putAllMetadata
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSettlementAllocationIntentCreateParams.metadatafor the field documentation. -
setReference
Required. Reference for the SettlementAllocationIntent. This should be same as the transaction reference used by payments processor to send funds to Stripe. Must have length between 5 and 255 characters and it must be unique among existing SettlementAllocationIntents that have a non-terminal status (pending,submitted,matched,errored).
-