Package com.stripe.param.v2.testhelpers
Class FinancialAddressCreditParams.Builder
java.lang.Object
com.stripe.param.v2.testhelpers.FinancialAddressCreditParams.Builder
- Enclosing class:
- FinancialAddressCreditParams
-
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.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Required. Object containing the amount value and currency to credit.Required. Open Enum.setStatementDescriptor
(String statementDescriptor) String explaining funds flow.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. Object containing the amount value and currency to credit. -
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. SeeFinancialAddressCreditParams.extraParams
for 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. SeeFinancialAddressCreditParams.extraParams
for the field documentation. -
setNetwork
public FinancialAddressCreditParams.Builder setNetwork(FinancialAddressCreditParams.Network network) Required. Open Enum. The network to use in simulating the funds flow. This will be the reflected in the resulting ReceivedCredit. -
setStatementDescriptor
String explaining funds flow. Use this field to populate the statement descriptor of the ReceivedCredit created as an eventual result of this simulation.
-