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.
ConnectApi.SaleRequest
Subclass of ConnectApi.BaseRequest.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| accountId | String | Reference to account. | Required | 54.0 |
| amount | Double | The amount of the sale request. | Required | 54.0 |
| comments | String | Optional comment for the sale request. | Optional | 54.0 |
| currencyIsoCode | String | Three-letter ISO 4217 currency code associated with the payment output. | Required | 54.0 |
| effectiveDate | Datetime | Date that the sale request takes effect. | Required | 54.0 |
| submittedByMerchant | Boolean | Indicates whether the sale request is submitted by the merchant (true) or not (false). Default value is false, | Optional | 62.0 |
| paymentGatewayId | String | The payment gateway that receives the sale request. | Required | 54.0 |
| paymentGroup | ConnectApi.PaymentGroupRequest | Payment group information for the sale request. | Optional | 54.0 |
| paymentMethod | ConnectApi.SaleApiPaymentMethodRequest | Payment method used within the sale request. | Reqiured | 54.0 |