ExchangeErrorCode

Possible error codes that could be returned by an exchange.

Show definition

# Possible error codes that could be returned by an exchange.
enum ExchangeErrorCode {
  CHECKOUT_LINE_ITEM_INVALID_SPECIFICATION
  REFUND
  EXCHANGE_CREDIT_GREATER_THAN_CHECKOUT_PRICE
  EXCHANGE_NOT_FOUND
  EXCHANGE_NOT_READY_TO_COMPLETE
  EXCHANGE_ALREADY_COMPLETED
  CHECKOUT
  CHECKOUT_DISCOUNT
  CHECKOUT_LINE_ITEM
  CHECKOUT_ORDER_CONTAINS_DISCOUNT_CODE_AND_MANUAL_DISCOUNT
  REFUND_TRANSACTION
  REFUND_TRANSACTIONS_NIL
  REFUND_LINE_ITEM
  REFUND_LINE_ITEM_NOT_FULFILLED
  REFUND_MISSING_TRANSACTIONS
  REFUND_TRANSACTIONS_REQUIRED
  PAYMENT_UNIQUE_TOKEN_NOT_SPECIFIED
  PAYMENT_EXCHANGE_CREDIT_APPLICATION
  PAYMENT_EXCHANGE_CREDIT
  RECEIPT_REQUIRES_EMAIL_OR_PHONE
  RECEIPT_RECIPIENT_UNREACHABLE
}

Values

REFUND_TRANSACTIONS_REQUIRED

CHECKOUT_DISCOUNT

CHECKOUT_LINE_ITEM

CHECKOUT_LINE_ITEM_INVALID_SPECIFICATION

CHECKOUT_ORDER_CONTAINS_DISCOUNT_CODE_AND_MANUAL_DISCOUNT

EXCHANGE_ALREADY_COMPLETED

EXCHANGE_CREDIT_GREATER_THAN_CHECKOUT_PRICE

EXCHANGE_NOT_FOUND

EXCHANGE_NOT_READY_TO_COMPLETE

PAYMENT_EXCHANGE_CREDIT

PAYMENT_EXCHANGE_CREDIT_APPLICATION

PAYMENT_UNIQUE_TOKEN_NOT_SPECIFIED

RECEIPT_RECIPIENT_UNREACHABLE

RECEIPT_REQUIRES_EMAIL_OR_PHONE

REFUND

REFUND_LINE_ITEM

REFUND_LINE_ITEM_NOT_FULFILLED

REFUND_MISSING_TRANSACTIONS

REFUND_TRANSACTION

REFUND_TRANSACTIONS_NIL

CHECKOUT

Sign up for a Partner account to get started.

Sign up