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.

ccrz.cc_hk_Payment.convertTxnPaymentToMap

Parses data on a specified ccrz__E_TransactionPayment__c record and returns a Map<String, Object>.

Compatibility

This reference applies to:

Release Managed Package Version API Version
B2B Commerce for Visualforce Winter ’21 4.13 12
B2B Commerce for Visualforce Spring ’20 4.12 11
B2B Commerce for Visualforce Summer ’19 4.11 10
B2B Commerce for Visualforce Spring ’19 4.10 9
B2B Commerce for Visualforce Summer ’18 4.9 8

Signature

global static Map<String, Object> convertTxnPaymentToMap(ccrz__E_TransactionPayment__c)

Inputs (Required)

ccrz__E_TransactionPayment__c record to evaluate.

Outputs

Map<String, Object> that includes the following keys, which correspond to fields on the input ccrz__E_TransactionPayment__c record:

'account'
ID that corresponds to the ccrz__Account__c field.
'accountNumber'
String that corresponds to the ccrz__AccountNumber__c field.
'accountType'
String that corresponds to the ccrz__AccountType__c field.
'amount'
Decimal that corresponds to the ccrz__Amount__c field.
'billTo'
ID that corresponds to the ccrz__BillTo__c field.
'ccOrder'
ID that corresponds to the ccrz__CCOrder__c field.
'currencyIsoCode'
String that corresponds to the ccrz__CurrencyISOCode__c field.
'expirationMonth'
Integer that corresponds to the ccrz__ExpirationMonth__c field.
'expirationYear'
Integer that corresponds to the ccrz__ExpirationYear__c field.
'name'
String that corresponds to the Name field.
'invoiceAppliedFor'
ID that corresponds to the ccrz__InvoiceAppliedFor__c field.
'invoiceAppliedTo'
ID that corresponds to the ccrz__InvoiceAppliedTo__c field.
'parent'
ID that corresponds to the ccrz__ParentTransactionPayment__c field.
'paymentTS'
Datetime that corresponds to the ccrz__TransactionTS__c field.
'paymentTSStr'
String that corresponds to the ccrz__TransactionTS__c field.
'paymentType'
String that corresponds to the ccrz__PaymentType__c field.
'requestAmount'
Decimal that corresponds to the ccrz__RequestAmount__c field.
'sfid'
String that corresponds to the Salesforce ID.
'soldTo'
ID that corresponds to the ccrz__SoldTo__c field.
'sourceTransactionPayment'
ID that corresponds to the ccrz__SourceTransactionPayment__c field.
'subAccountNumber'
String that corresponds to the ccrz__SubAccountNumber__c field.
'transactionPaymentId'
String that corresponds to the ccrz__TransactionPaymentId__c field.
'transactionType'
String that corresponds to the ccrz__TransactionType__c field.