Class: CyberSource::PaymentsProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors

Inherits:
Object
  • Object
show all
Defined in:
lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb

Defined Under Namespace

Classes: EnumAttributeValidator

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ PaymentsProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 322

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }

  if attributes.has_key?(:'batchGroup')
    self.batch_group = attributes[:'batchGroup']
  end

  if attributes.has_key?(:'businessApplicationId')
    self.business_application_id = attributes[:'businessApplicationId']
  end

  if attributes.has_key?(:'merchantVerificationValue')
    self.merchant_verification_value = attributes[:'merchantVerificationValue']
  end

  if attributes.has_key?(:'abaNumber')
    self.aba_number = attributes[:'abaNumber']
  end

  if attributes.has_key?(:'acquirer')
    self.acquirer = attributes[:'acquirer']
  end

  if attributes.has_key?(:'merchantId')
    self.merchant_id = attributes[:'merchantId']
  end

  if attributes.has_key?(:'terminalId')
    self.terminal_id = attributes[:'terminalId']
  end

  if attributes.has_key?(:'paymentTypes')
    if (value = attributes[:'paymentTypes']).is_a?(Hash)
      self.payment_types = value
    end
  end

  if attributes.has_key?(:'currencies')
    if (value = attributes[:'currencies']).is_a?(Hash)
      self.currencies = value
    end
  end

  if attributes.has_key?(:'sicCode')
    self.sic_code = attributes[:'sicCode']
  end

  if attributes.has_key?(:'allowMultipleBills')
    self.allow_multiple_bills = attributes[:'allowMultipleBills']
  end

  if attributes.has_key?(:'allowMerchantDescriptorOverride')
    self.allow_merchant_descriptor_override = attributes[:'allowMerchantDescriptorOverride']
  end

  if attributes.has_key?(:'enhancedData')
    self.enhanced_data = attributes[:'enhancedData']
  end

  if attributes.has_key?(:'fireSafetyIndicator')
    self.fire_safety_indicator = attributes[:'fireSafetyIndicator']
  end

  if attributes.has_key?(:'quasiCash')
    self.quasi_cash = attributes[:'quasiCash']
  end

  if attributes.has_key?(:'acquirerMerchantId')
    self.acquirer_merchant_id = attributes[:'acquirerMerchantId']
  end

  if attributes.has_key?(:'avsFormat')
    self.avs_format = attributes[:'avsFormat']
  end

  if attributes.has_key?(:'enableLongTransRefNo')
    self.enable_long_trans_ref_no = attributes[:'enableLongTransRefNo']
  end

  if attributes.has_key?(:'enableLevel2')
    self.enable_level2 = attributes[:'enableLevel2']
  end

  if attributes.has_key?(:'enableMultipleTransactionAdviceAddendum')
    self.enable_multiple_transaction_advice_addendum = attributes[:'enableMultipleTransactionAdviceAddendum']
  end

  if attributes.has_key?(:'amexTransactionAdviceAddendum1')
    self.amex_transaction_advice_addendum1 = attributes[:'amexTransactionAdviceAddendum1']
  end

  if attributes.has_key?(:'enableMultiLineItems')
    self.enable_multi_line_items = attributes[:'enableMultiLineItems']
  end

  if attributes.has_key?(:'enableTransactionReferenceNumber')
    self.enable_transaction_reference_number = attributes[:'enableTransactionReferenceNumber']
  end

  if attributes.has_key?(:'enableAutoAuthReversalAfterVoid')
    self.enable_auto_auth_reversal_after_void = attributes[:'enableAutoAuthReversalAfterVoid']
  end

  if attributes.has_key?(:'enableExpresspayPanTranslation')
    self.enable_expresspay_pan_translation = attributes[:'enableExpresspayPanTranslation']
  end

  if attributes.has_key?(:'enableCreditAuth')
    self.enable_credit_auth = attributes[:'enableCreditAuth']
  end

  if attributes.has_key?(:'industryCode')
    self.industry_code = attributes[:'industryCode']
  end

  if attributes.has_key?(:'sendAmexLevel2Data')
    self.send_amex_level2_data = attributes[:'sendAmexLevel2Data']
  end

  if attributes.has_key?(:'softDescriptorType')
    self.soft_descriptor_type = attributes[:'softDescriptorType']
  end

  if attributes.has_key?(:'vitalNumber')
    self.vital_number = attributes[:'vitalNumber']
  end

  if attributes.has_key?(:'bankNumber')
    self.bank_number = attributes[:'bankNumber']
  end

  if attributes.has_key?(:'chainNumber')
    self.chain_number = attributes[:'chainNumber']
  end

  if attributes.has_key?(:'merchantBinNumber')
    self.merchant_bin_number = attributes[:'merchantBinNumber']
  end

  if attributes.has_key?(:'merchantLocationNumber')
    self.merchant_location_number = attributes[:'merchantLocationNumber']
  end

  if attributes.has_key?(:'storeID')
    self.store_id = attributes[:'storeID']
  end

  if attributes.has_key?(:'travelAgencyCode')
    self.travel_agency_code = attributes[:'travelAgencyCode']
  end

  if attributes.has_key?(:'travelAgencyName')
    self.travel_agency_name = attributes[:'travelAgencyName']
  end

  if attributes.has_key?(:'settlementCurrency')
    self.settlement_currency = attributes[:'settlementCurrency']
  end

  if attributes.has_key?(:'enableLeastCostRouting')
    self.enable_least_cost_routing = attributes[:'enableLeastCostRouting']
  end

  if attributes.has_key?(:'enableCVVResponseIndicator')
    self.enable_cvv_response_indicator = attributes[:'enableCVVResponseIndicator']
  end

  if attributes.has_key?(:'enableMultiCurrencyProcessing')
    self.enable_multi_currency_processing = attributes[:'enableMultiCurrencyProcessing']
  end

  if attributes.has_key?(:'enablePosNetworkSwitching')
    self.enable_pos_network_switching = attributes[:'enablePosNetworkSwitching']
  end

  if attributes.has_key?(:'enableDynamicCurrencyConversion')
    self.enable_dynamic_currency_conversion = attributes[:'enableDynamicCurrencyConversion']
  end

  if attributes.has_key?(:'merchantTier')
    self.merchant_tier = attributes[:'merchantTier']
  end
end

Instance Attribute Details

#aba_numberObject

Routing Number to identify banks within the United States. Applicable for GPX (gpx) processors.



27
28
29
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 27

def aba_number
  @aba_number
end

#acquirerObject

Returns the value of attribute acquirer.



29
30
31
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 29

def acquirer
  @acquirer
end

#acquirer_merchant_idObject

Identifier assigned by the acquirer. Applicable for RUPAY, VPC and Six (six) processors.



62
63
64
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 62

def acquirer_merchant_id
  @acquirer_merchant_id
end

#allow_merchant_descriptor_overrideObject

Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors.



50
51
52
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 50

def allow_merchant_descriptor_override
  @allow_merchant_descriptor_override
end

#allow_multiple_billsObject

Allows multiple captures for a single authorization transaction. Applicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>Yes</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table>



47
48
49
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 47

def allow_multiple_bills
  @allow_multiple_bills
end

#amex_transaction_advice_addendum1Object

Advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>40</td><td>^+$</td></tr> </table>



77
78
79
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 77

def amex_transaction_advice_addendum1
  @amex_transaction_advice_addendum1
end

#avs_formatObject

Enables Enhanced AVS/Automated Address Verification Plus (AAV+). Valid values: "basic" - Standard address verification system. When a processor supports AVS for a transaction’s card type, the issuing bank uses AVS to confirm that the customer has provided the correct billing address. When a customer provides incorrect information, the transaction might be fraudulent. "basic + name" - Enhanced address verification system. Consists of the standard AVS functionality plus verification of some additional fields. The additional fields that are verified for Enhanced AVS are: - customer_firstname - customer_lastname "basic + name + shipto" - Automated address verification plus. Consists of the Enhanced AVS functionality plus verification of some additional fields. AAV+ intended for merchants who deliver physical goods to a different address than the billing address. AAV+ verifies the additional fields only when the standard and Enhanced AVS tests pass first. For information about Enhanced AVS - The additional fields that are verified for AAV+ are: - ship_to_firstname - ship_to_lastname - ship_to_address1 - ship_to_country - ship_to_zip - ship_to_phone - customer_phone(American Express Direct only) Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>basic</td></tr> </table>



65
66
67
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 65

def avs_format
  @avs_format
end

#bank_numberObject

6 digit agent bank number provided by acquirer. Applicable for TSYS (tsys) processor.



107
108
109
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 107

def bank_number
  @bank_number
end

#batch_groupObject

Determines the batching group that separates merchants for special batching times. Batching groups can separate merchant batches by the following criteria: * Timezone * Merchant deadlines * Large merchants (top 10) * Merchants with Service-Level Agreements Applicable for Chase Paymentech Salem (chasepaymentechsalem), Streamline (streamline2), Six (six), Barclays (barclays2), Paymentech Tampa (paymentechtampa), CMCIC (cmcic), FDC Nashville (smartfdc), RUPAY, American Express Direct (amexdirect), GPN (gpn), VPC, GPX (gpx), CB2A, Barclays HISO (barclayshiso), TSYS (tsys) and FDI Global (fdiglobal) processors. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td></tr> </table>



18
19
20
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 18

def batch_group
  @batch_group
end

#business_application_idObject

Indicates the type of money transfer used in the transaction. Applicable for VPC and GPX (gpx) processors.



21
22
23
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 21

def business_application_id
  @business_application_id
end

#chain_numberObject

6 digit chain number provided by acquirer. Applicable for TSYS (tsys) processor.



110
111
112
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 110

def chain_number
  @chain_number
end

#currenciesObject

Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)



41
42
43
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 41

def currencies
  @currencies
end

#enable_auto_auth_reversal_after_voidObject

Enables to meet the Visa mandate requirements to reverse unused authorizations, benefitting the customer by releasing the hold on unused credit card funds. Applicable for CB2A, Elavon Americas (elavonamericas), Six (six), VPC and American Express Direct (amexdirect) processors. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>



86
87
88
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 86

def enable_auto_auth_reversal_after_void
  @enable_auto_auth_reversal_after_void
end

#enable_credit_authObject

Authorizes a credit. Reduces refund chargebacks and prevents customers from seeing the online update for credits which are otherwise offline settlements.



92
93
94
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 92

def enable_credit_auth
  @enable_credit_auth
end

#enable_cvv_response_indicatorObject

This field denotes EFTPOS Merchant’s choice of receiving CVV Processing Response in return. Applicable for EFTPOS processors.



134
135
136
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 134

def enable_cvv_response_indicator
  @enable_cvv_response_indicator
end

#enable_dynamic_currency_conversionObject

Enable dynamic currency conversion for a merchant.



143
144
145
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 143

def enable_dynamic_currency_conversion
  @enable_dynamic_currency_conversion
end

#enable_expresspay_pan_translationObject

When this is enabled, authorization responses from American Express expresspay transactions include the Primary Account Number (PAN) and expiration date of the card. Applicable for American Express Direct (amexdirect) processor.



89
90
91
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 89

def enable_expresspay_pan_translation
  @enable_expresspay_pan_translation
end

#enable_least_cost_routingObject

Indicates whether Least Cost Routing is enabled. Applicable for EFTPOS and CUP processors.



131
132
133
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 131

def enable_least_cost_routing
  @enable_least_cost_routing
end

#enable_level2Object

Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>



71
72
73
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 71

def enable_level2
  @enable_level2
end

#enable_long_trans_ref_noObject

Amex Direct specific merchant config value which determines what length (either 9 or Unique 12-char reference number) of reference number will be CYBS generated if the merchant does not pass in a trans_ref_no. Can be any combination of alpha, numeric and special characters, and/or binary data in hexadecimal. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>



68
69
70
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 68

def enable_long_trans_ref_no
  @enable_long_trans_ref_no
end

#enable_multi_currency_processingObject

Applicable for Barclays (barclays2) processor. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>Yes</td></tr> </table>



137
138
139
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 137

def enable_multi_currency_processing
  @enable_multi_currency_processing
end

#enable_multi_line_itemsObject

This flag is related to offer/line item details to be included instead of sending one line item, and a grand total. Example, offer0, offer 1…offer n. Applicable for American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>



80
81
82
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 80

def enable_multi_line_items
  @enable_multi_line_items
end

#enable_multiple_transaction_advice_addendumObject

This flag related to multiple transaction advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>



74
75
76
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 74

def enable_multiple_transaction_advice_addendum
  @enable_multiple_transaction_advice_addendum
end

#enable_pos_network_switchingObject

‘POS Network Switching’ or ‘Alternate Routing’ means merchant can process PIN Debit transactions without a PIN. Set the value to ‘Yes’ if it is supported. Applicable for FDI Global (fdiglobal) processor.



140
141
142
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 140

def enable_pos_network_switching
  @enable_pos_network_switching
end

#enable_transaction_reference_numberObject

To enable merchant to send in transaction reference number (unique reconciliation ID). Applicable for VPC, Vero (vero), FDI Global (fdiglobal), Six (six), CB2A, CUP, VPC, Chase Paymentech Salem (chasepaymentechsalem), Fiserv (fiserv), Elavon Americas (elavonamericas) and EFTPOS processors.



83
84
85
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 83

def enable_transaction_reference_number
  @enable_transaction_reference_number
end

#enhanced_dataObject

To enable airline transactions. Applicable for TSYS (tsys), VPC, Elavon Americas (elavonamericas), FDI Global (fdiglobal), GPX (gpx), Barclays (barclays2) and American Express Direct (amexdirect) processors. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td></tr> </table>



53
54
55
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 53

def enhanced_data
  @enhanced_data
end

#fire_safety_indicatorObject

Indicates whether the merchant is compliant with Hotel and Motel Fire Safety Act of 1990. Applicable for GPX (gpx) and VPC processors.



56
57
58
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 56

def fire_safety_indicator
  @fire_safety_indicator
end

#industry_codeObject

Field used to identify the industry type of the merchant submitting the authorization request. Valid values: ‘0` – unknown or unsure `A` – auto rental (EMV supported) `B` – bank/financial institution (EMV supported) `D` – direct marketing `F` – food/restaurant (EMV supported) `G` – grocery store/super market (EMV supported) `H` – hotel (EMV supported) `L` – limited amount terminal (EMV supported) `O` – oil company/automated fueling system (EMV supported) `P` – passenger transport (EMV supported) `R` – retail (EMV supported) Applicable for TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors.



95
96
97
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 95

def industry_code
  @industry_code
end

#merchant_bin_numberObject

6 digits acquirer bank identification number. Applicable for TSYS (tsys) processor.



113
114
115
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 113

def merchant_bin_number
  @merchant_bin_number
end

#merchant_idObject

Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^$</td></tr> <tr><td>Barclays</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>11</td><td>^$</td></tr> </table>



32
33
34
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 32

def merchant_id
  @merchant_id
end

#merchant_location_numberObject

5 digit merchant location number. Unless otherwise specified by merchant’s bank or processor, this field should default to 00001. Applicable for TSYS (tsys) processor.



116
117
118
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 116

def merchant_location_number
  @merchant_location_number
end

#merchant_tierObject

Merchant Tier defines the type of merchant, the numeric Merchant Tier value is allocated by EFTPOS. Applicable for EFTPOS processors.



146
147
148
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 146

def merchant_tier
  @merchant_tier
end

#merchant_verification_valueObject

Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant. Applicable for GPX (gpx) and VPC processors.



24
25
26
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 24

def merchant_verification_value
  @merchant_verification_value
end

#payment_typesObject

Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB



38
39
40
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 38

def payment_types
  @payment_types
end

#quasi_cashObject

To enable quasi-cash transactions. A quasi-cash transaction is a cash-like transaction for the sale of items that are directly convertible to cash, such as:- Casino gaming chips, Money orders, Wire transfers. Applicable for GPX (gpx), TSYS (tsys), Barclays (barclays2) and VPC processors. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table>



59
60
61
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 59

def quasi_cash
  @quasi_cash
end

#send_amex_level2_dataObject

Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for TSYS (tsys) processor.



98
99
100
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 98

def send_amex_level2_data
  @send_amex_level2_data
end

#settlement_currencyObject

This field is used to indicate Merchant’s settlement currency. [ISO 4217 ALPHA-3 Standard Currency Codes] Applicable for TSYS (tsys) and Streamline (streamline2) processors.



128
129
130
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 128

def settlement_currency
  @settlement_currency
end

#sic_codeObject

The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors.



44
45
46
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 44

def sic_code
  @sic_code
end

#soft_descriptor_typeObject

A soft descriptor is a text, rendered on a cardholder’s statement, describing a particular product or service, purchased by the cardholder. Descriptors are intended to help the cardholder identify the products or services purchased. Valid values: ‘1` - trans_ref_no `2` - merchant_descriptor `3` - trans_ref_no and merchant_descriptor Applicable for TSYS (tsys) processor.



101
102
103
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 101

def soft_descriptor_type
  @soft_descriptor_type
end

#store_idObject

4 digits number used to identify a specific merchant store location within the member systems. Applicable for TSYS (tsys) processor.



119
120
121
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 119

def store_id
  @store_id
end

#terminal_idObject

The ‘Terminal Id’ aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)… <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>16</td><td>^$</td></tr> <tr><td>Barclays HISO</td><td>cp</td><td>No</td><td>1</td><td>16</td><td>^$</td></tr> </table>



35
36
37
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 35

def terminal_id
  @terminal_id
end

#travel_agency_codeObject

Contains travel agency code if airline ticket was issued by a travel agency. Applicable for TSYS (tsys) processor.



122
123
124
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 122

def travel_agency_code
  @travel_agency_code
end

#travel_agency_nameObject

Contains travel agency name if airline ticket was issued by travel agency. Applicable for TSYS (tsys) processor.



125
126
127
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 125

def travel_agency_name
  @travel_agency_name
end

#vital_numberObject

V-number provided by TSYS info. The leading ‘V` must be replaced by a `7`. For example, replace `V1234567` with `71234567`. Applicable for TSYS (tsys) processor.



104
105
106
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 104

def vital_number
  @vital_number
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 171

def self.attribute_map
  {
    :'batch_group' => :'batchGroup',
    :'business_application_id' => :'businessApplicationId',
    :'merchant_verification_value' => :'merchantVerificationValue',
    :'aba_number' => :'abaNumber',
    :'acquirer' => :'acquirer',
    :'merchant_id' => :'merchantId',
    :'terminal_id' => :'terminalId',
    :'payment_types' => :'paymentTypes',
    :'currencies' => :'currencies',
    :'sic_code' => :'sicCode',
    :'allow_multiple_bills' => :'allowMultipleBills',
    :'allow_merchant_descriptor_override' => :'allowMerchantDescriptorOverride',
    :'enhanced_data' => :'enhancedData',
    :'fire_safety_indicator' => :'fireSafetyIndicator',
    :'quasi_cash' => :'quasiCash',
    :'acquirer_merchant_id' => :'acquirerMerchantId',
    :'avs_format' => :'avsFormat',
    :'enable_long_trans_ref_no' => :'enableLongTransRefNo',
    :'enable_level2' => :'enableLevel2',
    :'enable_multiple_transaction_advice_addendum' => :'enableMultipleTransactionAdviceAddendum',
    :'amex_transaction_advice_addendum1' => :'amexTransactionAdviceAddendum1',
    :'enable_multi_line_items' => :'enableMultiLineItems',
    :'enable_transaction_reference_number' => :'enableTransactionReferenceNumber',
    :'enable_auto_auth_reversal_after_void' => :'enableAutoAuthReversalAfterVoid',
    :'enable_expresspay_pan_translation' => :'enableExpresspayPanTranslation',
    :'enable_credit_auth' => :'enableCreditAuth',
    :'industry_code' => :'industryCode',
    :'send_amex_level2_data' => :'sendAmexLevel2Data',
    :'soft_descriptor_type' => :'softDescriptorType',
    :'vital_number' => :'vitalNumber',
    :'bank_number' => :'bankNumber',
    :'chain_number' => :'chainNumber',
    :'merchant_bin_number' => :'merchantBinNumber',
    :'merchant_location_number' => :'merchantLocationNumber',
    :'store_id' => :'storeID',
    :'travel_agency_code' => :'travelAgencyCode',
    :'travel_agency_name' => :'travelAgencyName',
    :'settlement_currency' => :'settlementCurrency',
    :'enable_least_cost_routing' => :'enableLeastCostRouting',
    :'enable_cvv_response_indicator' => :'enableCVVResponseIndicator',
    :'enable_multi_currency_processing' => :'enableMultiCurrencyProcessing',
    :'enable_pos_network_switching' => :'enablePosNetworkSwitching',
    :'enable_dynamic_currency_conversion' => :'enableDynamicCurrencyConversion',
    :'merchant_tier' => :'merchantTier'
  }
end

.json_mapObject

Attribute mapping from JSON key to ruby-style variable name.



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 221

def self.json_map
  {
    :'batch_group' => :'batch_group',
    :'business_application_id' => :'business_application_id',
    :'merchant_verification_value' => :'merchant_verification_value',
    :'aba_number' => :'aba_number',
    :'acquirer' => :'acquirer',
    :'merchant_id' => :'merchant_id',
    :'terminal_id' => :'terminal_id',
    :'payment_types' => :'payment_types',
    :'currencies' => :'currencies',
    :'sic_code' => :'sic_code',
    :'allow_multiple_bills' => :'allow_multiple_bills',
    :'allow_merchant_descriptor_override' => :'allow_merchant_descriptor_override',
    :'enhanced_data' => :'enhanced_data',
    :'fire_safety_indicator' => :'fire_safety_indicator',
    :'quasi_cash' => :'quasi_cash',
    :'acquirer_merchant_id' => :'acquirer_merchant_id',
    :'avs_format' => :'avs_format',
    :'enable_long_trans_ref_no' => :'enable_long_trans_ref_no',
    :'enable_level2' => :'enable_level2',
    :'enable_multiple_transaction_advice_addendum' => :'enable_multiple_transaction_advice_addendum',
    :'amex_transaction_advice_addendum1' => :'amex_transaction_advice_addendum1',
    :'enable_multi_line_items' => :'enable_multi_line_items',
    :'enable_transaction_reference_number' => :'enable_transaction_reference_number',
    :'enable_auto_auth_reversal_after_void' => :'enable_auto_auth_reversal_after_void',
    :'enable_expresspay_pan_translation' => :'enable_expresspay_pan_translation',
    :'enable_credit_auth' => :'enable_credit_auth',
    :'industry_code' => :'industry_code',
    :'send_amex_level2_data' => :'send_amex_level2_data',
    :'soft_descriptor_type' => :'soft_descriptor_type',
    :'vital_number' => :'vital_number',
    :'bank_number' => :'bank_number',
    :'chain_number' => :'chain_number',
    :'merchant_bin_number' => :'merchant_bin_number',
    :'merchant_location_number' => :'merchant_location_number',
    :'store_id' => :'store_id',
    :'travel_agency_code' => :'travel_agency_code',
    :'travel_agency_name' => :'travel_agency_name',
    :'settlement_currency' => :'settlement_currency',
    :'enable_least_cost_routing' => :'enable_least_cost_routing',
    :'enable_cvv_response_indicator' => :'enable_cvv_response_indicator',
    :'enable_multi_currency_processing' => :'enable_multi_currency_processing',
    :'enable_pos_network_switching' => :'enable_pos_network_switching',
    :'enable_dynamic_currency_conversion' => :'enable_dynamic_currency_conversion',
    :'merchant_tier' => :'merchant_tier'
  }
end

.swagger_typesObject

Attribute type mapping.



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 271

def self.swagger_types
  {
    :'batch_group' => :'String',
    :'business_application_id' => :'String',
    :'merchant_verification_value' => :'String',
    :'aba_number' => :'String',
    :'acquirer' => :'PaymentsProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer',
    :'merchant_id' => :'String',
    :'terminal_id' => :'String',
    :'payment_types' => :'Hash<String, PaymentsProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes>',
    :'currencies' => :'Hash<String, PaymentsProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1>',
    :'sic_code' => :'String',
    :'allow_multiple_bills' => :'BOOLEAN',
    :'allow_merchant_descriptor_override' => :'BOOLEAN',
    :'enhanced_data' => :'String',
    :'fire_safety_indicator' => :'BOOLEAN',
    :'quasi_cash' => :'BOOLEAN',
    :'acquirer_merchant_id' => :'String',
    :'avs_format' => :'String',
    :'enable_long_trans_ref_no' => :'BOOLEAN',
    :'enable_level2' => :'BOOLEAN',
    :'enable_multiple_transaction_advice_addendum' => :'BOOLEAN',
    :'amex_transaction_advice_addendum1' => :'String',
    :'enable_multi_line_items' => :'BOOLEAN',
    :'enable_transaction_reference_number' => :'BOOLEAN',
    :'enable_auto_auth_reversal_after_void' => :'BOOLEAN',
    :'enable_expresspay_pan_translation' => :'BOOLEAN',
    :'enable_credit_auth' => :'BOOLEAN',
    :'industry_code' => :'String',
    :'send_amex_level2_data' => :'BOOLEAN',
    :'soft_descriptor_type' => :'String',
    :'vital_number' => :'String',
    :'bank_number' => :'String',
    :'chain_number' => :'String',
    :'merchant_bin_number' => :'String',
    :'merchant_location_number' => :'String',
    :'store_id' => :'String',
    :'travel_agency_code' => :'String',
    :'travel_agency_name' => :'String',
    :'settlement_currency' => :'String',
    :'enable_least_cost_routing' => :'BOOLEAN',
    :'enable_cvv_response_indicator' => :'BOOLEAN',
    :'enable_multi_currency_processing' => :'String',
    :'enable_pos_network_switching' => :'BOOLEAN',
    :'enable_dynamic_currency_conversion' => :'BOOLEAN',
    :'merchant_tier' => :'String'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



556
557
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
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 556

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      batch_group == o.batch_group &&
      business_application_id == o.business_application_id &&
      merchant_verification_value == o.merchant_verification_value &&
      aba_number == o.aba_number &&
      acquirer == o.acquirer &&
      merchant_id == o.merchant_id &&
      terminal_id == o.terminal_id &&
      payment_types == o.payment_types &&
      currencies == o.currencies &&
      sic_code == o.sic_code &&
      allow_multiple_bills == o.allow_multiple_bills &&
      allow_merchant_descriptor_override == o.allow_merchant_descriptor_override &&
      enhanced_data == o.enhanced_data &&
      fire_safety_indicator == o.fire_safety_indicator &&
      quasi_cash == o.quasi_cash &&
      acquirer_merchant_id == o.acquirer_merchant_id &&
      avs_format == o.avs_format &&
      enable_long_trans_ref_no == o.enable_long_trans_ref_no &&
      enable_level2 == o.enable_level2 &&
      enable_multiple_transaction_advice_addendum == o.enable_multiple_transaction_advice_addendum &&
      amex_transaction_advice_addendum1 == o.amex_transaction_advice_addendum1 &&
      enable_multi_line_items == o.enable_multi_line_items &&
      enable_transaction_reference_number == o.enable_transaction_reference_number &&
      enable_auto_auth_reversal_after_void == o.enable_auto_auth_reversal_after_void &&
      enable_expresspay_pan_translation == o.enable_expresspay_pan_translation &&
      enable_credit_auth == o.enable_credit_auth &&
      industry_code == o.industry_code &&
      send_amex_level2_data == o.send_amex_level2_data &&
      soft_descriptor_type == o.soft_descriptor_type &&
      vital_number == o.vital_number &&
      bank_number == o.bank_number &&
      chain_number == o.chain_number &&
      merchant_bin_number == o.merchant_bin_number &&
      merchant_location_number == o.merchant_location_number &&
      store_id == o.store_id &&
      travel_agency_code == o.travel_agency_code &&
      travel_agency_name == o.travel_agency_name &&
      settlement_currency == o.settlement_currency &&
      enable_least_cost_routing == o.enable_least_cost_routing &&
      enable_cvv_response_indicator == o.enable_cvv_response_indicator &&
      enable_multi_currency_processing == o.enable_multi_currency_processing &&
      enable_pos_network_switching == o.enable_pos_network_switching &&
      enable_dynamic_currency_conversion == o.enable_dynamic_currency_conversion &&
      merchant_tier == o.merchant_tier
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



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
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 641

def _deserialize(type, value)
  case type.to_sym
  when :DateTime
    DateTime.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :BOOLEAN
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    temp_model = CyberSource.const_get(type).new
    temp_model.build_from_hash(value)
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



707
708
709
710
711
712
713
714
715
716
717
718
719
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 707

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 620

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.swagger_types.each_pair do |key, type|
    if type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


607
608
609
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 607

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



613
614
615
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 613

def hash
  [batch_group, business_application_id, merchant_verification_value, aba_number, acquirer, merchant_id, terminal_id, payment_types, currencies, sic_code, allow_multiple_bills, allow_merchant_descriptor_override, enhanced_data, fire_safety_indicator, quasi_cash, acquirer_merchant_id, avs_format, enable_long_trans_ref_no, enable_level2, enable_multiple_transaction_advice_addendum, amex_transaction_advice_addendum1, enable_multi_line_items, enable_transaction_reference_number, enable_auto_auth_reversal_after_void, enable_expresspay_pan_translation, enable_credit_auth, industry_code, send_amex_level2_data, soft_descriptor_type, vital_number, bank_number, chain_number, merchant_bin_number, merchant_location_number, store_id, travel_agency_code, travel_agency_name, settlement_currency, enable_least_cost_routing, enable_cvv_response_indicator, enable_multi_currency_processing, enable_pos_network_switching, enable_dynamic_currency_conversion, merchant_tier].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



511
512
513
514
515
516
517
518
519
520
521
522
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 511

def list_invalid_properties
  invalid_properties = Array.new
  if @merchant_id.nil?
    invalid_properties.push('invalid value for "merchant_id", merchant_id cannot be nil.')
  end

  #if !@merchant_tier.nil? && @merchant_tier !~ Regexp.new(/^[0-9]+$/)
    #invalid_properties.push('invalid value for "merchant_tier", must conform to the pattern /^[0-9]+$/.')
  #end

  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



687
688
689
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 687

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



693
694
695
696
697
698
699
700
701
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 693

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



681
682
683
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 681

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



526
527
528
529
530
531
532
# File 'lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb', line 526

def valid?
  return false if @merchant_id.nil?
  industry_code_validator = EnumAttributeValidator.new('String', ['0', 'A', 'B', 'D', 'F', 'G', 'H', 'L', 'O', 'P', 'R'])
  return false unless industry_code_validator.valid?(@industry_code)
  #return false if !@merchant_tier.nil? && @merchant_tier !~ Regexp.new(/^[0-9]+$/)
  true
end