Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.51 KB

File metadata and controls

27 lines (20 loc) · 1.51 KB

OpenapiClient::PaymentDevicePreAuthTransactionAllOf

Properties

Name Type Description Notes
payment_method PaymentDevicePaymentMethod
create_token CreatePaymentToken [optional]
settlement_split Array<SubMerchantSplit> Settle with multiple sub-merchants, sale and preAuth only. [optional]
stored_credentials StoredCredential [optional]
split_shipment SplitShipment [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::PaymentDevicePreAuthTransactionAllOf.new(payment_method: null,
                                 create_token: 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}],
                                 stored_credentials: null,
                                 split_shipment: null,
                                 decremental_flag: false)