ultracart_api 3.6.13 → 3.6.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a0befd5ef8e1b079f4e3170d8e5a04c78a1d6758400c291ea188c2eee8e3aba
4
- data.tar.gz: 3c5851518f88ab11f98c32a868c0a057841b60a99fb5fd041514a5b819c277b9
3
+ metadata.gz: 24c43b1758eaa1f773b832a93103e294db8b78cb5af83bebcdb25514830b1c7f
4
+ data.tar.gz: be54008cd3615036bb0d8167e4bfcfb194237876f5afd88b80f8beb2a9cd1494
5
5
  SHA512:
6
- metadata.gz: 0f6e22af4e2e750706a91f4bfe1e287954c5d930faed50f41515576a391ea66e16a4757f34ed03cc3eb13090fe792e10ed848dfb18300197741c33a89060f175
7
- data.tar.gz: 41897b3f92a87166692f7961fadf9d106ef0fb814ed57ae2d15d13a1a630cce8905c62a2d73f9ad9ba091737c6ee9c96cbbc121109e5b323d0e1b0727f6f69a9
6
+ metadata.gz: 627bbc3be2b0afefc42fc0ab32f37ffc3a563a0903eac1fdb6c03763e170dfcb1d40e1635d21aeacdd794fb33c3c634e2984ceb9435960143477870d061da65a
7
+ data.tar.gz: 4a448ae72993d4420ab6fe59bae3aa011de49d2d145c289c0ecadbb3694e6c6b3fb7408d0997bdd8eddbb1ca99743643a8f2a99fad567d5e12be5bbfd93faff1
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 3.6.13
10
+ - Package version: 3.6.14
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-3.6.13.gem
27
+ gem install ./ultracart_api-3.6.14.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.6.13.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.6.14.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'ultracart_api', '~> 3.6.13'
35
+ gem 'ultracart_api', '~> 3.6.14'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1118,6 +1118,7 @@ Not every change is committed to every SDK.
1118
1118
 
1119
1119
  | Version | Date | Comments |
1120
1120
  | --: | :-: | --- |
1121
+ | 3.6.14 | 09/21/2021 | configuration api fix. the echeck test methods were attached to the paper check object |
1121
1122
  | 3.6.13 | 09/20/2021 | expose EasyPost tracker id if available on shipment tracking details |
1122
1123
  | 3.6.12 | 09/20/2021 | fix method for getCouponsByQuery to be POST instead of GET since it uses a JSON body |
1123
1124
  | 3.6.11 | 09/13/2021 | fix for CouponApi, broke due to inadvertent parameter inclusion |
@@ -15,6 +15,5 @@ Name | Type | Description | Notes
15
15
  **mail_to_postal_code** | **String** | MailTo postal code | [optional]
16
16
  **mail_to_store** | **String** | MailTo store | [optional]
17
17
  **restrictions** | [**PaymentsConfigurationRestrictions**](PaymentsConfigurationRestrictions.md) | | [optional]
18
- **test_methods** | [**Array<PaymentsConfigurationTestMethod>**](PaymentsConfigurationTestMethod.md) | Test methods for this payment method | [optional]
19
18
 
20
19
 
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
7
7
  **accounting_code** | **String** | Optional Quickbooks accounting code | [optional]
8
8
  **deposit_to_account** | **String** | Optional Quickbooks deposit to account | [optional]
9
9
  **restrictions** | [**PaymentsConfigurationRestrictions**](PaymentsConfigurationRestrictions.md) | | [optional]
10
+ **test_methods** | [**Array<PaymentsConfigurationTestMethod>**](PaymentsConfigurationTestMethod.md) | Test methods for this payment method | [optional]
10
11
 
11
12
 
@@ -49,9 +49,6 @@ module UltracartClient
49
49
 
50
50
  attr_accessor :restrictions
51
51
 
52
- # Test methods for this payment method
53
- attr_accessor :test_methods
54
-
55
52
  # Attribute mapping from ruby-style variable name to JSON key.
56
53
  def self.attribute_map
57
54
  {
@@ -66,8 +63,7 @@ module UltracartClient
66
63
  :'mail_to_name' => :'mail_to_name',
67
64
  :'mail_to_postal_code' => :'mail_to_postal_code',
68
65
  :'mail_to_store' => :'mail_to_store',
69
- :'restrictions' => :'restrictions',
70
- :'test_methods' => :'test_methods'
66
+ :'restrictions' => :'restrictions'
71
67
  }
72
68
  end
73
69
 
@@ -85,8 +81,7 @@ module UltracartClient
85
81
  :'mail_to_name' => :'String',
86
82
  :'mail_to_postal_code' => :'String',
87
83
  :'mail_to_store' => :'String',
88
- :'restrictions' => :'PaymentsConfigurationRestrictions',
89
- :'test_methods' => :'Array<PaymentsConfigurationTestMethod>'
84
+ :'restrictions' => :'PaymentsConfigurationRestrictions'
90
85
  }
91
86
  end
92
87
 
@@ -145,12 +140,6 @@ module UltracartClient
145
140
  if attributes.has_key?(:'restrictions')
146
141
  self.restrictions = attributes[:'restrictions']
147
142
  end
148
-
149
- if attributes.has_key?(:'test_methods')
150
- if (value = attributes[:'test_methods']).is_a?(Array)
151
- self.test_methods = value
152
- end
153
- end
154
143
  end
155
144
 
156
145
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -182,8 +171,7 @@ module UltracartClient
182
171
  mail_to_name == o.mail_to_name &&
183
172
  mail_to_postal_code == o.mail_to_postal_code &&
184
173
  mail_to_store == o.mail_to_store &&
185
- restrictions == o.restrictions &&
186
- test_methods == o.test_methods
174
+ restrictions == o.restrictions
187
175
  end
188
176
 
189
177
  # @see the `==` method
@@ -195,7 +183,7 @@ module UltracartClient
195
183
  # Calculates hash code according to all attributes.
196
184
  # @return [Fixnum] Hash code
197
185
  def hash
198
- [accept_check_orders, accounting_code, checks_payable_to, deposit_to_account, mail_to_address1, mail_to_address2, mail_to_city, mail_to_country, mail_to_name, mail_to_postal_code, mail_to_store, restrictions, test_methods].hash
186
+ [accept_check_orders, accounting_code, checks_payable_to, deposit_to_account, mail_to_address1, mail_to_address2, mail_to_city, mail_to_country, mail_to_name, mail_to_postal_code, mail_to_store, restrictions].hash
199
187
  end
200
188
 
201
189
  # Builds the object from hash
@@ -25,13 +25,17 @@ module UltracartClient
25
25
 
26
26
  attr_accessor :restrictions
27
27
 
28
+ # Test methods for this payment method
29
+ attr_accessor :test_methods
30
+
28
31
  # Attribute mapping from ruby-style variable name to JSON key.
29
32
  def self.attribute_map
30
33
  {
31
34
  :'accept_echeck' => :'accept_echeck',
32
35
  :'accounting_code' => :'accounting_code',
33
36
  :'deposit_to_account' => :'deposit_to_account',
34
- :'restrictions' => :'restrictions'
37
+ :'restrictions' => :'restrictions',
38
+ :'test_methods' => :'test_methods'
35
39
  }
36
40
  end
37
41
 
@@ -41,7 +45,8 @@ module UltracartClient
41
45
  :'accept_echeck' => :'BOOLEAN',
42
46
  :'accounting_code' => :'String',
43
47
  :'deposit_to_account' => :'String',
44
- :'restrictions' => :'PaymentsConfigurationRestrictions'
48
+ :'restrictions' => :'PaymentsConfigurationRestrictions',
49
+ :'test_methods' => :'Array<PaymentsConfigurationTestMethod>'
45
50
  }
46
51
  end
47
52
 
@@ -68,6 +73,12 @@ module UltracartClient
68
73
  if attributes.has_key?(:'restrictions')
69
74
  self.restrictions = attributes[:'restrictions']
70
75
  end
76
+
77
+ if attributes.has_key?(:'test_methods')
78
+ if (value = attributes[:'test_methods']).is_a?(Array)
79
+ self.test_methods = value
80
+ end
81
+ end
71
82
  end
72
83
 
73
84
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -91,7 +102,8 @@ module UltracartClient
91
102
  accept_echeck == o.accept_echeck &&
92
103
  accounting_code == o.accounting_code &&
93
104
  deposit_to_account == o.deposit_to_account &&
94
- restrictions == o.restrictions
105
+ restrictions == o.restrictions &&
106
+ test_methods == o.test_methods
95
107
  end
96
108
 
97
109
  # @see the `==` method
@@ -103,7 +115,7 @@ module UltracartClient
103
115
  # Calculates hash code according to all attributes.
104
116
  # @return [Fixnum] Hash code
105
117
  def hash
106
- [accept_echeck, accounting_code, deposit_to_account, restrictions].hash
118
+ [accept_echeck, accounting_code, deposit_to_account, restrictions, test_methods].hash
107
119
  end
108
120
 
109
121
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.6.13'
14
+ VERSION = '3.6.14'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.13
4
+ version: 3.6.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-20 00:00:00.000000000 Z
11
+ date: 2021-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus