Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 3.13 KB

RedemptionRollback.md

File metadata and controls

32 lines (29 loc) · 3.13 KB

# RedemptionRollback

Properties

Name Type Description Notes
id string Unique identifier of the redemption rollback. [optional]
object string The type of the object represented by the JSON [optional] [default to 'redemption_rollback']
date \DateTime Timestamp representing the date and time when the object was created. The value is shown in the ISO 8601 format. [optional]
customerId string Unique customer ID of the redeeming customer. [optional]
trackingId string Hashed customer source ID. [optional]
metadata object The metadata object stores all custom attributes assigned to the redemption. [optional]
amount int For gift cards, this represents the number of the credits restored to the card in the rolledback redemption. The number is a negative integer in the smallest currency unit, e.g. -100 cents for $1.00 added back to the card. For loyalty cards, this represents the number of loyalty points restored to the card in the rolledback redemption. The number is a negative integer. [optional]
redemption string Unique redemption ID of the parent redemption. [optional]
reason string System generated cause for the redemption being invalid in the context of the provided parameters. [optional]
result string Redemption result. [optional]
status string Redemption status. [optional]
relatedRedemptions \OpenAPI\Client\Model\RedemptionRollbackRelatedRedemptions [optional]
failureCode string If the result is `FAILURE`, this parameter will provide a generic reason as to why the redemption failed. [optional]
failureMessage string If the result is `FAILURE`, this parameter will provide a more expanded reason as to why the redemption failed. [optional]
order \OpenAPI\Client\Model\OrderCalculated [optional]
channel \OpenAPI\Client\Model\RedemptionRollbackChannel [optional]
customer \OpenAPI\Client\Model\SimpleCustomer [optional]
relatedObjectType string Defines the related object. [optional]
relatedObjectId string Unique identifier of the related object. It is assigned by Voucherify, i.e. `v_lfZi4rcEGe0sN9gmnj40bzwK2FH6QUno` for a voucher. [optional]
voucher \OpenAPI\Client\Model\Voucher [optional]
promotionTier \OpenAPI\Client\Model\PromotionTier [optional]
reward \OpenAPI\Client\Model\RedemptionRewardResult [optional]
gift \OpenAPI\Client\Model\RedemptionRollbackGift [optional]
loyaltyCard \OpenAPI\Client\Model\RedemptionRollbackLoyaltyCard [optional]

[Back to Model list] [Back to API list] [Back to README]