GenericVoucherAction

public class GenericVoucherAction : Decodable, AnyVoucherAction

Describes an action in which a voucher is presented to the shopper.

  • The paymentMethodType for which the voucher is presented.

    Declaration

    Swift

    public let paymentMethodType: VoucherPaymentMethod
  • The initial amount.

    Declaration

    Swift

    public let initialAmount: Amount
  • The totalAmount amount.

    Declaration

    Swift

    public let totalAmount: Amount
  • The payment reference.

    Declaration

    Swift

    public let reference: String
  • Expiry Date.

    Declaration

    Swift

    public let expiresAt: Date
  • Merchant Name.

    Declaration

    Swift

    public let merchantName: String