PaymentReceipt

@objcMembers
public class PaymentReceipt : NSObject, Codable

The message to receive a payment receipt.

  • The transaction reference defined by the merchant to uniquely identify the payment.

    Declaration

    Swift

    public private(set) var merchantTransactionReference: String { get }
  • The type of the receipt.

    Declaration

    Swift

    public private(set) var type: ReceiptType { get }
  • The content of the receipt.

    Declaration

    Swift

    public private(set) var content: String { get }
  • Used to parse the response from the server.

    Declaration

    Swift

    required public init(from decoder: Decoder) throws