Class TransactionType
Transaction types for a payment.
Inheritance
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public sealed class TransactionType : Enum
Fields
Authorization
Requests to charge a cardholder. An approved Authorization transaction reduces the cardholder’s open-to-buy amount (the amount that can currently be charged against the account), but does not actually capture the funds.
Declaration
public const TransactionType Authorization
Field Value
Type | Description |
---|---|
TransactionType |
Capture
Used to complete an Authorization transaction that was successfully authorized through the payment gateway. Note: An Authorization and Capture together are considered one complete transaction. Once the Capture is submitted, the transaction will be sent for settlement.
Declaration
public const TransactionType Capture
Field Value
Type | Description |
---|---|
TransactionType |
CaptureOnly
Used to capture the remaining balance.
Declaration
public const TransactionType CaptureOnly
Field Value
Type | Description |
---|---|
TransactionType |
Remarks
In some payment provider, only a single Capture transaction can be submitted against an Authorization, even if we do not capture the full amount with our Capture. If there is an available amount remaining, we may use the Capture Only transaction type to capture the remaining balance.
Credit
Returns the specified amount (posts a credit) to the cardholder’s account.
Declaration
public const TransactionType Credit
Field Value
Type | Description |
---|---|
TransactionType |
Other
Other transaction type.
Declaration
public const TransactionType Other
Field Value
Type | Description |
---|---|
TransactionType |
Sale
Charges the specified amount against the account, and marks the transaction for immediate funds transfer (capture) during the next settlement period.
Declaration
public const TransactionType Sale
Field Value
Type | Description |
---|---|
TransactionType |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |
Void
Used to cancel an original transaction that is not yet settled and prevents it from being sent for settlement.
Declaration
public const TransactionType Void
Field Value
Type | Description |
---|---|
TransactionType |