Enum RefundType

java.lang.Object
java.lang.Enum<RefundType>
net.avalara.avatax.rest.client.enums.RefundType
All Implemented Interfaces:
Serializable, Comparable<RefundType>, java.lang.constant.Constable

public enum RefundType extends Enum<RefundType>
Refund types
  • Enum Constant Details

    • Full

      public static final RefundType Full
      Refund the whole transaction.
    • Partial

      public static final RefundType Partial
      Refund only specific lines from the original a transaction.
    • TaxOnly

      public static final RefundType TaxOnly
      Only refund the tax part of the transaction.
    • Percentage

      public static final RefundType Percentage
      Refund a percentage of the value of this transaction.
  • Method Details

    • values

      public static RefundType[] 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

      public static RefundType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

      public static RefundType valueOf(int intValue)
      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:
      intValue - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()