Constructor: payments.starGiftUpgradePreview
A preview of the possible attributes (chosen randomly) a gift » can receive after upgrading it to a collectible gift », see here » for more info.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
sample_attributes | Array of StarGiftAttribute | Yes | Possible gift attributes |
prices | Array of StarGiftUpgradePrice | Yes | |
next_prices | Array of StarGiftUpgradePrice | Yes |
Type: payments.StarGiftUpgradePreview
Example:
$payments_starGiftUpgradePreview = ['_' => 'payments.starGiftUpgradePreview', 'sample_attributes' => [StarGiftAttribute, StarGiftAttribute], 'prices' => [StarGiftUpgradePrice, StarGiftUpgradePrice], 'next_prices' => [StarGiftUpgradePrice, StarGiftUpgradePrice]];