Class CustomerUpdateParams.Tax.Builder

java.lang.Object
com.stripe.param.CustomerUpdateParams.Tax.Builder
Enclosing class:
CustomerUpdateParams.Tax

public static class CustomerUpdateParams.Tax.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public CustomerUpdateParams.Tax build()
      Finalize and obtain parameter instance from this builder.
    • putExtraParam

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

      public CustomerUpdateParams.Tax.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 CustomerUpdateParams.Tax.extraParams for the field documentation.
    • setIpAddress

      public CustomerUpdateParams.Tax.Builder setIpAddress(String ipAddress)
      A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes.
    • setIpAddress

      public CustomerUpdateParams.Tax.Builder setIpAddress(EmptyParam ipAddress)
      A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes.
    • setValidateLocation

      public CustomerUpdateParams.Tax.Builder setValidateLocation(CustomerUpdateParams.Tax.ValidateLocation validateLocation)
      A flag that indicates when Stripe should validate the customer tax location. Defaults to deferred.