wallee-ruby-sdk 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0bb94110ebf7a605f702d72673a7daa72e4683ad232aaa855d05890326377b9
4
- data.tar.gz: 092f571d6430e83ec71d970ad5c8b1a353507b36dfecb7aaddaef2cb2518e67b
3
+ metadata.gz: 6c9171041d3db472f66c96c5845680dd46de8470f0c0378be6c6bee737f75064
4
+ data.tar.gz: e79fdd2f16f31290544bd07f0fd143e461e1c910775693751e56639abb413a10
5
5
  SHA512:
6
- metadata.gz: 75e84cb96ade60f4e477fdb36d845ffa9252205b5b979445e8e1b281811f75fe23b459af90ef0633f0fb1ad0b6e908a3751e4ec0f584cc9488c3e1f646776b70
7
- data.tar.gz: 6e62fa0350d5878d54714440a5fd2d45f08c95ea7a4c55df24aeea58c0c2b74bd8a713fcfab12426499d73262cb87b68bb7fc12d30ba65e052397cc8419ec73f
6
+ metadata.gz: 01786f87b6a17fcc769736e3ebf7faed93dba8db269f1cc804d99487e2bc4674ce9c52a55c43dcbb5145c398279b99ed22821e2ce1461c12168f2be640d8ec13
7
+ data.tar.gz: acd9e7b8f5be7ed26a4c36d7e605de3415f68521f1890b02ee3548e972a040e95d04f03b32b145c08973851211cba6a98f433ad0b8f585dac78bfb2c350c1f16
@@ -39,6 +39,9 @@ module Wallee
39
39
  #
40
40
  attr_accessor :authorization_amount
41
41
 
42
+ # The environment in which this transaction was successfully authorized.
43
+ attr_accessor :authorization_environment
44
+
42
45
  # This is the time on which the transaction will be timed out when it is not at least authorized. The timeout time may change over time.
43
46
  attr_accessor :authorization_timeout_on
44
47
 
@@ -195,6 +198,7 @@ module Wallee
195
198
  :'allowed_payment_method_brands' => :'allowedPaymentMethodBrands',
196
199
  :'allowed_payment_method_configurations' => :'allowedPaymentMethodConfigurations',
197
200
  :'authorization_amount' => :'authorizationAmount',
201
+ :'authorization_environment' => :'authorizationEnvironment',
198
202
  :'authorization_timeout_on' => :'authorizationTimeoutOn',
199
203
  :'authorized_on' => :'authorizedOn',
200
204
  :'auto_confirmation_enabled' => :'autoConfirmationEnabled',
@@ -255,6 +259,7 @@ module Wallee
255
259
  :'allowed_payment_method_brands' => :'Array<PaymentMethodBrand>',
256
260
  :'allowed_payment_method_configurations' => :'Array<Integer>',
257
261
  :'authorization_amount' => :'Float',
262
+ :'authorization_environment' => :'ChargeAttemptEnvironment',
258
263
  :'authorization_timeout_on' => :'DateTime',
259
264
  :'authorized_on' => :'DateTime',
260
265
  :'auto_confirmation_enabled' => :'BOOLEAN',
@@ -339,6 +344,10 @@ module Wallee
339
344
  self.authorization_amount = attributes[:'authorizationAmount']
340
345
  end
341
346
 
347
+ if attributes.has_key?(:'authorizationEnvironment')
348
+ self.authorization_environment = attributes[:'authorizationEnvironment']
349
+ end
350
+
342
351
  if attributes.has_key?(:'authorizationTimeoutOn')
343
352
  self.authorization_timeout_on = attributes[:'authorizationTimeoutOn']
344
353
  end
@@ -564,6 +573,7 @@ module Wallee
564
573
  allowed_payment_method_brands == o.allowed_payment_method_brands &&
565
574
  allowed_payment_method_configurations == o.allowed_payment_method_configurations &&
566
575
  authorization_amount == o.authorization_amount &&
576
+ authorization_environment == o.authorization_environment &&
567
577
  authorization_timeout_on == o.authorization_timeout_on &&
568
578
  authorized_on == o.authorized_on &&
569
579
  auto_confirmation_enabled == o.auto_confirmation_enabled &&
@@ -624,7 +634,7 @@ module Wallee
624
634
  # Calculates hash code according to all attributes.
625
635
  # @return [Fixnum] Hash code
626
636
  def hash
627
- [accept_header, accept_language_header, allowed_payment_method_brands, allowed_payment_method_configurations, authorization_amount, authorization_timeout_on, authorized_on, auto_confirmation_enabled, billing_address, charge_retry_enabled, completed_on, completion_timeout_on, confirmed_by, confirmed_on, created_by, created_on, currency, customer_email_address, customer_id, customers_presence, delivery_decision_made_on, device_session_identifier, end_of_life, environment, environment_selection_strategy, failed_on, failed_url, failure_reason, group, id, internet_protocol_address, internet_protocol_address_country, invoice_merchant_reference, language, line_items, linked_space_id, merchant_reference, meta_data, payment_connector_configuration, planned_purge_date, processing_on, refunded_amount, shipping_address, shipping_method, space_view_id, state, success_url, time_zone, token, tokenization_mode, user_agent_header, user_failure_message, user_interface_type, version].hash
637
+ [accept_header, accept_language_header, allowed_payment_method_brands, allowed_payment_method_configurations, authorization_amount, authorization_environment, authorization_timeout_on, authorized_on, auto_confirmation_enabled, billing_address, charge_retry_enabled, completed_on, completion_timeout_on, confirmed_by, confirmed_on, created_by, created_on, currency, customer_email_address, customer_id, customers_presence, delivery_decision_made_on, device_session_identifier, end_of_life, environment, environment_selection_strategy, failed_on, failed_url, failure_reason, group, id, internet_protocol_address, internet_protocol_address_country, invoice_merchant_reference, language, line_items, linked_space_id, merchant_reference, meta_data, payment_connector_configuration, planned_purge_date, processing_on, refunded_amount, shipping_address, shipping_method, space_view_id, state, success_url, time_zone, token, tokenization_mode, user_agent_header, user_failure_message, user_interface_type, version].hash
628
638
  end
629
639
 
630
640
  # Builds the object from hash
@@ -20,5 +20,5 @@ limitations under the License.
20
20
  =end
21
21
 
22
22
  module Wallee
23
- VERSION = "1.0.2"
23
+ VERSION = "1.0.3"
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wallee-ruby-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - customweb GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-12 00:00:00.000000000 Z
11
+ date: 2018-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus