PurchaseError

שגיאות שבקשת רכישה יכולה להידחות.

ייצוג JSON
{
  "type": enum (ErrorType),
  "description": string,
  "entityId": string,
  "updatedPrice": {
    object (PriceAttribute)
  },
  "availableQuantity": number
}
שדות
type

enum (ErrorType)

חובה: הערך הזה מייצג את הסיבה שבגללה המוכר דחה את ההזמנה.

description

string

תיאור שגיאה נוסף.

entityId

string

מזהה הישות שתואם לשגיאה. דוגמה זו עשויה להתאים ל-LineItemId / ItemOptionId.

updatedPrice

object (PriceAttribute)

רלוונטי במקרה של סוג שגיאה PRICE_CHANGE / IncORRECT_PRICE.

availableQuantity

number

הכמות הזמינה כרגע. רלוונטי במקרה של AVAILABILITY_CHANGE.