PaymentTransaction Class

Represents a payment transaction.

RichMessaging

The following are properties for PaymentTransaction.

  • transactionId

    The unique identifier of the transaction.

  • transactionType

    The type of the transaction.

  • status

    The status of the transaction.

  • amount

    The amount of the transaction.

  • gatewayReference

    The reference identifier from the payment gateway.

  • timestamp

    The date and time when the transaction occurred.

  • refunds

    The list of refunds associated with the transaction.

The unique identifier of the transaction.

public String transactionId {get; set;}

Type: String

The type of the transaction.

public RichMessaging.PaymentTransactionType transactionType {get; set;}

Type: RichMessaging.PaymentTransactionType

The status of the transaction.

public RichMessaging.PaymentTransactionStatus status {get; set;}

Type: RichMessaging.PaymentTransactionStatus

The amount of the transaction.

public RichMessaging.CurrencyAmount amount {get; set;}

Type: RichMessaging.CurrencyAmount

The reference identifier from the payment gateway.

public String gatewayReference {get; set;}

Type: String

The date and time when the transaction occurred.

public Datetime timestamp {get; set;}

Type: Datetime

The list of refunds associated with the transaction.

public List<RichMessaging.Refund> refunds {get; set;}

Type: List<RichMessaging.Refund>