Class: CyberSourceMergedSpec::ProcessorInformation1

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/cyber_source_merged_spec/models/processor_information1.rb

Overview

ProcessorInformation1 Model.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#check_for_conflict, #process_additional_properties, #process_array, #process_basic_value, #process_hash, #to_hash, #to_json

Constructor Details

#initialize(auth_indicator: SKIP, approval_code: SKIP, card_reference_data: SKIP, transaction_id: SKIP, network_transaction_id: SKIP, response_code: SKIP, response_code_source: SKIP, response_details: SKIP, response_category_code: SKIP, response_source_code: SKIP, forwarded_acquirer_code: SKIP, settlement_date: SKIP, sequence_number: SKIP, avs: SKIP, card_verification: SKIP, merchant_advice: SKIP, electronic_verification_results: SKIP, ach_verification: SKIP, customer: SKIP, consumer_authentication_response: SKIP, system_trace_audit_number: SKIP, payment_account_reference_number: SKIP, transaction_integrity_code: SKIP, amex_verbal_auth_reference_number: SKIP, master_card_service_code: SKIP, master_card_service_reply_code: SKIP, master_card_authentication_type: SKIP, name: SKIP, routing: SKIP, merchant_number: SKIP, retrieval_reference_number: SKIP, payment_url: SKIP, complete_url: SKIP, signature: SKIP, public_key: SKIP, seller_protection: SKIP, transaction_expiry_date: SKIP, custom_url: SKIP, scheme_assigned_id: SKIP, device_url: SKIP, disbursement_mode: SKIP, update_time_utc: SKIP, expiration_time_utc: SKIP, order_id: SKIP, order_status: SKIP, merchant_risk_prediction: SKIP, network: SKIP, cedp_verified_indicator: SKIP, additional_properties: nil) ⇒ ProcessorInformation1

Returns a new instance of ProcessorInformation1.



616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 616

def initialize(auth_indicator: SKIP, approval_code: SKIP,
               card_reference_data: SKIP, transaction_id: SKIP,
               network_transaction_id: SKIP, response_code: SKIP,
               response_code_source: SKIP, response_details: SKIP,
               response_category_code: SKIP, response_source_code: SKIP,
               forwarded_acquirer_code: SKIP, settlement_date: SKIP,
               sequence_number: SKIP, avs: SKIP, card_verification: SKIP,
               merchant_advice: SKIP, electronic_verification_results: SKIP,
               ach_verification: SKIP, customer: SKIP,
               consumer_authentication_response: SKIP,
               system_trace_audit_number: SKIP,
               payment_account_reference_number: SKIP,
               transaction_integrity_code: SKIP,
               amex_verbal_auth_reference_number: SKIP,
               master_card_service_code: SKIP,
               master_card_service_reply_code: SKIP,
               master_card_authentication_type: SKIP, name: SKIP,
               routing: SKIP, merchant_number: SKIP,
               retrieval_reference_number: SKIP, payment_url: SKIP,
               complete_url: SKIP, signature: SKIP, public_key: SKIP,
               seller_protection: SKIP, transaction_expiry_date: SKIP,
               custom_url: SKIP, scheme_assigned_id: SKIP, device_url: SKIP,
               disbursement_mode: SKIP, update_time_utc: SKIP,
               expiration_time_utc: SKIP, order_id: SKIP,
               order_status: SKIP, merchant_risk_prediction: SKIP,
               network: SKIP, cedp_verified_indicator: SKIP,
               additional_properties: nil)
  # Add additional model properties to the instance
  additional_properties = {} if additional_properties.nil?

  @auth_indicator = auth_indicator unless auth_indicator == SKIP
  @approval_code = approval_code unless approval_code == SKIP
  @card_reference_data = card_reference_data unless card_reference_data == SKIP
  @transaction_id = transaction_id unless transaction_id == SKIP
  @network_transaction_id = network_transaction_id unless network_transaction_id == SKIP
  @response_code = response_code unless response_code == SKIP
  @response_code_source = response_code_source unless response_code_source == SKIP
  @response_details = response_details unless response_details == SKIP
  @response_category_code = response_category_code unless response_category_code == SKIP
  @response_source_code = response_source_code unless response_source_code == SKIP
  @forwarded_acquirer_code = forwarded_acquirer_code unless forwarded_acquirer_code == SKIP
  @settlement_date = settlement_date unless settlement_date == SKIP
  @sequence_number = sequence_number unless sequence_number == SKIP
  @avs = avs unless avs == SKIP
  @card_verification = card_verification unless card_verification == SKIP
  @merchant_advice = merchant_advice unless merchant_advice == SKIP
  unless electronic_verification_results == SKIP
    @electronic_verification_results =
      electronic_verification_results
  end
  @ach_verification = ach_verification unless ach_verification == SKIP
  @customer = customer unless customer == SKIP
  unless consumer_authentication_response == SKIP
    @consumer_authentication_response =
      consumer_authentication_response
  end
  unless system_trace_audit_number == SKIP
    @system_trace_audit_number =
      system_trace_audit_number
  end
  unless  == SKIP
    @payment_account_reference_number =
      
  end
  unless transaction_integrity_code == SKIP
    @transaction_integrity_code =
      transaction_integrity_code
  end
  unless amex_verbal_auth_reference_number == SKIP
    @amex_verbal_auth_reference_number =
      amex_verbal_auth_reference_number
  end
  @master_card_service_code = master_card_service_code unless master_card_service_code == SKIP
  unless master_card_service_reply_code == SKIP
    @master_card_service_reply_code =
      master_card_service_reply_code
  end
  unless master_card_authentication_type == SKIP
    @master_card_authentication_type =
      master_card_authentication_type
  end
  @name = name unless name == SKIP
  @routing = routing unless routing == SKIP
  @merchant_number = merchant_number unless merchant_number == SKIP
  unless retrieval_reference_number == SKIP
    @retrieval_reference_number =
      retrieval_reference_number
  end
  @payment_url = payment_url unless payment_url == SKIP
  @complete_url = complete_url unless complete_url == SKIP
  @signature = signature unless signature == SKIP
  @public_key = public_key unless public_key == SKIP
  @seller_protection = seller_protection unless seller_protection == SKIP
  @transaction_expiry_date = transaction_expiry_date unless transaction_expiry_date == SKIP
  @custom_url = custom_url unless custom_url == SKIP
  @scheme_assigned_id = scheme_assigned_id unless scheme_assigned_id == SKIP
  @device_url = device_url unless device_url == SKIP
  @disbursement_mode = disbursement_mode unless disbursement_mode == SKIP
  @update_time_utc = update_time_utc unless update_time_utc == SKIP
  @expiration_time_utc = expiration_time_utc unless expiration_time_utc == SKIP
  @order_id = order_id unless order_id == SKIP
  @order_status = order_status unless order_status == SKIP
  @merchant_risk_prediction = merchant_risk_prediction unless merchant_risk_prediction == SKIP
  @network = network unless network == SKIP
  @cedp_verified_indicator = cedp_verified_indicator unless cedp_verified_indicator == SKIP
  @additional_properties = additional_properties
end

Instance Attribute Details

#ach_verificationAchVerification

This field serves as a unique identifier for initial and subsequent recurring transactions, specific to the payment brand, and is crucial for transaction tracking and recurrence management. Not all processors provide this value. Returned by the authorization service.

Returns:



204
205
206
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 204

def ach_verification
  @ach_verification
end

#amex_verbal_auth_reference_numberString

Referral response number for a verbal authorization with FDMS Nashville when using an American Express card. Give this number to American Express when you call them for the verbal authorization.

Returns:

  • (String)


297
298
299
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 297

def amex_verbal_auth_reference_number
  @amex_verbal_auth_reference_number
end

#approval_codeString

Authorization code. Returned only when the processor returns this value. The length of this value depends on your processor. Returned by authorization service.

PIN debit

Authorization code that is returned by the processor. Returned by PIN debit credit.

Elavon Encrypted Account Number Program

The returned value is OFFLINE.

TSYS Acquiring Solutions

The returned value for a successful zero amount authorization is 000000.

Returns:

  • (String)


30
31
32
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 30

def approval_code
  @approval_code
end

#auth_indicatorString

Flag that specifies the purpose of the authorization. Possible values:

  • 0: Preauthorization
  • 1: Final authorization

Returns:

  • (String)


17
18
19
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 17

def auth_indicator
  @auth_indicator
end

#avsAvs

This field serves as a unique identifier for initial and subsequent recurring transactions, specific to the payment brand, and is crucial for transaction tracking and recurrence management. Not all processors provide this value. Returned by the authorization service.

Returns:



172
173
174
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 172

def avs
  @avs
end

#card_reference_dataString

The Scheme reference data is a variable length data element up to a maximum of 56 characters. It may be sent by the acquirer in the authorisation response message, and by the terminal (unchanged) in subsequent authorisation request messages associated with the same transaction. This field is used by Streamline and HSBC UK only, at present.

Returns:

  • (String)


39
40
41
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 39

def card_reference_data
  @card_reference_data
end

#card_verificationCardVerification1

This field serves as a unique identifier for initial and subsequent recurring transactions, specific to the payment brand, and is crucial for transaction tracking and recurrence management. Not all processors provide this value. Returned by the authorization service.

Returns:



180
181
182
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 180

def card_verification
  @card_verification
end

#cedp_verified_indicatorString

Merchant Commercial Enhanced Data Program (CEDP) verified indicator received in authorization response messages for U.S. domestic transactions containing a credential for the commercial credit products. This field flows in ISO field 34, DSID 02 tag DA, in AN, EBCDIC format. Possible values:

  • Y: Merchant CEDP verified This field is for internal processing only (TC33A usage) and is not sent back to the merchant.

Used by

Authorization Response Response field only.

Returns:

  • (String)


496
497
498
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 496

def cedp_verified_indicator
  @cedp_verified_indicator
end

#complete_urlString

The redirect URL for forwarding the consumer to complete page. This redirect needed by PSP to track browser information of consumer. PSP then redirect consumer to merchant success URL.

Returns:

  • (String)


394
395
396
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 394

def complete_url
  @complete_url
end

#consumer_authentication_responseConsumerAuthenticationResponse

This field serves as a unique identifier for initial and subsequent recurring transactions, specific to the payment brand, and is crucial for transaction tracking and recurrence management. Not all processors provide this value. Returned by the authorization service.



220
221
222
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 220

def consumer_authentication_response
  @consumer_authentication_response
end

#custom_urlString

For merchants to declare customs Customs declaration service URL.

Returns:

  • (String)


421
422
423
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 421

def custom_url
  @custom_url
end

#customerCustomer2

This field serves as a unique identifier for initial and subsequent recurring transactions, specific to the payment brand, and is crucial for transaction tracking and recurrence management. Not all processors provide this value. Returned by the authorization service.

Returns:



212
213
214
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 212

def customer
  @customer
end

#device_urlString

The QR code value. Convert this value into an image and send it to the POS terminal to be displayed. The terminal can also perform the conversion. The value is a URL like in the example below: https://qr.alipay.com/pmxabcka1ts5grar12.

Returns:

  • (String)


433
434
435
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 433

def device_url
  @device_url
end

#disbursement_modeString

The funds are released to the merchant immediately. INSTANT The funds are released to the merchant immediately. DELAYED The funds are held for a finite number of days. The actual duration depends on the region and type of integration. You can release the funds through a referenced payout. Otherwise, the funds disbursed automatically after the specified duration.

Returns:

  • (String)


442
443
444
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 442

def disbursement_mode
  @disbursement_mode
end

#electronic_verification_resultsElectronicVerificationResults

This field serves as a unique identifier for initial and subsequent recurring transactions, specific to the payment brand, and is crucial for transaction tracking and recurrence management. Not all processors provide this value. Returned by the authorization service.



196
197
198
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 196

def electronic_verification_results
  @electronic_verification_results
end

#expiration_time_utcString

The date and time when the authorized payment expires, in Internet date and time format.

Returns:

  • (String)


452
453
454
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 452

def expiration_time_utc
  @expiration_time_utc
end

#forwarded_acquirer_codeString

Name of the Japanese acquirer that processed the transaction. Returned only for JCN Gateway. Please contact the CyberSource Japan Support Group for more information.

Returns:

  • (String)


151
152
153
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 151

def forwarded_acquirer_code
  @forwarded_acquirer_code
end

#master_card_authentication_typeString

Type of authentication for which the transaction qualifies as determined by the Mastercard authentication service, which confirms the identity of the cardholder. Mastercard provides this value to CyberSource. Possible values:

  • 1: Transaction qualifies for Mastercard authentication type 1.
  • 2: Transaction qualifies for Mastercard authentication type 2.

CyberSource through VisaNet

The value for this field corresponds to the following data in the TC 33 capture file:

  • Record: CP01 TCR6
  • Position: 132
  • Field: Mastercard Member Defined service. Note This field is returned only for CyberSource through VisaNet.

Returns:

  • (String)


351
352
353
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 351

def master_card_authentication_type
  @master_card_authentication_type
end

#master_card_service_codeString

Mastercard service that was used for the transaction. Mastercard provides this value to CyberSource. Possible value:

  • 53: Mastercard card-on-file token service

CyberSource through VisaNet

The value for this field corresponds to the following data in the TC 33 capture file:

  • Record: CP01 TCR6
  • Position: 133-134
  • Field: Mastercard Merchant on-behalf service. Note This field is returned only for CyberSource through VisaNet.

Returns:

  • (String)


311
312
313
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 311

def master_card_service_code
  @master_card_service_code
end

#master_card_service_reply_codeString

Result of the Mastercard card-on-file token service. Mastercard provides this value to CyberSource. Possible values:

  • C: Service completed successfully.
  • F: One of the following:
    • Incorrect Mastercard POS entry mode. The Mastercard POS entry mode should be 81 for an authorization or authorization reversal.
    • Incorrect Mastercard POS entry mode. The Mastercard POS entry mode should be 01 for a tokenized request.
    • Token requestor ID is missing or formatted incorrectly.
  • I: One of the following:
    • Invalid token requestor ID.
    • Suspended or deactivated token.
    • Invalid token (not in mapping table).
  • T: Invalid combination of token requestor ID and token.
  • U: Expired token.
  • W: Primary account number (PAN) listed in electronic warning bulletin. Note This field is returned only for CyberSource through VisaNet.

Returns:

  • (String)


334
335
336
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 334

def master_card_service_reply_code
  @master_card_service_reply_code
end

#merchant_adviceMerchantAdvice

This field serves as a unique identifier for initial and subsequent recurring transactions, specific to the payment brand, and is crucial for transaction tracking and recurrence management. Not all processors provide this value. Returned by the authorization service.

Returns:



188
189
190
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 188

def merchant_advice
  @merchant_advice
end

#merchant_numberString

Identifier that was assigned to you by your acquirer. This value must be printed on the receipt.

Returned by

Authorizations and Credits. This reply field is only supported by merchants who have installed client software on their POS terminals and use these processors:

  • American Express Direct
  • Credit Mutuel-CIC
  • FDC Nashville Global
  • OmniPay Direct
  • SIX

Returns:

  • (String)


374
375
376
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 374

def merchant_number
  @merchant_number
end

#merchant_risk_predictionString

Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region. A newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices.

Returns:

  • (String)


474
475
476
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 474

def merchant_risk_prediction
  @merchant_risk_prediction
end

#nameString

Name of the Processor.

Returns:

  • (String)


355
356
357
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 355

def name
  @name
end

#networkNetwork

Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region. A newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices.

Returns:



482
483
484
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 482

def network
  @network
end

#network_transaction_idString

Same value as processorInformation.transactionId

Returns:

  • (String)


83
84
85
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 83

def network_transaction_id
  @network_transaction_id
end

#order_idString

The id of the order

Returns:

  • (String)


456
457
458
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 456

def order_id
  @order_id
end

#order_statusString

The order status. Possible values:

  • CREATED
  • VOIDED
  • COMPLETED
  • PAYER_ACTION_REQUIRED
  • STEP_UP_REQUIRED

Returns:

  • (String)


466
467
468
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 466

def order_status
  @order_status
end

#payment_account_reference_numberString

Payment Account Reference (PAR) is a non-financial reference assigned to each unique payment account and used to link a payment account to associated network tokens, i.e. the same PAR is returned for PAN-based and tokenized transactions, such as from digital wallets. PAR can be returned in authorisation responses for requests initiated with both real PANs and tokenized PANs. PAR can be used by merchants for fraud detection and regulatory compliance across different channels and digital wallets. PAR allows all participants in the payments chain to have a single, non-sensitive value assigned to a consumer. This value can be used in place of sensitive card holder identification fields, and transmitted across the payments ecosystem to facilitate card holder identification. Note On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file:

  • Record: CP01 TCR8
  • Position: 79-110
  • Field: Payment Account Reference The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant’s acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks.

Returns:

  • (String)


257
258
259
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 257

def 
  @payment_account_reference_number
end

#payment_urlString

Direct the customer to this URL to complete the payment.

Returns:

  • (String)


388
389
390
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 388

def payment_url
  @payment_url
end

#public_keyString

The redirect URL for forwarding the consumer to complete page. This redirect needed by PSP to track browser information of consumer. PSP then redirect consumer to merchant success URL.

Returns:

  • (String)


406
407
408
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 406

def public_key
  @public_key
end

#response_category_codeString

Processor-defined response category code. The associated detail error code is in the processorInformation.responseCode or issuerInformation.responseCode field of the service you requested. This field is supported only for:

  • Japanese issuers
  • Domestic transactions in Japan
  • Comercio Latino—processor transaction ID required for troubleshooting

Maximum length for processors

  • Comercio Latino: 36
  • All other processors: 3

Returns:

  • (String)


139
140
141
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 139

def response_category_code
  @response_category_code
end

#response_codeString

For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. Important Do not use this field to evaluate the result of the authorization.

PIN debit

Response value that is returned by the processor or bank. Important Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal.

AIBMS

If this value is 08, you can accept the transaction if the customer provides you with identification.

Atos

This value is the response code sent from Atos and it might also include the response code from the bank. Format: aa,bb with the two values separated by a comma and where:

  • aa is the two-digit error message from Atos.
  • bb is the optional two-digit error message from the bank.

Comercio Latino

This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example 2:R06

JCN Gateway

Processor-defined detail error code. The associated response category code is in the processorInformation.responseCategoryCode field. String (3)

paypalgateway

Processor generated ID for the itemized detail.

Returns:

  • (String)


116
117
118
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 116

def response_code
  @response_code
end

#response_code_sourceString

Used by Visa only and contains the response source/reason code that identifies the source of the response decision.

Returns:

  • (String)


121
122
123
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 121

def response_code_source
  @response_code_source
end

#response_detailsString

This field might contain information about a decline.

Returns:

  • (String)


125
126
127
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 125

def response_details
  @response_details
end

#response_source_codeString

This field is used by Visa only and contains the response source/reason code that identifies the source of the response decision. Use this field only for clearing with your acquirer.

Returns:

  • (String)


145
146
147
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 145

def response_source_code
  @response_source_code
end

#retrieval_reference_numberString

Ingenico ePayments

Unique number that CyberSource generates to identify the transaction. You can use this value to identify transactions in the Ingenico ePayments Collections Report, which provides settlement information. Contact customer support for information about the report.

CyberSource through VisaNet

Retrieval request number.

Returns:

  • (String)


384
385
386
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 384

def retrieval_reference_number
  @retrieval_reference_number
end

#routingRouting

Name of the Processor.

Returns:



359
360
361
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 359

def routing
  @routing
end

#scheme_assigned_idString

Unique id assigned to a merchant by the APM and not PSP The merchant ID, as boarded with Alipay

Returns:

  • (String)


426
427
428
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 426

def scheme_assigned_id
  @scheme_assigned_id
end

#seller_protectionProcessorInformationSellerProtection

The redirect URL for forwarding the consumer to complete page. This redirect needed by PSP to track browser information of consumer. PSP then redirect consumer to merchant success URL.



412
413
414
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 412

def seller_protection
  @seller_protection
end

#sequence_numberString

This field serves as a unique identifier for initial and subsequent recurring transactions, specific to the payment brand, and is crucial for transaction tracking and recurrence management. Not all processors provide this value. Returned by the authorization service.

Returns:

  • (String)


164
165
166
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 164

def sequence_number
  @sequence_number
end

#settlement_dateString

Field contains a settlement date. The date is in mmdd format, where: mm = month and dd = day.

Returns:

  • (String)


156
157
158
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 156

def settlement_date
  @settlement_date
end

#signatureString

The redirect URL for forwarding the consumer to complete page. This redirect needed by PSP to track browser information of consumer. PSP then redirect consumer to merchant success URL.

Returns:

  • (String)


400
401
402
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 400

def signature
  @signature
end

#system_trace_audit_numberString

This field is returned only for American Express Direct and CyberSource through VisaNet. Returned by authorization and incremental authorization services.

American Express Direct

System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute.

CyberSource through VisaNet

System trace number that must be printed on the customer’s receipt.

Returns:

  • (String)


232
233
234
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 232

def system_trace_audit_number
  @system_trace_audit_number
end

#transaction_expiry_dateString

The date on which the transaction expires and payment cannot be made.

Returns:

  • (String)


416
417
418
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 416

def transaction_expiry_date
  @transaction_expiry_date
end

#transaction_idString

Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. Returned by the authorization service.

PIN debit

Transaction identifier generated by the processor. Returned by PIN debit credit.

GPX

Processor transaction ID.

Cielo

For Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank.

Comercio Latino

For Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank.

CyberSource through VisaNet and GPN

For details about this value for CyberSource through VisaNet and GPN, see "processorInformation.networkTransactionId" in [REST API Fields](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apif ields/reference/all/rest/api-fields.pdf)

Moneris

This value identifies the transaction on a host system. It contains the following information:

  • Terminal used to process the transaction
  • Shift during which the transaction took place
  • Batch number
  • Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. Example For the value 66012345001069003:
  • Terminal ID = 66012345
  • Shift number = 001
  • Batch number = 069
  • Transaction number = 003

Returns:

  • (String)


79
80
81
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 79

def transaction_id
  @transaction_id
end

#transaction_integrity_codeString

Transaction integrity classification provided by Mastercard. This value specifies Mastercard’s evaluation of the transaction’s safety and security. This field is returned only for CyberSource through VisaNet. For card-present transactions, possible values:

  • A1: EMV or token in a secure, trusted environment
  • B1: EMV or chip equivalent
  • C1: Magnetic stripe
  • E1: Key entered
  • U0: Unclassified For card-not-present transactions, possible values:
  • A2: Digital transactions
  • B2: Authenticated checkout
  • C2: Transaction validation
  • D2: Enhanced data
  • E2: Generic messaging
  • U0: Unclassified For information about these values, contact Mastercard or your acquirer.

CyberSource through VisaNet

The value for this field corresponds to the following data in the TC 33 capture file,1:

  • Record: CP01 TCR6
  • Position: 136-137
  • Field: Mastercard Transaction Integrity Classification 1 The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant’s acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks.

Returns:

  • (String)


290
291
292
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 290

def transaction_integrity_code
  @transaction_integrity_code
end

#update_time_utcString

The date and time when the transaction was last updated, in Internet date and time format.

Returns:

  • (String)


447
448
449
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 447

def update_time_utc
  @update_time_utc
end

Class Method Details

.from_element(root) ⇒ Object



870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 870

def self.from_element(root)
  auth_indicator = XmlUtilities.from_element(root, 'authIndicator', String)
  approval_code = XmlUtilities.from_element(root, 'approvalCode', String)
  card_reference_data = XmlUtilities.from_element(root, 'cardReferenceData',
                                                  String)
  transaction_id = XmlUtilities.from_element(root, 'transactionId', String)
  network_transaction_id = XmlUtilities.from_element(root,
                                                     'networkTransactionId',
                                                     String)
  response_code = XmlUtilities.from_element(root, 'responseCode', String)
  response_code_source = XmlUtilities.from_element(root,
                                                   'responseCodeSource',
                                                   String)
  response_details = XmlUtilities.from_element(root, 'responseDetails',
                                               String)
  response_category_code = XmlUtilities.from_element(root,
                                                     'responseCategoryCode',
                                                     String)
  response_source_code = XmlUtilities.from_element(root,
                                                   'responseSourceCode',
                                                   String)
  forwarded_acquirer_code = XmlUtilities.from_element(
    root, 'forwardedAcquirerCode', String
  )
  settlement_date = XmlUtilities.from_element(root, 'settlementDate',
                                              String)
  sequence_number = XmlUtilities.from_element(root, 'sequenceNumber',
                                              String)
  avs = XmlUtilities.from_element(root, 'Avs', Avs)
  card_verification = XmlUtilities.from_element(root, 'CardVerification1',
                                                CardVerification1)
  merchant_advice = XmlUtilities.from_element(root, 'MerchantAdvice',
                                              MerchantAdvice)
  electronic_verification_results = XmlUtilities.from_element(
    root, 'ElectronicVerificationResults',
    ElectronicVerificationResults
  )
  ach_verification = XmlUtilities.from_element(root, 'AchVerification',
                                               AchVerification)
  customer = XmlUtilities.from_element(root, 'Customer2', Customer2)
  consumer_authentication_response = XmlUtilities.from_element(
    root, 'ConsumerAuthenticationResponse',
    ConsumerAuthenticationResponse
  )
  system_trace_audit_number = XmlUtilities.from_element(
    root, 'systemTraceAuditNumber', String
  )
   = XmlUtilities.from_element(
    root, 'paymentAccountReferenceNumber', String
  )
  transaction_integrity_code = XmlUtilities.from_element(
    root, 'transactionIntegrityCode', String
  )
  amex_verbal_auth_reference_number = XmlUtilities.from_element(
    root, 'amexVerbalAuthReferenceNumber', String
  )
  master_card_service_code = XmlUtilities.from_element(
    root, 'masterCardServiceCode', String
  )
  master_card_service_reply_code = XmlUtilities.from_element(
    root, 'masterCardServiceReplyCode', String
  )
  master_card_authentication_type = XmlUtilities.from_element(
    root, 'masterCardAuthenticationType', String
  )
  name = XmlUtilities.from_element(root, 'name', String)
  routing = XmlUtilities.from_element(root, 'Routing', Routing)
  merchant_number = XmlUtilities.from_element(root, 'merchantNumber',
                                              String)
  retrieval_reference_number = XmlUtilities.from_element(
    root, 'retrievalReferenceNumber', String
  )
  payment_url = XmlUtilities.from_element(root, 'paymentUrl', String)
  complete_url = XmlUtilities.from_element(root, 'completeUrl', String)
  signature = XmlUtilities.from_element(root, 'signature', String)
  public_key = XmlUtilities.from_element(root, 'publicKey', String)
  seller_protection = XmlUtilities.from_element(
    root, 'processorInformationSellerProtection',
    ProcessorInformationSellerProtection
  )
  transaction_expiry_date = XmlUtilities.from_element(
    root, 'transactionExpiryDate', String
  )
  custom_url = XmlUtilities.from_element(root, 'customUrl', String)
  scheme_assigned_id = XmlUtilities.from_element(root, 'schemeAssignedId',
                                                 String)
  device_url = XmlUtilities.from_element(root, 'deviceUrl', String)
  disbursement_mode = XmlUtilities.from_element(root, 'disbursementMode',
                                                String)
  update_time_utc = XmlUtilities.from_element(root, 'updateTimeUtc', String)
  expiration_time_utc = XmlUtilities.from_element(root, 'expirationTimeUtc',
                                                  String)
  order_id = XmlUtilities.from_element(root, 'orderId', String)
  order_status = XmlUtilities.from_element(root, 'orderStatus', String)
  merchant_risk_prediction = XmlUtilities.from_element(
    root, 'merchantRiskPrediction', String
  )
  network = XmlUtilities.from_element(root, 'Network', Network)
  cedp_verified_indicator = XmlUtilities.from_element(
    root, 'cedpVerifiedIndicator', String
  )

  new(auth_indicator: auth_indicator,
      approval_code: approval_code,
      card_reference_data: card_reference_data,
      transaction_id: transaction_id,
      network_transaction_id: network_transaction_id,
      response_code: response_code,
      response_code_source: response_code_source,
      response_details: response_details,
      response_category_code: response_category_code,
      response_source_code: response_source_code,
      forwarded_acquirer_code: forwarded_acquirer_code,
      settlement_date: settlement_date,
      sequence_number: sequence_number,
      avs: avs,
      card_verification: card_verification,
      merchant_advice: merchant_advice,
      electronic_verification_results: electronic_verification_results,
      ach_verification: ach_verification,
      customer: customer,
      consumer_authentication_response: consumer_authentication_response,
      system_trace_audit_number: system_trace_audit_number,
      payment_account_reference_number: ,
      transaction_integrity_code: transaction_integrity_code,
      amex_verbal_auth_reference_number: amex_verbal_auth_reference_number,
      master_card_service_code: master_card_service_code,
      master_card_service_reply_code: master_card_service_reply_code,
      master_card_authentication_type: master_card_authentication_type,
      name: name,
      routing: routing,
      merchant_number: merchant_number,
      retrieval_reference_number: retrieval_reference_number,
      payment_url: payment_url,
      complete_url: complete_url,
      signature: signature,
      public_key: public_key,
      seller_protection: seller_protection,
      transaction_expiry_date: transaction_expiry_date,
      custom_url: custom_url,
      scheme_assigned_id: scheme_assigned_id,
      device_url: device_url,
      disbursement_mode: disbursement_mode,
      update_time_utc: update_time_utc,
      expiration_time_utc: expiration_time_utc,
      order_id: order_id,
      order_status: order_status,
      merchant_risk_prediction: merchant_risk_prediction,
      network: network,
      cedp_verified_indicator: cedp_verified_indicator,
      additional_properties: additional_properties)
end

.from_hash(hash) ⇒ Object

Creates an instance of the object from a hash.



725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 725

def self.from_hash(hash)
  return nil unless hash

  # Extract variables from the hash.
  auth_indicator = hash.key?('authIndicator') ? hash['authIndicator'] : SKIP
  approval_code = hash.key?('approvalCode') ? hash['approvalCode'] : SKIP
  card_reference_data =
    hash.key?('cardReferenceData') ? hash['cardReferenceData'] : SKIP
  transaction_id = hash.key?('transactionId') ? hash['transactionId'] : SKIP
  network_transaction_id =
    hash.key?('networkTransactionId') ? hash['networkTransactionId'] : SKIP
  response_code = hash.key?('responseCode') ? hash['responseCode'] : SKIP
  response_code_source =
    hash.key?('responseCodeSource') ? hash['responseCodeSource'] : SKIP
  response_details =
    hash.key?('responseDetails') ? hash['responseDetails'] : SKIP
  response_category_code =
    hash.key?('responseCategoryCode') ? hash['responseCategoryCode'] : SKIP
  response_source_code =
    hash.key?('responseSourceCode') ? hash['responseSourceCode'] : SKIP
  forwarded_acquirer_code =
    hash.key?('forwardedAcquirerCode') ? hash['forwardedAcquirerCode'] : SKIP
  settlement_date =
    hash.key?('settlementDate') ? hash['settlementDate'] : SKIP
  sequence_number =
    hash.key?('sequenceNumber') ? hash['sequenceNumber'] : SKIP
  avs = Avs.from_hash(hash['avs']) if hash['avs']
  card_verification = CardVerification1.from_hash(hash['cardVerification']) if
    hash['cardVerification']
  merchant_advice = MerchantAdvice.from_hash(hash['merchantAdvice']) if hash['merchantAdvice']
  if hash['electronicVerificationResults']
    electronic_verification_results = ElectronicVerificationResults.from_hash(hash['electronicVerificationResults'])
  end
  ach_verification = AchVerification.from_hash(hash['achVerification']) if
    hash['achVerification']
  customer = Customer2.from_hash(hash['customer']) if hash['customer']
  if hash['consumerAuthenticationResponse']
    consumer_authentication_response = ConsumerAuthenticationResponse.from_hash(hash['consumerAuthenticationResponse'])
  end
  system_trace_audit_number =
    hash.key?('systemTraceAuditNumber') ? hash['systemTraceAuditNumber'] : SKIP
   =
    hash.key?('paymentAccountReferenceNumber') ? hash['paymentAccountReferenceNumber'] : SKIP
  transaction_integrity_code =
    hash.key?('transactionIntegrityCode') ? hash['transactionIntegrityCode'] : SKIP
  amex_verbal_auth_reference_number =
    hash.key?('amexVerbalAuthReferenceNumber') ? hash['amexVerbalAuthReferenceNumber'] : SKIP
  master_card_service_code =
    hash.key?('masterCardServiceCode') ? hash['masterCardServiceCode'] : SKIP
  master_card_service_reply_code =
    hash.key?('masterCardServiceReplyCode') ? hash['masterCardServiceReplyCode'] : SKIP
  master_card_authentication_type =
    hash.key?('masterCardAuthenticationType') ? hash['masterCardAuthenticationType'] : SKIP
  name = hash.key?('name') ? hash['name'] : SKIP
  routing = Routing.from_hash(hash['routing']) if hash['routing']
  merchant_number =
    hash.key?('merchantNumber') ? hash['merchantNumber'] : SKIP
  retrieval_reference_number =
    hash.key?('retrievalReferenceNumber') ? hash['retrievalReferenceNumber'] : SKIP
  payment_url = hash.key?('paymentUrl') ? hash['paymentUrl'] : SKIP
  complete_url = hash.key?('completeUrl') ? hash['completeUrl'] : SKIP
  signature = hash.key?('signature') ? hash['signature'] : SKIP
  public_key = hash.key?('publicKey') ? hash['publicKey'] : SKIP
  if hash['sellerProtection']
    seller_protection = ProcessorInformationSellerProtection.from_hash(hash['sellerProtection'])
  end
  transaction_expiry_date =
    hash.key?('transactionExpiryDate') ? hash['transactionExpiryDate'] : SKIP
  custom_url = hash.key?('customUrl') ? hash['customUrl'] : SKIP
  scheme_assigned_id =
    hash.key?('schemeAssignedId') ? hash['schemeAssignedId'] : SKIP
  device_url = hash.key?('deviceUrl') ? hash['deviceUrl'] : SKIP
  disbursement_mode =
    hash.key?('disbursementMode') ? hash['disbursementMode'] : SKIP
  update_time_utc =
    hash.key?('updateTimeUtc') ? hash['updateTimeUtc'] : SKIP
  expiration_time_utc =
    hash.key?('expirationTimeUtc') ? hash['expirationTimeUtc'] : SKIP
  order_id = hash.key?('orderId') ? hash['orderId'] : SKIP
  order_status = hash.key?('orderStatus') ? hash['orderStatus'] : SKIP
  merchant_risk_prediction =
    hash.key?('merchantRiskPrediction') ? hash['merchantRiskPrediction'] : SKIP
  network = Network.from_hash(hash['network']) if hash['network']
  cedp_verified_indicator =
    hash.key?('cedpVerifiedIndicator') ? hash['cedpVerifiedIndicator'] : SKIP

  # Create a new hash for additional properties, removing known properties.
  new_hash = hash.reject { |k, _| names.value?(k) }

  additional_properties = APIHelper.get_additional_properties(
    new_hash, proc { |value| value }
  )

  # Create object from extracted values.
  ProcessorInformation1.new(auth_indicator: auth_indicator,
                            approval_code: approval_code,
                            card_reference_data: card_reference_data,
                            transaction_id: transaction_id,
                            network_transaction_id: network_transaction_id,
                            response_code: response_code,
                            response_code_source: response_code_source,
                            response_details: response_details,
                            response_category_code: response_category_code,
                            response_source_code: response_source_code,
                            forwarded_acquirer_code: forwarded_acquirer_code,
                            settlement_date: settlement_date,
                            sequence_number: sequence_number,
                            avs: avs,
                            card_verification: card_verification,
                            merchant_advice: merchant_advice,
                            electronic_verification_results: electronic_verification_results,
                            ach_verification: ach_verification,
                            customer: customer,
                            consumer_authentication_response: consumer_authentication_response,
                            system_trace_audit_number: system_trace_audit_number,
                            payment_account_reference_number: ,
                            transaction_integrity_code: transaction_integrity_code,
                            amex_verbal_auth_reference_number: amex_verbal_auth_reference_number,
                            master_card_service_code: master_card_service_code,
                            master_card_service_reply_code: master_card_service_reply_code,
                            master_card_authentication_type: master_card_authentication_type,
                            name: name,
                            routing: routing,
                            merchant_number: merchant_number,
                            retrieval_reference_number: retrieval_reference_number,
                            payment_url: payment_url,
                            complete_url: complete_url,
                            signature: signature,
                            public_key: public_key,
                            seller_protection: seller_protection,
                            transaction_expiry_date: transaction_expiry_date,
                            custom_url: custom_url,
                            scheme_assigned_id: scheme_assigned_id,
                            device_url: device_url,
                            disbursement_mode: disbursement_mode,
                            update_time_utc: update_time_utc,
                            expiration_time_utc: expiration_time_utc,
                            order_id: order_id,
                            order_status: order_status,
                            merchant_risk_prediction: merchant_risk_prediction,
                            network: network,
                            cedp_verified_indicator: cedp_verified_indicator,
                            additional_properties: additional_properties)
end

.namesObject

A mapping from model property names to API property names.



499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 499

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['auth_indicator'] = 'authIndicator'
  @_hash['approval_code'] = 'approvalCode'
  @_hash['card_reference_data'] = 'cardReferenceData'
  @_hash['transaction_id'] = 'transactionId'
  @_hash['network_transaction_id'] = 'networkTransactionId'
  @_hash['response_code'] = 'responseCode'
  @_hash['response_code_source'] = 'responseCodeSource'
  @_hash['response_details'] = 'responseDetails'
  @_hash['response_category_code'] = 'responseCategoryCode'
  @_hash['response_source_code'] = 'responseSourceCode'
  @_hash['forwarded_acquirer_code'] = 'forwardedAcquirerCode'
  @_hash['settlement_date'] = 'settlementDate'
  @_hash['sequence_number'] = 'sequenceNumber'
  @_hash['avs'] = 'avs'
  @_hash['card_verification'] = 'cardVerification'
  @_hash['merchant_advice'] = 'merchantAdvice'
  @_hash['electronic_verification_results'] =
    'electronicVerificationResults'
  @_hash['ach_verification'] = 'achVerification'
  @_hash['customer'] = 'customer'
  @_hash['consumer_authentication_response'] =
    'consumerAuthenticationResponse'
  @_hash['system_trace_audit_number'] = 'systemTraceAuditNumber'
  @_hash['payment_account_reference_number'] =
    'paymentAccountReferenceNumber'
  @_hash['transaction_integrity_code'] = 'transactionIntegrityCode'
  @_hash['amex_verbal_auth_reference_number'] =
    'amexVerbalAuthReferenceNumber'
  @_hash['master_card_service_code'] = 'masterCardServiceCode'
  @_hash['master_card_service_reply_code'] = 'masterCardServiceReplyCode'
  @_hash['master_card_authentication_type'] =
    'masterCardAuthenticationType'
  @_hash['name'] = 'name'
  @_hash['routing'] = 'routing'
  @_hash['merchant_number'] = 'merchantNumber'
  @_hash['retrieval_reference_number'] = 'retrievalReferenceNumber'
  @_hash['payment_url'] = 'paymentUrl'
  @_hash['complete_url'] = 'completeUrl'
  @_hash['signature'] = 'signature'
  @_hash['public_key'] = 'publicKey'
  @_hash['seller_protection'] = 'sellerProtection'
  @_hash['transaction_expiry_date'] = 'transactionExpiryDate'
  @_hash['custom_url'] = 'customUrl'
  @_hash['scheme_assigned_id'] = 'schemeAssignedId'
  @_hash['device_url'] = 'deviceUrl'
  @_hash['disbursement_mode'] = 'disbursementMode'
  @_hash['update_time_utc'] = 'updateTimeUtc'
  @_hash['expiration_time_utc'] = 'expirationTimeUtc'
  @_hash['order_id'] = 'orderId'
  @_hash['order_status'] = 'orderStatus'
  @_hash['merchant_risk_prediction'] = 'merchantRiskPrediction'
  @_hash['network'] = 'network'
  @_hash['cedp_verified_indicator'] = 'cedpVerifiedIndicator'
  @_hash
end

.nullablesObject

An array for nullable fields



612
613
614
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 612

def self.nullables
  []
end

.optionalsObject

An array for optional fields



558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 558

def self.optionals
  %w[
    auth_indicator
    approval_code
    card_reference_data
    transaction_id
    network_transaction_id
    response_code
    response_code_source
    response_details
    response_category_code
    response_source_code
    forwarded_acquirer_code
    settlement_date
    sequence_number
    avs
    card_verification
    merchant_advice
    electronic_verification_results
    ach_verification
    customer
    consumer_authentication_response
    system_trace_audit_number
    payment_account_reference_number
    transaction_integrity_code
    amex_verbal_auth_reference_number
    master_card_service_code
    master_card_service_reply_code
    master_card_authentication_type
    name
    routing
    merchant_number
    retrieval_reference_number
    payment_url
    complete_url
    signature
    public_key
    seller_protection
    transaction_expiry_date
    custom_url
    scheme_assigned_id
    device_url
    disbursement_mode
    update_time_utc
    expiration_time_utc
    order_id
    order_status
    merchant_risk_prediction
    network
    cedp_verified_indicator
  ]
end

Instance Method Details

#inspectObject

Provides a debugging-friendly string with detailed object information.



1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 1147

def inspect
  class_name = self.class.name.split('::').last
  "<#{class_name} auth_indicator: #{@auth_indicator.inspect}, approval_code:"\
  " #{@approval_code.inspect}, card_reference_data: #{@card_reference_data.inspect},"\
  " transaction_id: #{@transaction_id.inspect}, network_transaction_id:"\
  " #{@network_transaction_id.inspect}, response_code: #{@response_code.inspect},"\
  " response_code_source: #{@response_code_source.inspect}, response_details:"\
  " #{@response_details.inspect}, response_category_code: #{@response_category_code.inspect},"\
  " response_source_code: #{@response_source_code.inspect}, forwarded_acquirer_code:"\
  " #{@forwarded_acquirer_code.inspect}, settlement_date: #{@settlement_date.inspect},"\
  " sequence_number: #{@sequence_number.inspect}, avs: #{@avs.inspect}, card_verification:"\
  " #{@card_verification.inspect}, merchant_advice: #{@merchant_advice.inspect},"\
  " electronic_verification_results: #{@electronic_verification_results.inspect},"\
  " ach_verification: #{@ach_verification.inspect}, customer: #{@customer.inspect},"\
  " consumer_authentication_response: #{@consumer_authentication_response.inspect},"\
  " system_trace_audit_number: #{@system_trace_audit_number.inspect},"\
  " payment_account_reference_number: #{@payment_account_reference_number.inspect},"\
  " transaction_integrity_code: #{@transaction_integrity_code.inspect},"\
  " amex_verbal_auth_reference_number: #{@amex_verbal_auth_reference_number.inspect},"\
  " master_card_service_code: #{@master_card_service_code.inspect},"\
  " master_card_service_reply_code: #{@master_card_service_reply_code.inspect},"\
  " master_card_authentication_type: #{@master_card_authentication_type.inspect}, name:"\
  " #{@name.inspect}, routing: #{@routing.inspect}, merchant_number:"\
  " #{@merchant_number.inspect}, retrieval_reference_number:"\
  " #{@retrieval_reference_number.inspect}, payment_url: #{@payment_url.inspect},"\
  " complete_url: #{@complete_url.inspect}, signature: #{@signature.inspect}, public_key:"\
  " #{@public_key.inspect}, seller_protection: #{@seller_protection.inspect},"\
  " transaction_expiry_date: #{@transaction_expiry_date.inspect}, custom_url:"\
  " #{@custom_url.inspect}, scheme_assigned_id: #{@scheme_assigned_id.inspect}, device_url:"\
  " #{@device_url.inspect}, disbursement_mode: #{@disbursement_mode.inspect}, update_time_utc:"\
  " #{@update_time_utc.inspect}, expiration_time_utc: #{@expiration_time_utc.inspect},"\
  " order_id: #{@order_id.inspect}, order_status: #{@order_status.inspect},"\
  " merchant_risk_prediction: #{@merchant_risk_prediction.inspect}, network:"\
  " #{@network.inspect}, cedp_verified_indicator: #{@cedp_verified_indicator.inspect},"\
  " additional_properties: #{@additional_properties}>"
end

#to_sObject

Provides a human-readable string representation of the object.



1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 1114

def to_s
  class_name = self.class.name.split('::').last
  "<#{class_name} auth_indicator: #{@auth_indicator}, approval_code: #{@approval_code},"\
  " card_reference_data: #{@card_reference_data}, transaction_id: #{@transaction_id},"\
  " network_transaction_id: #{@network_transaction_id}, response_code: #{@response_code},"\
  " response_code_source: #{@response_code_source}, response_details: #{@response_details},"\
  " response_category_code: #{@response_category_code}, response_source_code:"\
  " #{@response_source_code}, forwarded_acquirer_code: #{@forwarded_acquirer_code},"\
  " settlement_date: #{@settlement_date}, sequence_number: #{@sequence_number}, avs: #{@avs},"\
  " card_verification: #{@card_verification}, merchant_advice: #{@merchant_advice},"\
  " electronic_verification_results: #{@electronic_verification_results}, ach_verification:"\
  " #{@ach_verification}, customer: #{@customer}, consumer_authentication_response:"\
  " #{@consumer_authentication_response}, system_trace_audit_number:"\
  " #{@system_trace_audit_number}, payment_account_reference_number:"\
  " #{@payment_account_reference_number}, transaction_integrity_code:"\
  " #{@transaction_integrity_code}, amex_verbal_auth_reference_number:"\
  " #{@amex_verbal_auth_reference_number}, master_card_service_code:"\
  " #{@master_card_service_code}, master_card_service_reply_code:"\
  " #{@master_card_service_reply_code}, master_card_authentication_type:"\
  " #{@master_card_authentication_type}, name: #{@name}, routing: #{@routing},"\
  " merchant_number: #{@merchant_number}, retrieval_reference_number:"\
  " #{@retrieval_reference_number}, payment_url: #{@payment_url}, complete_url:"\
  " #{@complete_url}, signature: #{@signature}, public_key: #{@public_key}, seller_protection:"\
  " #{@seller_protection}, transaction_expiry_date: #{@transaction_expiry_date}, custom_url:"\
  " #{@custom_url}, scheme_assigned_id: #{@scheme_assigned_id}, device_url: #{@device_url},"\
  " disbursement_mode: #{@disbursement_mode}, update_time_utc: #{@update_time_utc},"\
  " expiration_time_utc: #{@expiration_time_utc}, order_id: #{@order_id}, order_status:"\
  " #{@order_status}, merchant_risk_prediction: #{@merchant_risk_prediction}, network:"\
  " #{@network}, cedp_verified_indicator: #{@cedp_verified_indicator}, additional_properties:"\
  " #{@additional_properties}>"
end

#to_xml_element(doc, root_name) ⇒ Object



1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
# File 'lib/cyber_source_merged_spec/models/processor_information1.rb', line 1023

def to_xml_element(doc, root_name)
  root = doc.create_element(root_name)

  XmlUtilities.add_as_subelement(doc, root, 'authIndicator', auth_indicator)
  XmlUtilities.add_as_subelement(doc, root, 'approvalCode', approval_code)
  XmlUtilities.add_as_subelement(doc, root, 'cardReferenceData',
                                 card_reference_data)
  XmlUtilities.add_as_subelement(doc, root, 'transactionId', transaction_id)
  XmlUtilities.add_as_subelement(doc, root, 'networkTransactionId',
                                 network_transaction_id)
  XmlUtilities.add_as_subelement(doc, root, 'responseCode', response_code)
  XmlUtilities.add_as_subelement(doc, root, 'responseCodeSource',
                                 response_code_source)
  XmlUtilities.add_as_subelement(doc, root, 'responseDetails',
                                 response_details)
  XmlUtilities.add_as_subelement(doc, root, 'responseCategoryCode',
                                 response_category_code)
  XmlUtilities.add_as_subelement(doc, root, 'responseSourceCode',
                                 response_source_code)
  XmlUtilities.add_as_subelement(doc, root, 'forwardedAcquirerCode',
                                 forwarded_acquirer_code)
  XmlUtilities.add_as_subelement(doc, root, 'settlementDate',
                                 settlement_date)
  XmlUtilities.add_as_subelement(doc, root, 'sequenceNumber',
                                 sequence_number)
  XmlUtilities.add_as_subelement(doc, root, 'Avs', avs)
  XmlUtilities.add_as_subelement(doc, root, 'CardVerification1',
                                 card_verification)
  XmlUtilities.add_as_subelement(doc, root, 'MerchantAdvice',
                                 merchant_advice)
  XmlUtilities.add_as_subelement(doc, root, 'ElectronicVerificationResults',
                                 electronic_verification_results)
  XmlUtilities.add_as_subelement(doc, root, 'AchVerification',
                                 ach_verification)
  XmlUtilities.add_as_subelement(doc, root, 'Customer2', customer)
  XmlUtilities.add_as_subelement(doc, root,
                                 'ConsumerAuthenticationResponse',
                                 consumer_authentication_response)
  XmlUtilities.add_as_subelement(doc, root, 'systemTraceAuditNumber',
                                 system_trace_audit_number)
  XmlUtilities.add_as_subelement(doc, root, 'paymentAccountReferenceNumber',
                                 )
  XmlUtilities.add_as_subelement(doc, root, 'transactionIntegrityCode',
                                 transaction_integrity_code)
  XmlUtilities.add_as_subelement(doc, root, 'amexVerbalAuthReferenceNumber',
                                 amex_verbal_auth_reference_number)
  XmlUtilities.add_as_subelement(doc, root, 'masterCardServiceCode',
                                 master_card_service_code)
  XmlUtilities.add_as_subelement(doc, root, 'masterCardServiceReplyCode',
                                 master_card_service_reply_code)
  XmlUtilities.add_as_subelement(doc, root, 'masterCardAuthenticationType',
                                 master_card_authentication_type)
  XmlUtilities.add_as_subelement(doc, root, 'name', name)
  XmlUtilities.add_as_subelement(doc, root, 'Routing', routing)
  XmlUtilities.add_as_subelement(doc, root, 'merchantNumber',
                                 merchant_number)
  XmlUtilities.add_as_subelement(doc, root, 'retrievalReferenceNumber',
                                 retrieval_reference_number)
  XmlUtilities.add_as_subelement(doc, root, 'paymentUrl', payment_url)
  XmlUtilities.add_as_subelement(doc, root, 'completeUrl', complete_url)
  XmlUtilities.add_as_subelement(doc, root, 'signature', signature)
  XmlUtilities.add_as_subelement(doc, root, 'publicKey', public_key)
  XmlUtilities.add_as_subelement(doc, root,
                                 'processorInformationSellerProtection',
                                 seller_protection)
  XmlUtilities.add_as_subelement(doc, root, 'transactionExpiryDate',
                                 transaction_expiry_date)
  XmlUtilities.add_as_subelement(doc, root, 'customUrl', custom_url)
  XmlUtilities.add_as_subelement(doc, root, 'schemeAssignedId',
                                 scheme_assigned_id)
  XmlUtilities.add_as_subelement(doc, root, 'deviceUrl', device_url)
  XmlUtilities.add_as_subelement(doc, root, 'disbursementMode',
                                 disbursement_mode)
  XmlUtilities.add_as_subelement(doc, root, 'updateTimeUtc',
                                 update_time_utc)
  XmlUtilities.add_as_subelement(doc, root, 'expirationTimeUtc',
                                 expiration_time_utc)
  XmlUtilities.add_as_subelement(doc, root, 'orderId', order_id)
  XmlUtilities.add_as_subelement(doc, root, 'orderStatus', order_status)
  XmlUtilities.add_as_subelement(doc, root, 'merchantRiskPrediction',
                                 merchant_risk_prediction)
  XmlUtilities.add_as_subelement(doc, root, 'Network', network)
  XmlUtilities.add_as_subelement(doc, root, 'cedpVerifiedIndicator',
                                 cedp_verified_indicator)
  XmlUtilities.add_as_subelement(doc, root, 'additional_properties',
                                 additional_properties)

  root
end