ultracart_api 3.11.1 → 3.11.2
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 +4 -4
- data/README.md +6 -5
- data/docs/ChannelPartnerOrder.md +1 -0
- data/lib/ultracart_api/models/channel_partner_order.rb +14 -4
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4884646c4fa4b3b9ef78cc7f97ab91406fd6732589bd80a18884003f00bd1a71
|
4
|
+
data.tar.gz: d8f88a7ef7a109d24331e955191ad2671fff66fa4326286f414631086cadba12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b769e88deecca6c9c294de8e8162053f25485a33dd16c891b828f7922960cca86c1710744b752aab1d6d779912b5fdfc0e2ed5db2fcc84eb6c8d170b3fead923
|
7
|
+
data.tar.gz: a19b58e70f2943a8bc41271a570174f32578bff64bbbb93609ffc32b84a2910843de55e03959e95b0326d9b65465df3a9d69f558a0d6ace289e150f4d8df8f11
|
data/README.md
CHANGED
@@ -7,9 +7,9 @@ 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.11.
|
10
|
+
- Package version: 3.11.2
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
|
-
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
12
|
+
For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
13
13
|
|
14
14
|
## Installation
|
15
15
|
|
@@ -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.11.
|
27
|
+
gem install ./ultracart_api-3.11.2.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.11.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.11.2.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.11.
|
35
|
+
gem 'ultracart_api', '~> 3.11.2'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1518,6 +1518,7 @@ Not every change is committed to every SDK.
|
|
1518
1518
|
|
1519
1519
|
| Version | Date | Comments |
|
1520
1520
|
| --: | :-: | --- |
|
1521
|
+
| 3.11.2 | 03/05/2025 | added ChannelPartnerOrder.use_prior_payment_information_from_order_id |
|
1521
1522
|
| 3.11.1 | 02/28/2025 | auto order pause method |
|
1522
1523
|
| 3.11.0 | 02/21/2025 | ItemApi.getInventorySnapshot had bad nickname causing bad sdk method name |
|
1523
1524
|
| 3.10.228 | 02/20/2025 | automation fix |
|
data/docs/ChannelPartnerOrder.md
CHANGED
@@ -95,5 +95,6 @@ Name | Type | Description | Notes
|
|
95
95
|
**tax_exempt** | **BOOLEAN** | If true this order is marked as being tax exempt | [optional]
|
96
96
|
**transaction** | [**ChannelPartnerOrderTransaction**](ChannelPartnerOrderTransaction.md) | | [optional]
|
97
97
|
**treat_warnings_as_errors** | **BOOLEAN** | If true all warnings are considered errors, this is true by default | [optional]
|
98
|
+
**use_prior_payment_information_from_order_id** | **String** | An Order Id from a prior purchase of this customer which is used to retrieve vaulted payment information in order to pay for this current order. | [optional]
|
98
99
|
|
99
100
|
|
@@ -289,6 +289,9 @@ module UltracartClient
|
|
289
289
|
# If true all warnings are considered errors, this is true by default
|
290
290
|
attr_accessor :treat_warnings_as_errors
|
291
291
|
|
292
|
+
# An Order Id from a prior purchase of this customer which is used to retrieve vaulted payment information in order to pay for this current order.
|
293
|
+
attr_accessor :use_prior_payment_information_from_order_id
|
294
|
+
|
292
295
|
class EnumAttributeValidator
|
293
296
|
attr_reader :datatype
|
294
297
|
attr_reader :allowable_values
|
@@ -405,7 +408,8 @@ module UltracartClient
|
|
405
408
|
:'tax_county' => :'tax_county',
|
406
409
|
:'tax_exempt' => :'tax_exempt',
|
407
410
|
:'transaction' => :'transaction',
|
408
|
-
:'treat_warnings_as_errors' => :'treat_warnings_as_errors'
|
411
|
+
:'treat_warnings_as_errors' => :'treat_warnings_as_errors',
|
412
|
+
:'use_prior_payment_information_from_order_id' => :'use_prior_payment_information_from_order_id'
|
409
413
|
}
|
410
414
|
end
|
411
415
|
|
@@ -503,7 +507,8 @@ module UltracartClient
|
|
503
507
|
:'tax_county' => :'String',
|
504
508
|
:'tax_exempt' => :'BOOLEAN',
|
505
509
|
:'transaction' => :'ChannelPartnerOrderTransaction',
|
506
|
-
:'treat_warnings_as_errors' => :'BOOLEAN'
|
510
|
+
:'treat_warnings_as_errors' => :'BOOLEAN',
|
511
|
+
:'use_prior_payment_information_from_order_id' => :'String'
|
507
512
|
}
|
508
513
|
end
|
509
514
|
|
@@ -888,6 +893,10 @@ module UltracartClient
|
|
888
893
|
if attributes.has_key?(:'treat_warnings_as_errors')
|
889
894
|
self.treat_warnings_as_errors = attributes[:'treat_warnings_as_errors']
|
890
895
|
end
|
896
|
+
|
897
|
+
if attributes.has_key?(:'use_prior_payment_information_from_order_id')
|
898
|
+
self.use_prior_payment_information_from_order_id = attributes[:'use_prior_payment_information_from_order_id']
|
899
|
+
end
|
891
900
|
end
|
892
901
|
|
893
902
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -1590,7 +1599,8 @@ module UltracartClient
|
|
1590
1599
|
tax_county == o.tax_county &&
|
1591
1600
|
tax_exempt == o.tax_exempt &&
|
1592
1601
|
transaction == o.transaction &&
|
1593
|
-
treat_warnings_as_errors == o.treat_warnings_as_errors
|
1602
|
+
treat_warnings_as_errors == o.treat_warnings_as_errors &&
|
1603
|
+
use_prior_payment_information_from_order_id == o.use_prior_payment_information_from_order_id
|
1594
1604
|
end
|
1595
1605
|
|
1596
1606
|
# @see the `==` method
|
@@ -1602,7 +1612,7 @@ module UltracartClient
|
|
1602
1612
|
# Calculates hash code according to all attributes.
|
1603
1613
|
# @return [Fixnum] Hash code
|
1604
1614
|
def hash
|
1605
|
-
[advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, echeck_bank_aba_code, echeck_bank_account_name, echeck_bank_account_number, echeck_bank_account_type, echeck_bank_name, echeck_bank_owner_type, echeck_customer_tax_id, echeck_drivers_license_dob, echeck_drivers_license_number, echeck_drivers_license_state, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, sales_rep_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, storefront_host_name, tax_county, tax_exempt, transaction, treat_warnings_as_errors].hash
|
1615
|
+
[advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, echeck_bank_aba_code, echeck_bank_account_name, echeck_bank_account_number, echeck_bank_account_type, echeck_bank_name, echeck_bank_owner_type, echeck_customer_tax_id, echeck_drivers_license_dob, echeck_drivers_license_number, echeck_drivers_license_state, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, sales_rep_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, storefront_host_name, tax_county, tax_exempt, transaction, treat_warnings_as_errors, use_prior_payment_information_from_order_id].hash
|
1606
1616
|
end
|
1607
1617
|
|
1608
1618
|
# Builds the object from hash
|
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.11.
|
4
|
+
version: 3.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|