\Ezypay\ObjectPayment
Class Payment
Summary
No public properties found
No protected methods found
No protected properties found
$paymentNumber
$paymentNumber :
Type
— integer The running number of the payment.
$paymentMethod
$paymentMethod :
Type
— array PaymentMethodResult The payment method of the invoice
$paymentDate
$paymentDate :
Type
— string The date payment is made.
$amount
$amount :
Type
— number The amount made in this payment.
$status
$status :
Type
— string The status of this payment.
$failedPaymentReason
$failedPaymentReason :
Type
— array FailedPaymentReasonResult The reason for failed payment made if any.
$transactionType
$transactionType :
Type
— string To identify if the transaction is meant for collecting a payment or making a refund to the customer. returns Refund or Payment
$invoiceNumber
$invoiceNumber :
Type
— integer The running number of the invoice.
$invoiceId
$invoiceId :
Type
— string The ID of the invoice. A unique identifier generated by the system.
$customerId
$customerId :
Type
— string The ID of the customer.
$paymentSource
$paymentSource :
Type
— string The source of this payment. Can be DirectDebit or PayMeToday or ImmediatePayment or OfflinePayment
$createdOn
$createdOn :
Type
— string Date record is created.
__construct()
__construct( $data)
Payment constructor.
Parameters