ultracart_api 4.1.1 → 4.1.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: 2702bba78ca5ee501e75efd5da0b7623b0f1f88f3c156990fa5a581331b4bc60
4
- data.tar.gz: e99581479a78d6dd159d0e42346b6d1c661cb052ac6ae5379af079d8f5309f06
3
+ metadata.gz: 3862728b643050ad70317e3c0a2e4c8ee10f4732cce25712e596b574fdd8e104
4
+ data.tar.gz: dbbd9ea72813c2fba6f3c94d772ad7dcaf8642f4848b5260c31cc3f63150655b
5
5
  SHA512:
6
- metadata.gz: afe1106c6b971c1c8d88529402faa865c1d0adc24f4ddab1f8710bb1c614b91082ed699f7eac1a15a474e49cc6745950a88b0a05302977270ba127c14e76cc48
7
- data.tar.gz: 5ffef7b103437483dbfa3358dc57aa4a24f9575a05cf85a1de04ac996f1a0b1cf06e2fbb641f4edcce9b4fd0a7e6d567d3e027557ea34079347a740affcda072
6
+ metadata.gz: 338d7afdfdd47cd908c9a54ad18e8275802090f4e0f2098eac6f141aa3c3b3fae0d56d2c06be49e93432dee474c305aebaddba4ff65ba7925660a14bf53946cd
7
+ data.tar.gz: 9da725f887aa11e613cdf918355d33bdbb51e0b9d586f97d499410d20ec4a8c8fe742f3fb9495080c420ec10c4ed470028b8c06eab82869ecde0c271a3b51a30
data/README.md CHANGED
@@ -7,9 +7,9 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 4.1.1
10
+ - Package version: 4.1.3
11
11
  - Build package: org.openapitools.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,16 +24,16 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-4.1.1.gem
27
+ gem install ./ultracart_api-4.1.3.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.1.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.1.3.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ultracart_api', '~> 4.1.1'
36
+ gem 'ultracart_api', '~> 4.1.3'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1526,6 +1526,8 @@ Not every change is committed to every SDK.
1526
1526
 
1527
1527
  | Version | Date | Comments |
1528
1528
  | --: | :-: | --- |
1529
+ | 4.1.3 | 03/07/2025 | updated github readme.md files |
1530
+ | 4.1.2 | 03/05/2025 | added ChannelPartnerOrder.use_prior_payment_information_from_order_id |
1529
1531
  | 4.1.1 | 02/28/2025 | auto order pause method |
1530
1532
  | 4.1.0 | 02/21/2025 | ItemApi.getInventorySnapshot had bad nickname causing bad sdk method name |
1531
1533
  | 4.0.245 | 02/20/2025 | automation fix |
data/docs/AutoOrderApi.md CHANGED
@@ -690,7 +690,7 @@ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/
690
690
 
691
691
  api = UltracartClient::AutoOrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
692
692
  auto_order_oid = 56 # Integer | The auto order oid to pause.
693
- auto_order = UltracartClient::AutoOrder.new # AutoOrder | Auto orders to pause
693
+ auto_order = UltracartClient::AutoOrder.new # AutoOrder | Auto order to pause
694
694
  opts = {
695
695
  _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
696
696
  }
@@ -727,7 +727,7 @@ end
727
727
  | Name | Type | Description | Notes |
728
728
  | ---- | ---- | ----------- | ----- |
729
729
  | **auto_order_oid** | **Integer** | The auto order oid to pause. | |
730
- | **auto_order** | [**AutoOrder**](AutoOrder.md) | Auto orders to pause | |
730
+ | **auto_order** | [**AutoOrder**](AutoOrder.md) | Auto order to pause | |
731
731
  | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
732
732
 
733
733
  ### Return type
@@ -96,6 +96,7 @@
96
96
  | **tax_exempt** | **Boolean** | If true this order is marked as being tax exempt | [optional] |
97
97
  | **transaction** | [**ChannelPartnerOrderTransaction**](ChannelPartnerOrderTransaction.md) | | [optional] |
98
98
  | **treat_warnings_as_errors** | **Boolean** | If true all warnings are considered errors, this is true by default | [optional] |
99
+ | **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] |
99
100
 
100
101
  ## Example
101
102
 
@@ -194,7 +195,8 @@ instance = UltracartClient::ChannelPartnerOrder.new(
194
195
  tax_county: null,
195
196
  tax_exempt: null,
196
197
  transaction: null,
197
- treat_warnings_as_errors: null
198
+ treat_warnings_as_errors: null,
199
+ use_prior_payment_information_from_order_id: null
198
200
  )
199
201
  ```
200
202
 
@@ -661,7 +661,7 @@ module UltracartClient
661
661
  # Pause auto order
662
662
  # Completely pause an auto order
663
663
  # @param auto_order_oid [Integer] The auto order oid to pause.
664
- # @param auto_order [AutoOrder] Auto orders to pause
664
+ # @param auto_order [AutoOrder] Auto order to pause
665
665
  # @param [Hash] opts the optional parameters
666
666
  # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
667
667
  # @return [AutoOrderResponse]
@@ -673,7 +673,7 @@ module UltracartClient
673
673
  # Pause auto order
674
674
  # Completely pause an auto order
675
675
  # @param auto_order_oid [Integer] The auto order oid to pause.
676
- # @param auto_order [AutoOrder] Auto orders to pause
676
+ # @param auto_order [AutoOrder] Auto order to pause
677
677
  # @param [Hash] opts the optional parameters
678
678
  # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
679
679
  # @return [Array<(AutoOrderResponse, Integer, Hash)>] AutoOrderResponse data, response status code and response headers
@@ -290,6 +290,9 @@ module UltracartClient
290
290
  # If true all warnings are considered errors, this is true by default
291
291
  attr_accessor :treat_warnings_as_errors
292
292
 
293
+ # 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.
294
+ attr_accessor :use_prior_payment_information_from_order_id
295
+
293
296
  class EnumAttributeValidator
294
297
  attr_reader :datatype
295
298
  attr_reader :allowable_values
@@ -406,7 +409,8 @@ module UltracartClient
406
409
  :'tax_county' => :'tax_county',
407
410
  :'tax_exempt' => :'tax_exempt',
408
411
  :'transaction' => :'transaction',
409
- :'treat_warnings_as_errors' => :'treat_warnings_as_errors'
412
+ :'treat_warnings_as_errors' => :'treat_warnings_as_errors',
413
+ :'use_prior_payment_information_from_order_id' => :'use_prior_payment_information_from_order_id'
410
414
  }
411
415
  end
412
416
 
@@ -509,7 +513,8 @@ module UltracartClient
509
513
  :'tax_county' => :'String',
510
514
  :'tax_exempt' => :'Boolean',
511
515
  :'transaction' => :'ChannelPartnerOrderTransaction',
512
- :'treat_warnings_as_errors' => :'Boolean'
516
+ :'treat_warnings_as_errors' => :'Boolean',
517
+ :'use_prior_payment_information_from_order_id' => :'String'
513
518
  }
514
519
  end
515
520
 
@@ -907,6 +912,10 @@ module UltracartClient
907
912
  if attributes.key?(:'treat_warnings_as_errors')
908
913
  self.treat_warnings_as_errors = attributes[:'treat_warnings_as_errors']
909
914
  end
915
+
916
+ if attributes.key?(:'use_prior_payment_information_from_order_id')
917
+ self.use_prior_payment_information_from_order_id = attributes[:'use_prior_payment_information_from_order_id']
918
+ end
910
919
  end
911
920
 
912
921
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -1609,7 +1618,8 @@ module UltracartClient
1609
1618
  tax_county == o.tax_county &&
1610
1619
  tax_exempt == o.tax_exempt &&
1611
1620
  transaction == o.transaction &&
1612
- treat_warnings_as_errors == o.treat_warnings_as_errors
1621
+ treat_warnings_as_errors == o.treat_warnings_as_errors &&
1622
+ use_prior_payment_information_from_order_id == o.use_prior_payment_information_from_order_id
1613
1623
  end
1614
1624
 
1615
1625
  # @see the `==` method
@@ -1621,7 +1631,7 @@ module UltracartClient
1621
1631
  # Calculates hash code according to all attributes.
1622
1632
  # @return [Integer] Hash code
1623
1633
  def hash
1624
- [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
1634
+ [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
1625
1635
  end
1626
1636
 
1627
1637
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.1'
14
+ VERSION = '4.1.3'
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: 4.1.1
4
+ version: 4.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-28 00:00:00.000000000 Z
11
+ date: 2025-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus