Class CadenceCreateParams.Payer.Builder

java.lang.Object
com.stripe.param.v2.billing.CadenceCreateParams.Payer.Builder
Enclosing class:
CadenceCreateParams.Payer

public static class CadenceCreateParams.Payer.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public CadenceCreateParams.Payer build()
      Finalize and obtain parameter instance from this builder.
    • setBillingProfile

      public CadenceCreateParams.Payer.Builder setBillingProfile(String billingProfile)
      The ID of the Billing Profile object which determines how a bill will be paid. If provided, the created cadence will be associated with the provided Billing Profile. If not provided, a new Billing Profile will be created and associated with the cadence.
    • setCustomer

      public CadenceCreateParams.Payer.Builder setCustomer(String customer)
      The ID of the Customer object.
    • putExtraParam

      public CadenceCreateParams.Payer.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 CadenceCreateParams.Payer.extraParams for the field documentation.
    • putAllExtraParam

      public CadenceCreateParams.Payer.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 CadenceCreateParams.Payer.extraParams for the field documentation.
    • setType

      A string identifying the type of the payer. Currently the only supported value is customer.