Enum TransactionAddressType
java.lang.Object
java.lang.Enum<TransactionAddressType>
net.avalara.avatax.rest.client.enums.TransactionAddressType
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TransactionAddressType>,java.lang.constant.Constable
public enum TransactionAddressType extends java.lang.Enum<TransactionAddressType>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description PointOfOrderAcceptanceLocation where the order was accepted; typically the call center, business office where purchase orders are accepted, server locations where orders are processed and acceptedPointOfOrderOriginLocation from which the order was placed; typically the customer's home or business locationShipFromThis is the location from which the product was shippedShipToThis is the location to which the product was shippedSingleLocationOnly used if all addresses for this transaction were identical; e.g. -
Method Summary
Modifier and Type Method Description static TransactionAddressTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TransactionAddressType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ShipFrom
This is the location from which the product was shipped -
ShipTo
This is the location to which the product was shipped -
PointOfOrderAcceptance
Location where the order was accepted; typically the call center, business office where purchase orders are accepted, server locations where orders are processed and accepted -
PointOfOrderOrigin
Location from which the order was placed; typically the customer's home or business location -
SingleLocation
Only used if all addresses for this transaction were identical; e.g. if this was a point-of-sale physical transaction
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-