Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Refund Class

Represents a refund for a payment transaction.

Namespace

RichMessaging

Refund Properties

The following are properties for Refund.

refundId

The unique identifier of the refund.

Signature

public String refundId {get; set;}

Property Value

Type: String

amount

The amount of the refund.

Signature

public RichMessaging.CurrencyAmount amount {get; set;}

Property Value

Type: RichMessaging.CurrencyAmount

status

The status of the refund.

Signature

public RichMessaging.PaymentTransactionStatus status {get; set;}

reason

The reason for the refund.

Signature

public String reason {get; set;}

Property Value

Type: String

timestamp

The date and time when the refund was processed.

Signature

public Datetime timestamp {get; set;}

Property Value

Type: Datetime

gatewayReference

The reference identifier from the payment gateway for the refund.

Signature

public String gatewayReference {get; set;}

Property Value

Type: String