Package com.stripe.param
Enum CustomerUpdateParams.TaxExempt
- java.lang.Object
-
- java.lang.Enum<CustomerUpdateParams.TaxExempt>
-
- com.stripe.param.CustomerUpdateParams.TaxExempt
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,java.io.Serializable
,java.lang.Comparable<CustomerUpdateParams.TaxExempt>
- Enclosing class:
- CustomerUpdateParams
public static enum CustomerUpdateParams.TaxExempt extends java.lang.Enum<CustomerUpdateParams.TaxExempt> implements ApiRequestParams.EnumParam
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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
static CustomerUpdateParams.TaxExempt
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CustomerUpdateParams.TaxExempt[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXEMPT
@SerializedName("exempt") public static final CustomerUpdateParams.TaxExempt EXEMPT
-
NONE
@SerializedName("none") public static final CustomerUpdateParams.TaxExempt NONE
-
REVERSE
@SerializedName("reverse") public static final CustomerUpdateParams.TaxExempt REVERSE
-
-
Method Detail
-
values
public static CustomerUpdateParams.TaxExempt[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CustomerUpdateParams.TaxExempt c : CustomerUpdateParams.TaxExempt.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomerUpdateParams.TaxExempt valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-
-