Class CommissionPaymentResult
Represenst the result of an individual payment which has been processed.
Inheritance
Namespace: DirectScale.Disco.Extension
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class CommissionPaymentResult : Object
Constructors
CommissionPaymentResult()
Declaration
public CommissionPaymentResult()
Properties
CheckNumber
This will be shown to the user as a reference or confirmation number.
Declaration
public Nullable<int> CheckNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Remarks
Usually only applies to Check merchants.
DatePaid
The date the payment was processed.
Declaration
public Nullable<DateTime> DatePaid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Remarks
Usually just the current time.
ErrorMessage
Reason why the payment failed, otherwise empty.
Declaration
public string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PaymentUniqueId
This is the unique identifier for the payment that was just processed.
Declaration
public string PaymentUniqueId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
It is important that you manually set this equal to the input payment id just processed so we can match them together. See PaymentUniqueId. If a payment fails, each time the payment is attempted it will get a new unique id.
Status
The result of the processing.
Declaration
public CommissionPaymentStatus Status { get; set; }
Property Value
Type | Description |
---|---|
CommissionPaymentStatus |
TransactionNumber
The transaction number to identify this payment.
Declaration
public string TransactionNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If a payment fails, the transaction number should be reused. Set the transaction number to TransactionNumber.