Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RedemptionsRedeemResponse

Hierarchy

  • RedemptionsRedeemResponse

Index

Properties

Optional customer

customer: SimpleCustomer

Optional customer_id

customer_id: string

Optional date

date: string

Optional failure_code

failure_code: string

Optional failure_message

failure_message: string

Optional gift

gift: { amount: number }

Type declaration

  • amount: number

id

id: string

Optional loyalty_card

loyalty_card: { points: number }

Type declaration

  • points: number

Optional metadata

metadata: Record<string, any>

object

object: "redemption"

Optional order

Optional promotion_tier

related_object_type

related_object_type: "voucher"

result

result: "SUCCESS" | "FAILURE"

Optional reward

reward: (RewardsResponse & Required<RewardsTypeCampaignResponse>) | (RewardsResponse & Required<RewardsTypeCoin>) | (RewardsResponse & Required<RewardsTypeMaterial>)

Optional tracking_id

tracking_id: string

voucher