Class FinancialAddressCreditParams.Builder

java.lang.Object
com.stripe.param.v2.testhelpers.FinancialAddressCreditParams.Builder
Enclosing class:
FinancialAddressCreditParams

public static class FinancialAddressCreditParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setAmount

      public FinancialAddressCreditParams.Builder setAmount(Amount amount)
      Required. Object containing the amount value and currency to credit.
    • putExtraParam

      public FinancialAddressCreditParams.Builder putExtraParam(String key, Object value)
      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. See FinancialAddressCreditParams.extraParams for the field documentation.
    • putAllExtraParam

      public FinancialAddressCreditParams.Builder putAllExtraParam(Map<String,Object> map)
      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. See FinancialAddressCreditParams.extraParams for the field documentation.
    • setNetwork

      Required. Open Enum. The network to use in simulating the funds flow. This will be the reflected in the resulting ReceivedCredit.
    • setStatementDescriptor

      public FinancialAddressCreditParams.Builder setStatementDescriptor(String statementDescriptor)
      String explaining funds flow. Use this field to populate the statement descriptor of the ReceivedCredit created as an eventual result of this simulation.