Class: CyberSource::CardProcessingConfigCommonProcessors

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ CardProcessingConfigCommonProcessors

Initializes the object

Parameters:

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

    Model attributes in the form of hash



317
318
319
320
321
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
508
509
510
511
512
513
514
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 317

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?(:'visaAggregatorId')
    self.visa_aggregator_id = attributes[:'visaAggregatorId']
  end

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

  if attributes.has_key?(:'masterCardAggregatorId')
    self.master_card_aggregator_id = attributes[:'masterCardAggregatorId']
  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.



26
27
28
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 26

def aba_number
  @aba_number
end

#acquirerObject

Returns the value of attribute acquirer.



28
29
30
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 28

def acquirer
  @acquirer
end

#acquirer_merchant_idObject

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



70
71
72
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 70

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.



58
59
60
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 58

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>



55
56
57
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 55

def allow_multiple_bills
  @allow_multiple_bills
end

#amex_aggregator_idObject

This field is used as aggregator Id when Amex payment type is selected



46
47
48
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 46

def amex_aggregator_id
  @amex_aggregator_id
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>



85
86
87
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 85

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>



73
74
75
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 73

def avs_format
  @avs_format
end

#bank_numberObject

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



115
116
117
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 115

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>



17
18
19
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 17

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.



20
21
22
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 20

def business_application_id
  @business_application_id
end

#chain_numberObject

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



118
119
120
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 118

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)



40
41
42
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 40

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>



94
95
96
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 94

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.



100
101
102
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 100

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.



142
143
144
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 142

def enable_cvv_response_indicator
  @enable_cvv_response_indicator
end

#enable_dynamic_currency_conversionObject

Enable dynamic currency conversion for a merchant.



151
152
153
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 151

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.



97
98
99
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 97

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.



139
140
141
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 139

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>



79
80
81
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 79

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>



76
77
78
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 76

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>



145
146
147
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 145

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>



88
89
90
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 88

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>



82
83
84
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 82

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.



148
149
150
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 148

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.



91
92
93
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 91

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>



61
62
63
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 61

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.



64
65
66
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 64

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. Possible values: - 0 - A - B - D - F - G - H - L - O - P - R



103
104
105
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 103

def industry_code
  @industry_code
end

#master_card_aggregator_idObject

This field is used as aggregator Id when Master Card payment type is selected



49
50
51
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 49

def master_card_aggregator_id
  @master_card_aggregator_id
end

#merchant_bin_numberObject

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



121
122
123
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 121

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>



31
32
33
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 31

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.



124
125
126
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 124

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.



154
155
156
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 154

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.



23
24
25
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 23

def merchant_verification_value
  @merchant_verification_value
end

#payment_typesObject

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



37
38
39
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 37

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>



67
68
69
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 67

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.



106
107
108
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 106

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.



136
137
138
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 136

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.



52
53
54
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 52

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.



109
110
111
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 109

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.



127
128
129
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 127

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>



34
35
36
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 34

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.



130
131
132
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 130

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.



133
134
135
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 133

def travel_agency_name
  @travel_agency_name
end

#visa_aggregator_idObject

This field is used as aggregator Id when Visa payment type is selected



43
44
45
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 43

def visa_aggregator_id
  @visa_aggregator_id
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.



112
113
114
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 112

def vital_number
  @vital_number
end

Class Method Details

.attribute_mapObject

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



157
158
159
160
161
162
163
164
165
166
167
168
169
170
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
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 157

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',
    :'visa_aggregator_id' => :'visaAggregatorId',
    :'amex_aggregator_id' => :'amexAggregatorId',
    :'master_card_aggregator_id' => :'masterCardAggregatorId',
    :'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.



210
211
212
213
214
215
216
217
218
219
220
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
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 210

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',
    :'visa_aggregator_id' => :'visa_aggregator_id',
    :'amex_aggregator_id' => :'amex_aggregator_id',
    :'master_card_aggregator_id' => :'master_card_aggregator_id',
    :'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.



263
264
265
266
267
268
269
270
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
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 263

def self.swagger_types
  {
    :'batch_group' => :'String',
    :'business_application_id' => :'String',
    :'merchant_verification_value' => :'String',
    :'aba_number' => :'String',
    :'acquirer' => :'CardProcessingConfigCommonAcquirer',
    :'merchant_id' => :'String',
    :'terminal_id' => :'String',
    :'payment_types' => :'Hash<String, CardProcessingConfigCommonPaymentTypes>',
    :'currencies' => :'Hash<String, CardProcessingConfigCommonCurrencies1>',
    :'visa_aggregator_id' => :'String',
    :'amex_aggregator_id' => :'String',
    :'master_card_aggregator_id' => :'String',
    :'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



551
552
553
554
555
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
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 551

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 &&
      visa_aggregator_id == o.visa_aggregator_id &&
      amex_aggregator_id == o.amex_aggregator_id &&
      master_card_aggregator_id == o.master_card_aggregator_id &&
      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



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

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



705
706
707
708
709
710
711
712
713
714
715
716
717
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 705

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



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

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


605
606
607
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 605

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



611
612
613
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 611

def hash
  [batch_group, business_application_id, merchant_verification_value, aba_number, acquirer, merchant_id, terminal_id, payment_types, currencies, visa_aggregator_id, amex_aggregator_id, master_card_aggregator_id, 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



518
519
520
521
522
523
524
525
526
527
528
529
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 518

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



685
686
687
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 685

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



691
692
693
694
695
696
697
698
699
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 691

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



679
680
681
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 679

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



533
534
535
536
537
# File 'lib/cybersource_rest_client/models/card_processing_config_common_processors.rb', line 533

def valid?
  return false if @merchant_id.nil?
  #return false if !@merchant_tier.nil? && @merchant_tier !~ Regexp.new(/^[0-9]+$/)
  true
end