Class CustomerCreateParams.Tax.Builder

  • Enclosing class:
    CustomerCreateParams.Tax

    public static class CustomerCreateParams.Tax.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • putExtraParam

        public CustomerCreateParams.Tax.Builder putExtraParam​(java.lang.String key,
                                                              java.lang.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​(java.util.Map<java.lang.String,​java.lang.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​(java.lang.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.