Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.78 KB

Payment.md

File metadata and controls

38 lines (32 loc) · 1.78 KB

WorldnetPayments::Payment

Properties

Name Type Description Notes
unique_reference String Unique reference number assigned by the gateway that identifies the transaction on both platforms. Note: Clients must be able to store this value in order to eventually perform follow up operation on existing transactions.
terminal String The terminal number assigned by the gateway.
operator String The operator who initiated the transaction. [optional]
order Order [optional]
customer_account CustomerAccount
security_check SecurityCheck [optional]
transaction_result TransactionResult [optional]
additional_data_fields Array<CustomField> List of custom fields representing the additional information sent by the merchant and stored along with the transaction. [optional]
emv_tags Array<EmvTag> List of tags returned for EMV transactions. [optional]
receipts Array<TransactionReceipt> The customer and merchant receipt copies. [optional]
links Array<HypermediaLink> List of hypermedia links containing the operations available for the resource. [optional]

Example

require 'worldnet_payments'

instance = WorldnetPayments::Payment.new(
  unique_reference: null,
  terminal: null,
  operator: null,
  order: null,
  customer_account: null,
  security_check: null,
  transaction_result: null,
  additional_data_fields: null,
  emv_tags: null,
  receipts: null,
  links: null
)