Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.83 KB

File metadata and controls

31 lines (24 loc) · 1.83 KB

OpenapiClient::PaymentCardPreAuthTransactionAllOf

Properties

Name Type Description Notes
payment_method PaymentCardPaymentMethod [optional]
stored_credentials StoredCredential [optional]
create_token CreatePaymentToken [optional]
split_shipment SplitShipment [optional]
settlement_split Array<SubMerchantSplit> Settle with multiple sub-merchants, sale and preAuth only. [optional]
authentication_request AuthenticationRequest [optional]
authentication_result AuthenticationResult [optional]
decremental_flag Boolean This flag can only be used in a preAuth transaction that updates the amount of a previous preAuth transaction to either increase the preAuth amount (DecrementalPreAuthFlag = false) or decrease the preAuth amount (DecrementalPreAuthFlag = true). [optional] [default to false]

Code Sample

require 'OpenapiClient'

instance = OpenapiClient::PaymentCardPreAuthTransactionAllOf.new(payment_method: null,
                                 stored_credentials: null,
                                 create_token: null,
                                 split_shipment: null,
                                 settlement_split: [{&quot;merchantID&quot;:&quot;100000001&quot;,&quot;amount&quot;:25.06},{&quot;merchantID&quot;:&quot;100000002&quot;,&quot;amount&quot;:15.07}],
                                 authentication_request: null,
                                 authentication_result: null,
                                 decremental_flag: false)