Active Perks Order Request
Payment instruction for completing a gift card order.
Mirrors the server contract field by field. Which optional fields are required depends on paymentOption:
ActivePerksPaymentOption.SAVED_CARD - set savedCardId.
ActivePerksPaymentOption.NEW_CARD - set the card and billing fields.
ActivePerksPaymentOption.CASHBACK_ONLY - set cashbackAmount.
Note: on this endpoint the server takes expirationMonth and expirationYear as numbers, unlike signup and add-payment-method where they are 2-digit strings. That asymmetry is the server's, kept verbatim.
Constructors
Properties
Alternate email id to send the ecodes to.
New card billing ZIP.
Optional nickname to store the new card under.
New card number, digits only.
Cashback balance to apply to the order.
Token from a previous checkout call.
Whether the server should email the ecodes.
Whether the server should email a receipt.
E-wallet balance to apply to the order.
New card expiry month as a number (1..12).
New card expiry year as a number.
External wallet identifier, when used.
How the order is paid.
Saved card to charge, for ActivePerksPaymentOption.SAVED_CARD.