Class CustomerCreateParams.Tax.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • build

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

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

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

      public CustomerCreateParams.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 CustomerCreateParams.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 CustomerCreateParams.Tax.Builder setValidateLocation(CustomerCreateParams.Tax.ValidateLocation validateLocation)
      A flag that indicates when Stripe should validate the customer tax location. Defaults to deferred.