ultracart_api 4.1.1 → 4.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2702bba78ca5ee501e75efd5da0b7623b0f1f88f3c156990fa5a581331b4bc60
4
- data.tar.gz: e99581479a78d6dd159d0e42346b6d1c661cb052ac6ae5379af079d8f5309f06
3
+ metadata.gz: 2f29e7b81e1b11b67649b35a62e03ccc8f696424ba196d2e57fbded622d45705
4
+ data.tar.gz: 28d9ac84cb9ee7247598f0dbe1ce76f2d7ba91fa2e141da5784552bc880bd299
5
5
  SHA512:
6
- metadata.gz: afe1106c6b971c1c8d88529402faa865c1d0adc24f4ddab1f8710bb1c614b91082ed699f7eac1a15a474e49cc6745950a88b0a05302977270ba127c14e76cc48
7
- data.tar.gz: 5ffef7b103437483dbfa3358dc57aa4a24f9575a05cf85a1de04ac996f1a0b1cf06e2fbb641f4edcce9b4fd0a7e6d567d3e027557ea34079347a740affcda072
6
+ metadata.gz: e4d72b503dda511e26bc329a76828c9685c0ca0d2876a92370085fe68cacea2aeeceb2de34dbf21ed61ce9301f42e630ec920ddb3297d6cda9ff22370a9e5d29
7
+ data.tar.gz: 5aaf20d870e64457bbf589e773259bb9999df86b1e56e47c55ffed5fd761c994df39ad2d11036c055b9b29a0000a4d92a3bc7af9a12da8d3c5b253fcf18a1915
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.2
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.2.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.2.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.2'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1526,6 +1526,7 @@ Not every change is committed to every SDK.
1526
1526
 
1527
1527
  | Version | Date | Comments |
1528
1528
  | --: | :-: | --- |
1529
+ | 4.1.2 | 03/05/2025 | added ChannelPartnerOrder.use_prior_payment_information_from_order_id |
1529
1530
  | 4.1.1 | 02/28/2025 | auto order pause method |
1530
1531
  | 4.1.0 | 02/21/2025 | ItemApi.getInventorySnapshot had bad nickname causing bad sdk method name |
1531
1532
  | 4.0.245 | 02/20/2025 | automation fix |
@@ -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
 
@@ -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.2'
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.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-02-28 00:00:00.000000000 Z
11
+ date: 2025-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus