Class PricingPlanSubscriptionUpdateParams.Builder

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

public static class PricingPlanSubscriptionUpdateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setClearCancelAt

      public PricingPlanSubscriptionUpdateParams.Builder setClearCancelAt(Boolean clearCancelAt)
      When set to true, the servicing_status_transition.will_cancel_at field will be cleared.
    • putExtraParam

      public PricingPlanSubscriptionUpdateParams.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 PricingPlanSubscriptionUpdateParams.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. See PricingPlanSubscriptionUpdateParams.extraParams for the field documentation.
    • putMetadata

      public PricingPlanSubscriptionUpdateParams.Builder putMetadata(String key, String value)
      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. See PricingPlanSubscriptionUpdateParams.metadata for the field documentation.
    • 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. See PricingPlanSubscriptionUpdateParams.metadata for 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. Map values can only be one of the following types: `String`, `EmptyParam`. See PricingPlanSubscriptionUpdateParams.metadata for the field documentation.