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.
TransactionParameter Class
TransactionParameter Methods
The following are methods for TransactionParameter.
setPayment(paymentInstance)
Sets payment details like merchantRefId, RequestCreditCardNumber__c,
CardCodeResponse__c, GatewayID__c. Also sets payment method details for PaymentType__c,
CardExpirationYear__c, CardExpirationMonth__c, BankName__c, BankAccountType__c,
BankAccountNumber__c, BankAccountName__c, CardType__c, BankRoutingCode__c if they aren't
already set.
Signature
global void setPayment(Payment__c paymentInstance)
Parameters
- paymentInstance
- Type: Payment__c
Return Value
Type: void
setInputParameter(inputParameter)
Sets the input parameters for a payment capture transaction.
Signature
global void setInputParameter(InputParameter inputParameter)
Parameters
- inputParameter
- Type: InputParameter
Return Value
Type: void
getInputParameter()
Returns the input parameters sent from the inputParameter class.
Signature
global InputParameter getInputParameter()
Return Value
Type: InputParameter