Class: CyberSource::ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails
- Inherits:
-
Object
- Object
- CyberSource::ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails
- Defined in:
- lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#account_suffix ⇒ Object
Returns the value of attribute account_suffix.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#application_name ⇒ Object
Returns the value of attribute application_name.
-
#auth_code ⇒ Object
Returns the value of attribute auth_code.
-
#batch_time ⇒ Object
Returns the value of attribute batch_time.
-
#billback_amount ⇒ Object
Returns the value of attribute billback_amount.
-
#billback_reason_code ⇒ Object
Returns the value of attribute billback_reason_code.
-
#billback_reason_description ⇒ Object
Returns the value of attribute billback_reason_description.
-
#card_indicator ⇒ Object
Returns the value of attribute card_indicator.
-
#cleared_level ⇒ Object
Returns the value of attribute cleared_level.
-
#clearing_rate_amount_one ⇒ Object
Returns the value of attribute clearing_rate_amount_one.
-
#clearing_rate_amount_three ⇒ Object
Returns the value of attribute clearing_rate_amount_three.
-
#clearing_rate_amount_two ⇒ Object
Returns the value of attribute clearing_rate_amount_two.
-
#clearing_rate_currency_code ⇒ Object
Valid ISO 4217 ALPHA-3 currency code.
-
#conversion_rate ⇒ Object
Returns the value of attribute conversion_rate.
-
#credit_delta_indicator ⇒ Object
Returns the value of attribute credit_delta_indicator.
-
#currency_code ⇒ Object
Valid ISO 4217 ALPHA-3 currency code.
-
#delta_cost ⇒ Object
Returns the value of attribute delta_cost.
-
#discount_amount ⇒ Object
Returns the value of attribute discount_amount.
-
#discount_rate ⇒ Object
Returns the value of attribute discount_rate.
-
#downgrade_reason_code ⇒ Object
Returns the value of attribute downgrade_reason_code.
-
#fee_category ⇒ Object
Returns the value of attribute fee_category.
-
#interchange_amount ⇒ Object
Returns the value of attribute interchange_amount.
-
#merchant_batch_number ⇒ Object
Returns the value of attribute merchant_batch_number.
-
#merchant_priced_level ⇒ Object
Returns the value of attribute merchant_priced_level.
-
#merchant_reference_number ⇒ Object
Returns the value of attribute merchant_reference_number.
-
#minimum_unit ⇒ Object
Returns the value of attribute minimum_unit.
-
#minimum_unit_currency_code ⇒ Object
Valid ISO 4217 ALPHA-3 currency code.
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
-
#payment_sub_type ⇒ Object
Returns the value of attribute payment_sub_type.
-
#payment_sub_type_description ⇒ Object
Returns the value of attribute payment_sub_type_description.
-
#per_transaction_charged ⇒ Object
Returns the value of attribute per_transaction_charged.
-
#percent_rate_charged ⇒ Object
Returns the value of attribute percent_rate_charged.
-
#price_amount_one ⇒ Object
Returns the value of attribute price_amount_one.
-
#price_amount_two ⇒ Object
Returns the value of attribute price_amount_two.
-
#price_type ⇒ Object
Returns the value of attribute price_type.
-
#process_time ⇒ Object
Returns the value of attribute process_time.
-
#processed_time ⇒ Object
Returns the value of attribute processed_time.
-
#processor_batch_number ⇒ Object
Returns the value of attribute processor_batch_number.
-
#processor_merchant_id ⇒ Object
Returns the value of attribute processor_merchant_id.
-
#re_class ⇒ Object
Returns the value of attribute re_class.
-
#request_id ⇒ Object
Returns the value of attribute request_id.
-
#settlement_amount ⇒ Object
Returns the value of attribute settlement_amount.
-
#settlement_currency_code ⇒ Object
Valid ISO 4217 ALPHA-3 currency code.
-
#settlement_processor ⇒ Object
Returns the value of attribute settlement_processor.
-
#settlement_time ⇒ Object
Returns the value of attribute settlement_time.
-
#surcharge_amount ⇒ Object
Returns the value of attribute surcharge_amount.
-
#transaction_reference_number ⇒ Object
Returns the value of attribute transaction_reference_number.
-
#transaction_time ⇒ Object
Returns the value of attribute transaction_time.
-
#transaction_type ⇒ Object
Returns the value of attribute transaction_type.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.json_map ⇒ Object
Attribute mapping from JSON key to ruby-style variable name.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails
Initializes the object
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 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 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 295 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?(:'requestId') self.request_id = attributes[:'requestId'] end if attributes.has_key?(:'organizationId') self.organization_id = attributes[:'organizationId'] end if attributes.has_key?(:'accountId') self.account_id = attributes[:'accountId'] end if attributes.has_key?(:'processorMerchantId') self.processor_merchant_id = attributes[:'processorMerchantId'] end if attributes.has_key?(:'transactionReferenceNumber') self.transaction_reference_number = attributes[:'transactionReferenceNumber'] end if attributes.has_key?(:'merchantReferenceNumber') self.merchant_reference_number = attributes[:'merchantReferenceNumber'] end if attributes.has_key?(:'accountSuffix') self.account_suffix = attributes[:'accountSuffix'] end if attributes.has_key?(:'paymentSubType') self.payment_sub_type = attributes[:'paymentSubType'] end if attributes.has_key?(:'paymentSubTypeDescription') self.payment_sub_type_description = attributes[:'paymentSubTypeDescription'] end if attributes.has_key?(:'transactionTime') self.transaction_time = attributes[:'transactionTime'] end if attributes.has_key?(:'processedTime') self.processed_time = attributes[:'processedTime'] end if attributes.has_key?(:'transactionType') self.transaction_type = attributes[:'transactionType'] end if attributes.has_key?(:'amount') self.amount = attributes[:'amount'] end if attributes.has_key?(:'currencyCode') self.currency_code = attributes[:'currencyCode'] end if attributes.has_key?(:'priceType') self.price_type = attributes[:'priceType'] end if attributes.has_key?(:'priceAmountOne') self.price_amount_one = attributes[:'priceAmountOne'] end if attributes.has_key?(:'priceAmountTwo') self.price_amount_two = attributes[:'priceAmountTwo'] end if attributes.has_key?(:'reClass') self.re_class = attributes[:'reClass'] end if attributes.has_key?(:'settlementTime') self.settlement_time = attributes[:'settlementTime'] end if attributes.has_key?(:'settlementProcessor') self.settlement_processor = attributes[:'settlementProcessor'] end if attributes.has_key?(:'merchantBatchNumber') self.merchant_batch_number = attributes[:'merchantBatchNumber'] end if attributes.has_key?(:'clearedLevel') self.cleared_level = attributes[:'clearedLevel'] end if attributes.has_key?(:'billbackReasonCode') self.billback_reason_code = attributes[:'billbackReasonCode'] end if attributes.has_key?(:'billbackReasonDescription') self.billback_reason_description = attributes[:'billbackReasonDescription'] end if attributes.has_key?(:'merchantPricedLevel') self.merchant_priced_level = attributes[:'merchantPricedLevel'] end if attributes.has_key?(:'discountRate') self.discount_rate = attributes[:'discountRate'] end if attributes.has_key?(:'discountAmount') self.discount_amount = attributes[:'discountAmount'] end if attributes.has_key?(:'clearingRateAmountOne') self.clearing_rate_amount_one = attributes[:'clearingRateAmountOne'] end if attributes.has_key?(:'clearingRateAmountTwo') self.clearing_rate_amount_two = attributes[:'clearingRateAmountTwo'] end if attributes.has_key?(:'clearingRateAmountThree') self.clearing_rate_amount_three = attributes[:'clearingRateAmountThree'] end if attributes.has_key?(:'clearingRateCurrencyCode') self.clearing_rate_currency_code = attributes[:'clearingRateCurrencyCode'] end if attributes.has_key?(:'interchangeAmount') self.interchange_amount = attributes[:'interchangeAmount'] end if attributes.has_key?(:'billbackAmount') self.billback_amount = attributes[:'billbackAmount'] end if attributes.has_key?(:'settlementAmount') self.settlement_amount = attributes[:'settlementAmount'] end if attributes.has_key?(:'settlementCurrencyCode') self.settlement_currency_code = attributes[:'settlementCurrencyCode'] end if attributes.has_key?(:'conversionRate') self.conversion_rate = attributes[:'conversionRate'] end if attributes.has_key?(:'deltaCost') self.delta_cost = attributes[:'deltaCost'] end if attributes.has_key?(:'surchargeAmount') self.surcharge_amount = attributes[:'surchargeAmount'] end if attributes.has_key?(:'percentRateCharged') self.percent_rate_charged = attributes[:'percentRateCharged'] end if attributes.has_key?(:'perTransactionCharged') self.per_transaction_charged = attributes[:'perTransactionCharged'] end if attributes.has_key?(:'downgradeReasonCode') self.downgrade_reason_code = attributes[:'downgradeReasonCode'] end if attributes.has_key?(:'processTime') self.process_time = attributes[:'processTime'] end if attributes.has_key?(:'authCode') self.auth_code = attributes[:'authCode'] end if attributes.has_key?(:'batchTime') self.batch_time = attributes[:'batchTime'] end if attributes.has_key?(:'processorBatchNumber') self.processor_batch_number = attributes[:'processorBatchNumber'] end if attributes.has_key?(:'cardIndicator') self.card_indicator = attributes[:'cardIndicator'] end if attributes.has_key?(:'minimumUnit') self.minimum_unit = attributes[:'minimumUnit'] end if attributes.has_key?(:'minimumUnitCurrencyCode') self.minimum_unit_currency_code = attributes[:'minimumUnitCurrencyCode'] end if attributes.has_key?(:'creditDeltaIndicator') self.credit_delta_indicator = attributes[:'creditDeltaIndicator'] end if attributes.has_key?(:'feeCategory') self.fee_category = attributes[:'feeCategory'] end if attributes.has_key?(:'applicationName') self.application_name = attributes[:'applicationName'] end end |
Instance Attribute Details
#account_id ⇒ Object
Returns the value of attribute account_id.
20 21 22 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 20 def account_id @account_id end |
#account_suffix ⇒ Object
Returns the value of attribute account_suffix.
28 29 30 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 28 def account_suffix @account_suffix end |
#amount ⇒ Object
Returns the value of attribute amount.
40 41 42 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 40 def amount @amount end |
#application_name ⇒ Object
Returns the value of attribute application_name.
120 121 122 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 120 def application_name @application_name end |
#auth_code ⇒ Object
Returns the value of attribute auth_code.
103 104 105 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 103 def auth_code @auth_code end |
#batch_time ⇒ Object
Returns the value of attribute batch_time.
105 106 107 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 105 def batch_time @batch_time end |
#billback_amount ⇒ Object
Returns the value of attribute billback_amount.
82 83 84 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 82 def billback_amount @billback_amount end |
#billback_reason_code ⇒ Object
Returns the value of attribute billback_reason_code.
61 62 63 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 61 def billback_reason_code @billback_reason_code end |
#billback_reason_description ⇒ Object
Returns the value of attribute billback_reason_description.
63 64 65 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 63 def billback_reason_description @billback_reason_description end |
#card_indicator ⇒ Object
Returns the value of attribute card_indicator.
109 110 111 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 109 def card_indicator @card_indicator end |
#cleared_level ⇒ Object
Returns the value of attribute cleared_level.
59 60 61 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 59 def cleared_level @cleared_level end |
#clearing_rate_amount_one ⇒ Object
Returns the value of attribute clearing_rate_amount_one.
71 72 73 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 71 def clearing_rate_amount_one @clearing_rate_amount_one end |
#clearing_rate_amount_three ⇒ Object
Returns the value of attribute clearing_rate_amount_three.
75 76 77 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 75 def clearing_rate_amount_three @clearing_rate_amount_three end |
#clearing_rate_amount_two ⇒ Object
Returns the value of attribute clearing_rate_amount_two.
73 74 75 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 73 def clearing_rate_amount_two @clearing_rate_amount_two end |
#clearing_rate_currency_code ⇒ Object
Valid ISO 4217 ALPHA-3 currency code
78 79 80 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 78 def clearing_rate_currency_code @clearing_rate_currency_code end |
#conversion_rate ⇒ Object
Returns the value of attribute conversion_rate.
89 90 91 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 89 def conversion_rate @conversion_rate end |
#credit_delta_indicator ⇒ Object
Returns the value of attribute credit_delta_indicator.
116 117 118 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 116 def credit_delta_indicator @credit_delta_indicator end |
#currency_code ⇒ Object
Valid ISO 4217 ALPHA-3 currency code
43 44 45 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 43 def currency_code @currency_code end |
#delta_cost ⇒ Object
Returns the value of attribute delta_cost.
91 92 93 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 91 def delta_cost @delta_cost end |
#discount_amount ⇒ Object
Returns the value of attribute discount_amount.
69 70 71 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 69 def discount_amount @discount_amount end |
#discount_rate ⇒ Object
Returns the value of attribute discount_rate.
67 68 69 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 67 def discount_rate @discount_rate end |
#downgrade_reason_code ⇒ Object
Returns the value of attribute downgrade_reason_code.
99 100 101 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 99 def downgrade_reason_code @downgrade_reason_code end |
#fee_category ⇒ Object
Returns the value of attribute fee_category.
118 119 120 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 118 def fee_category @fee_category end |
#interchange_amount ⇒ Object
Returns the value of attribute interchange_amount.
80 81 82 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 80 def interchange_amount @interchange_amount end |
#merchant_batch_number ⇒ Object
Returns the value of attribute merchant_batch_number.
57 58 59 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 57 def merchant_batch_number @merchant_batch_number end |
#merchant_priced_level ⇒ Object
Returns the value of attribute merchant_priced_level.
65 66 67 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 65 def merchant_priced_level @merchant_priced_level end |
#merchant_reference_number ⇒ Object
Returns the value of attribute merchant_reference_number.
26 27 28 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 26 def merchant_reference_number @merchant_reference_number end |
#minimum_unit ⇒ Object
Returns the value of attribute minimum_unit.
111 112 113 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 111 def minimum_unit @minimum_unit end |
#minimum_unit_currency_code ⇒ Object
Valid ISO 4217 ALPHA-3 currency code
114 115 116 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 114 def minimum_unit_currency_code @minimum_unit_currency_code end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
18 19 20 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 18 def organization_id @organization_id end |
#payment_sub_type ⇒ Object
Returns the value of attribute payment_sub_type.
30 31 32 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 30 def payment_sub_type @payment_sub_type end |
#payment_sub_type_description ⇒ Object
Returns the value of attribute payment_sub_type_description.
32 33 34 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 32 def payment_sub_type_description @payment_sub_type_description end |
#per_transaction_charged ⇒ Object
Returns the value of attribute per_transaction_charged.
97 98 99 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 97 def per_transaction_charged @per_transaction_charged end |
#percent_rate_charged ⇒ Object
Returns the value of attribute percent_rate_charged.
95 96 97 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 95 def percent_rate_charged @percent_rate_charged end |
#price_amount_one ⇒ Object
Returns the value of attribute price_amount_one.
47 48 49 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 47 def price_amount_one @price_amount_one end |
#price_amount_two ⇒ Object
Returns the value of attribute price_amount_two.
49 50 51 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 49 def price_amount_two @price_amount_two end |
#price_type ⇒ Object
Returns the value of attribute price_type.
45 46 47 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 45 def price_type @price_type end |
#process_time ⇒ Object
Returns the value of attribute process_time.
101 102 103 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 101 def process_time @process_time end |
#processed_time ⇒ Object
Returns the value of attribute processed_time.
36 37 38 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 36 def processed_time @processed_time end |
#processor_batch_number ⇒ Object
Returns the value of attribute processor_batch_number.
107 108 109 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 107 def processor_batch_number @processor_batch_number end |
#processor_merchant_id ⇒ Object
Returns the value of attribute processor_merchant_id.
22 23 24 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 22 def processor_merchant_id @processor_merchant_id end |
#re_class ⇒ Object
Returns the value of attribute re_class.
51 52 53 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 51 def re_class @re_class end |
#request_id ⇒ Object
Returns the value of attribute request_id.
16 17 18 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 16 def request_id @request_id end |
#settlement_amount ⇒ Object
Returns the value of attribute settlement_amount.
84 85 86 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 84 def settlement_amount @settlement_amount end |
#settlement_currency_code ⇒ Object
Valid ISO 4217 ALPHA-3 currency code
87 88 89 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 87 def settlement_currency_code @settlement_currency_code end |
#settlement_processor ⇒ Object
Returns the value of attribute settlement_processor.
55 56 57 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 55 def settlement_processor @settlement_processor end |
#settlement_time ⇒ Object
Returns the value of attribute settlement_time.
53 54 55 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 53 def settlement_time @settlement_time end |
#surcharge_amount ⇒ Object
Returns the value of attribute surcharge_amount.
93 94 95 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 93 def surcharge_amount @surcharge_amount end |
#transaction_reference_number ⇒ Object
Returns the value of attribute transaction_reference_number.
24 25 26 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 24 def transaction_reference_number @transaction_reference_number end |
#transaction_time ⇒ Object
Returns the value of attribute transaction_time.
34 35 36 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 34 def transaction_time @transaction_time end |
#transaction_type ⇒ Object
Returns the value of attribute transaction_type.
38 39 40 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 38 def transaction_type @transaction_type end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 123 def self.attribute_map { :'request_id' => :'requestId', :'organization_id' => :'organizationId', :'account_id' => :'accountId', :'processor_merchant_id' => :'processorMerchantId', :'transaction_reference_number' => :'transactionReferenceNumber', :'merchant_reference_number' => :'merchantReferenceNumber', :'account_suffix' => :'accountSuffix', :'payment_sub_type' => :'paymentSubType', :'payment_sub_type_description' => :'paymentSubTypeDescription', :'transaction_time' => :'transactionTime', :'processed_time' => :'processedTime', :'transaction_type' => :'transactionType', :'amount' => :'amount', :'currency_code' => :'currencyCode', :'price_type' => :'priceType', :'price_amount_one' => :'priceAmountOne', :'price_amount_two' => :'priceAmountTwo', :'re_class' => :'reClass', :'settlement_time' => :'settlementTime', :'settlement_processor' => :'settlementProcessor', :'merchant_batch_number' => :'merchantBatchNumber', :'cleared_level' => :'clearedLevel', :'billback_reason_code' => :'billbackReasonCode', :'billback_reason_description' => :'billbackReasonDescription', :'merchant_priced_level' => :'merchantPricedLevel', :'discount_rate' => :'discountRate', :'discount_amount' => :'discountAmount', :'clearing_rate_amount_one' => :'clearingRateAmountOne', :'clearing_rate_amount_two' => :'clearingRateAmountTwo', :'clearing_rate_amount_three' => :'clearingRateAmountThree', :'clearing_rate_currency_code' => :'clearingRateCurrencyCode', :'interchange_amount' => :'interchangeAmount', :'billback_amount' => :'billbackAmount', :'settlement_amount' => :'settlementAmount', :'settlement_currency_code' => :'settlementCurrencyCode', :'conversion_rate' => :'conversionRate', :'delta_cost' => :'deltaCost', :'surcharge_amount' => :'surchargeAmount', :'percent_rate_charged' => :'percentRateCharged', :'per_transaction_charged' => :'perTransactionCharged', :'downgrade_reason_code' => :'downgradeReasonCode', :'process_time' => :'processTime', :'auth_code' => :'authCode', :'batch_time' => :'batchTime', :'processor_batch_number' => :'processorBatchNumber', :'card_indicator' => :'cardIndicator', :'minimum_unit' => :'minimumUnit', :'minimum_unit_currency_code' => :'minimumUnitCurrencyCode', :'credit_delta_indicator' => :'creditDeltaIndicator', :'fee_category' => :'feeCategory', :'application_name' => :'applicationName' } end |
.json_map ⇒ Object
Attribute mapping from JSON key to ruby-style variable name.
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 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 180 def self.json_map { :'request_id' => :'request_id', :'organization_id' => :'organization_id', :'account_id' => :'account_id', :'processor_merchant_id' => :'processor_merchant_id', :'transaction_reference_number' => :'transaction_reference_number', :'merchant_reference_number' => :'merchant_reference_number', :'account_suffix' => :'account_suffix', :'payment_sub_type' => :'payment_sub_type', :'payment_sub_type_description' => :'payment_sub_type_description', :'transaction_time' => :'transaction_time', :'processed_time' => :'processed_time', :'transaction_type' => :'transaction_type', :'amount' => :'amount', :'currency_code' => :'currency_code', :'price_type' => :'price_type', :'price_amount_one' => :'price_amount_one', :'price_amount_two' => :'price_amount_two', :'re_class' => :'re_class', :'settlement_time' => :'settlement_time', :'settlement_processor' => :'settlement_processor', :'merchant_batch_number' => :'merchant_batch_number', :'cleared_level' => :'cleared_level', :'billback_reason_code' => :'billback_reason_code', :'billback_reason_description' => :'billback_reason_description', :'merchant_priced_level' => :'merchant_priced_level', :'discount_rate' => :'discount_rate', :'discount_amount' => :'discount_amount', :'clearing_rate_amount_one' => :'clearing_rate_amount_one', :'clearing_rate_amount_two' => :'clearing_rate_amount_two', :'clearing_rate_amount_three' => :'clearing_rate_amount_three', :'clearing_rate_currency_code' => :'clearing_rate_currency_code', :'interchange_amount' => :'interchange_amount', :'billback_amount' => :'billback_amount', :'settlement_amount' => :'settlement_amount', :'settlement_currency_code' => :'settlement_currency_code', :'conversion_rate' => :'conversion_rate', :'delta_cost' => :'delta_cost', :'surcharge_amount' => :'surcharge_amount', :'percent_rate_charged' => :'percent_rate_charged', :'per_transaction_charged' => :'per_transaction_charged', :'downgrade_reason_code' => :'downgrade_reason_code', :'process_time' => :'process_time', :'auth_code' => :'auth_code', :'batch_time' => :'batch_time', :'processor_batch_number' => :'processor_batch_number', :'card_indicator' => :'card_indicator', :'minimum_unit' => :'minimum_unit', :'minimum_unit_currency_code' => :'minimum_unit_currency_code', :'credit_delta_indicator' => :'credit_delta_indicator', :'fee_category' => :'fee_category', :'application_name' => :'application_name' } end |
.swagger_types ⇒ Object
Attribute type mapping.
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 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 237 def self.swagger_types { :'request_id' => :'String', :'organization_id' => :'String', :'account_id' => :'String', :'processor_merchant_id' => :'String', :'transaction_reference_number' => :'String', :'merchant_reference_number' => :'String', :'account_suffix' => :'String', :'payment_sub_type' => :'String', :'payment_sub_type_description' => :'String', :'transaction_time' => :'DateTime', :'processed_time' => :'DateTime', :'transaction_type' => :'String', :'amount' => :'String', :'currency_code' => :'String', :'price_type' => :'String', :'price_amount_one' => :'String', :'price_amount_two' => :'String', :'re_class' => :'String', :'settlement_time' => :'DateTime', :'settlement_processor' => :'String', :'merchant_batch_number' => :'String', :'cleared_level' => :'String', :'billback_reason_code' => :'String', :'billback_reason_description' => :'String', :'merchant_priced_level' => :'String', :'discount_rate' => :'String', :'discount_amount' => :'String', :'clearing_rate_amount_one' => :'String', :'clearing_rate_amount_two' => :'String', :'clearing_rate_amount_three' => :'String', :'clearing_rate_currency_code' => :'String', :'interchange_amount' => :'String', :'billback_amount' => :'String', :'settlement_amount' => :'String', :'settlement_currency_code' => :'String', :'conversion_rate' => :'String', :'delta_cost' => :'String', :'surcharge_amount' => :'String', :'percent_rate_charged' => :'String', :'per_transaction_charged' => :'String', :'downgrade_reason_code' => :'String', :'process_time' => :'DateTime', :'auth_code' => :'String', :'batch_time' => :'DateTime', :'processor_batch_number' => :'String', :'card_indicator' => :'String', :'minimum_unit' => :'Integer', :'minimum_unit_currency_code' => :'String', :'credit_delta_indicator' => :'String', :'fee_category' => :'String', :'application_name' => :'String' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 521 def ==(o) return true if self.equal?(o) self.class == o.class && request_id == o.request_id && organization_id == o.organization_id && account_id == o.account_id && processor_merchant_id == o.processor_merchant_id && transaction_reference_number == o.transaction_reference_number && merchant_reference_number == o.merchant_reference_number && account_suffix == o.account_suffix && payment_sub_type == o.payment_sub_type && payment_sub_type_description == o.payment_sub_type_description && transaction_time == o.transaction_time && processed_time == o.processed_time && transaction_type == o.transaction_type && amount == o.amount && currency_code == o.currency_code && price_type == o.price_type && price_amount_one == o.price_amount_one && price_amount_two == o.price_amount_two && re_class == o.re_class && settlement_time == o.settlement_time && settlement_processor == o.settlement_processor && merchant_batch_number == o.merchant_batch_number && cleared_level == o.cleared_level && billback_reason_code == o.billback_reason_code && billback_reason_description == o.billback_reason_description && merchant_priced_level == o.merchant_priced_level && discount_rate == o.discount_rate && discount_amount == o.discount_amount && clearing_rate_amount_one == o.clearing_rate_amount_one && clearing_rate_amount_two == o.clearing_rate_amount_two && clearing_rate_amount_three == o.clearing_rate_amount_three && clearing_rate_currency_code == o.clearing_rate_currency_code && interchange_amount == o.interchange_amount && billback_amount == o.billback_amount && settlement_amount == o.settlement_amount && settlement_currency_code == o.settlement_currency_code && conversion_rate == o.conversion_rate && delta_cost == o.delta_cost && surcharge_amount == o.surcharge_amount && percent_rate_charged == o.percent_rate_charged && per_transaction_charged == o.per_transaction_charged && downgrade_reason_code == o.downgrade_reason_code && process_time == o.process_time && auth_code == o.auth_code && batch_time == o.batch_time && processor_batch_number == o.processor_batch_number && card_indicator == o.card_indicator && minimum_unit == o.minimum_unit && minimum_unit_currency_code == o.minimum_unit_currency_code && credit_delta_indicator == o.credit_delta_indicator && fee_category == o.fee_category && application_name == o.application_name end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 613 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
679 680 681 682 683 684 685 686 687 688 689 690 691 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 679 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
592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 592 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
579 580 581 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 579 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
585 586 587 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 585 def hash [request_id, organization_id, account_id, processor_merchant_id, transaction_reference_number, merchant_reference_number, account_suffix, payment_sub_type, payment_sub_type_description, transaction_time, processed_time, transaction_type, amount, currency_code, price_type, price_amount_one, price_amount_two, re_class, settlement_time, settlement_processor, merchant_batch_number, cleared_level, billback_reason_code, billback_reason_description, merchant_priced_level, discount_rate, discount_amount, clearing_rate_amount_one, clearing_rate_amount_two, clearing_rate_amount_three, clearing_rate_currency_code, interchange_amount, billback_amount, settlement_amount, settlement_currency_code, conversion_rate, delta_cost, surcharge_amount, percent_rate_charged, per_transaction_charged, downgrade_reason_code, process_time, auth_code, batch_time, processor_batch_number, card_indicator, minimum_unit, minimum_unit_currency_code, credit_delta_indicator, fee_category, application_name].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
508 509 510 511 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 508 def list_invalid_properties invalid_properties = Array.new invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
659 660 661 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 659 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
665 666 667 668 669 670 671 672 673 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 665 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_s ⇒ String
Returns the string representation of the object
653 654 655 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 653 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
515 516 517 |
# File 'lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb', line 515 def valid? true end |