PaymentReceiptQuery

@objcMembers
public class PaymentReceiptQuery : PaymentQuery

Contains the data to query the receipt of the last payment.

  • the ReceiptType of the receipt to return.

    Declaration

    Swift

    public private(set) var type: ReceiptType { get }
  • Initialise a PaymentQuery passing the proper parameters

    Declaration

    Swift

    public init(merchantTransactionReference: String,
                paypointId: String? = nil,
                type: ReceiptType)

    Parameters

    merchantTransactionReference

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

    paypointId

    Identifier for the paypoint on which the action should or has been performed on.

    type

    the ReceiptType of the receipt to return.

  • Used to print the debug content of the object

    Declaration

    Swift

    override public var debugDescription: String { get }