Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PurchasePurchaseError

Errors that a purchase order can be rejected for.

Hierarchy

  • PurchasePurchaseError

Properties

Optional availableQuantity

availableQuantity: undefined | number

Available quantity now. Applicable in case of AVAILABILITY_CHANGED.

Optional description

description: undefined | string

Additional error description.

Optional entityId

entityId: undefined | string

Entity Id that corresponds to the error. Example this can correspond to LineItemId / ItemOptionId.

Optional type

type: ErrorType

Required: This represents the granular reason why an order gets rejected by the merchant.

Optional updatedPrice

updatedPrice: PriceAttribute

Relevant in case of PRICE_CHANGED / INCORRECT_PRICE error type.

Generated using TypeDoc