Contents

init(payee:payer:currencyAmount:paymentMethod:note:status:feeAmount:)

Initializes a payment record with the specified payment details.

Declaration

init?(payee: INPerson?, payer: INPerson?, currencyAmount: INCurrencyAmount?, paymentMethod: INPaymentMethod?, note: String?, status: INPaymentStatus, feeAmount: INCurrencyAmount?)

Parameters

  • payee:

    The person receiving the funds.

  • payer:

    The person providing the funds.

  • currencyAmount:

    The amount being transferred.

  • paymentMethod:

    The payment method that represents the source of the funds.

  • note:

    Any notes or instructions associated with the payment. Provide notes to convey extra details about the reason for the payment.

  • status:

    The status of the transaction. For a list of possible values, see Inpaymentstatus.

  • feeAmount:

    The fee associated with performing the transaction.

Return Value

An initialized payment record object.

See Also

Creating a Payment Record Object