ultracart_api 3.9.6 → 3.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +27 -4
- data/docs/AdjustInternalCertificateRequest.md +13 -0
- data/docs/AdjustInternalCertificateResponse.md +13 -0
- data/docs/CartSettingsShippingEstimate.md +1 -0
- data/docs/ChannelPartnerApi.md +212 -0
- data/docs/ChannelPartnerCancelResponse.md +12 -0
- data/docs/ChannelPartnerEstimateShippingResponse.md +12 -0
- data/docs/ChannelPartnerImportResponse.md +13 -0
- data/docs/ChannelPartnerOrder.md +87 -0
- data/docs/ChannelPartnerOrderItem.md +14 -0
- data/docs/ChannelPartnerOrderItemOption.md +9 -0
- data/docs/ChannelPartnerOrderTransaction.md +9 -0
- data/docs/ChannelPartnerOrderTransactionDetail.md +9 -0
- data/docs/ChannelPartnerShippingEstimate.md +9 -0
- data/docs/CustomerApi.md +54 -0
- data/docs/CustomerLoyalty.md +2 -1
- data/docs/IntegrationLogApi.md +57 -0
- data/docs/OrderApi.md +55 -0
- data/lib/ultracart_api/api/channel_partner_api.rb +256 -0
- data/lib/ultracart_api/api/customer_api.rb +61 -0
- data/lib/ultracart_api/api/integration_log_api.rb +67 -0
- data/lib/ultracart_api/api/order_api.rb +58 -0
- data/lib/ultracart_api/models/adjust_internal_certificate_request.rb +235 -0
- data/lib/ultracart_api/models/adjust_internal_certificate_response.rb +232 -0
- data/lib/ultracart_api/models/cart_settings_shipping_estimate.rb +11 -1
- data/lib/ultracart_api/models/channel_partner_cancel_response.rb +224 -0
- data/lib/ultracart_api/models/channel_partner_estimate_shipping_response.rb +224 -0
- data/lib/ultracart_api/models/channel_partner_import_response.rb +236 -0
- data/lib/ultracart_api/models/channel_partner_order.rb +1569 -0
- data/lib/ultracart_api/models/channel_partner_order_item.rb +296 -0
- data/lib/ultracart_api/models/channel_partner_order_item_option.rb +195 -0
- data/lib/ultracart_api/models/channel_partner_order_transaction.rb +197 -0
- data/lib/ultracart_api/models/channel_partner_order_transaction_detail.rb +195 -0
- data/lib/ultracart_api/models/channel_partner_shipping_estimate.rb +195 -0
- data/lib/ultracart_api/models/customer_loyalty.rb +11 -2
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +12 -0
- metadata +26 -2
@@ -0,0 +1,195 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.15-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module UltracartClient
|
16
|
+
class ChannelPartnerOrderTransactionDetail
|
17
|
+
# The name of the item option.
|
18
|
+
attr_accessor :name
|
19
|
+
|
20
|
+
# The value of the item option.
|
21
|
+
attr_accessor :value
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'name' => :'name',
|
27
|
+
:'value' => :'value'
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
# Attribute type mapping.
|
32
|
+
def self.swagger_types
|
33
|
+
{
|
34
|
+
:'name' => :'String',
|
35
|
+
:'value' => :'String'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Initializes the object
|
40
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
41
|
+
def initialize(attributes = {})
|
42
|
+
return unless attributes.is_a?(Hash)
|
43
|
+
|
44
|
+
# convert string to symbol for hash key
|
45
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
46
|
+
|
47
|
+
if attributes.has_key?(:'name')
|
48
|
+
self.name = attributes[:'name']
|
49
|
+
end
|
50
|
+
|
51
|
+
if attributes.has_key?(:'value')
|
52
|
+
self.value = attributes[:'value']
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
57
|
+
# @return Array for valid properties with the reasons
|
58
|
+
def list_invalid_properties
|
59
|
+
invalid_properties = Array.new
|
60
|
+
invalid_properties
|
61
|
+
end
|
62
|
+
|
63
|
+
# Check to see if the all the properties in the model are valid
|
64
|
+
# @return true if the model is valid
|
65
|
+
def valid?
|
66
|
+
true
|
67
|
+
end
|
68
|
+
|
69
|
+
# Checks equality by comparing each attribute.
|
70
|
+
# @param [Object] Object to be compared
|
71
|
+
def ==(o)
|
72
|
+
return true if self.equal?(o)
|
73
|
+
self.class == o.class &&
|
74
|
+
name == o.name &&
|
75
|
+
value == o.value
|
76
|
+
end
|
77
|
+
|
78
|
+
# @see the `==` method
|
79
|
+
# @param [Object] Object to be compared
|
80
|
+
def eql?(o)
|
81
|
+
self == o
|
82
|
+
end
|
83
|
+
|
84
|
+
# Calculates hash code according to all attributes.
|
85
|
+
# @return [Fixnum] Hash code
|
86
|
+
def hash
|
87
|
+
[name, value].hash
|
88
|
+
end
|
89
|
+
|
90
|
+
# Builds the object from hash
|
91
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
92
|
+
# @return [Object] Returns the model itself
|
93
|
+
def build_from_hash(attributes)
|
94
|
+
return nil unless attributes.is_a?(Hash)
|
95
|
+
self.class.swagger_types.each_pair do |key, type|
|
96
|
+
if type =~ /\AArray<(.*)>/i
|
97
|
+
# check to ensure the input is an array given that the attribute
|
98
|
+
# is documented as an array but the input is not
|
99
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
100
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
101
|
+
end
|
102
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
103
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
104
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
105
|
+
end
|
106
|
+
|
107
|
+
self
|
108
|
+
end
|
109
|
+
|
110
|
+
# Deserializes the data based on type
|
111
|
+
# @param string type Data type
|
112
|
+
# @param string value Value to be deserialized
|
113
|
+
# @return [Object] Deserialized data
|
114
|
+
def _deserialize(type, value)
|
115
|
+
case type.to_sym
|
116
|
+
when :DateTime
|
117
|
+
DateTime.parse(value)
|
118
|
+
when :Date
|
119
|
+
Date.parse(value)
|
120
|
+
when :String
|
121
|
+
value.to_s
|
122
|
+
when :Integer
|
123
|
+
value.to_i
|
124
|
+
when :Float
|
125
|
+
value.to_f
|
126
|
+
when :BOOLEAN
|
127
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
128
|
+
true
|
129
|
+
else
|
130
|
+
false
|
131
|
+
end
|
132
|
+
when :Object
|
133
|
+
# generic object (usually a Hash), return directly
|
134
|
+
value
|
135
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
136
|
+
inner_type = Regexp.last_match[:inner_type]
|
137
|
+
value.map { |v| _deserialize(inner_type, v) }
|
138
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
139
|
+
k_type = Regexp.last_match[:k_type]
|
140
|
+
v_type = Regexp.last_match[:v_type]
|
141
|
+
{}.tap do |hash|
|
142
|
+
value.each do |k, v|
|
143
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
else # model
|
147
|
+
temp_model = UltracartClient.const_get(type).new
|
148
|
+
temp_model.build_from_hash(value)
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# Returns the string representation of the object
|
153
|
+
# @return [String] String presentation of the object
|
154
|
+
def to_s
|
155
|
+
to_hash.to_s
|
156
|
+
end
|
157
|
+
|
158
|
+
# to_body is an alias to to_hash (backward compatibility)
|
159
|
+
# @return [Hash] Returns the object in the form of hash
|
160
|
+
def to_body
|
161
|
+
to_hash
|
162
|
+
end
|
163
|
+
|
164
|
+
# Returns the object in the form of hash
|
165
|
+
# @return [Hash] Returns the object in the form of hash
|
166
|
+
def to_hash
|
167
|
+
hash = {}
|
168
|
+
self.class.attribute_map.each_pair do |attr, param|
|
169
|
+
value = self.send(attr)
|
170
|
+
next if value.nil?
|
171
|
+
hash[param] = _to_hash(value)
|
172
|
+
end
|
173
|
+
hash
|
174
|
+
end
|
175
|
+
|
176
|
+
# Outputs non-array value in the form of hash
|
177
|
+
# For object, use to_hash. Otherwise, just return the value
|
178
|
+
# @param [Object] value Any valid value
|
179
|
+
# @return [Hash] Returns the value in the form of hash
|
180
|
+
def _to_hash(value)
|
181
|
+
if value.is_a?(Array)
|
182
|
+
value.compact.map { |v| _to_hash(v) }
|
183
|
+
elsif value.is_a?(Hash)
|
184
|
+
{}.tap do |hash|
|
185
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
186
|
+
end
|
187
|
+
elsif value.respond_to? :to_hash
|
188
|
+
value.to_hash
|
189
|
+
else
|
190
|
+
value
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
end
|
195
|
+
end
|
@@ -0,0 +1,195 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.15-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module UltracartClient
|
16
|
+
class ChannelPartnerShippingEstimate
|
17
|
+
# The total estimate for this shipping method based on the provided order.
|
18
|
+
attr_accessor :shipping_handling_total
|
19
|
+
|
20
|
+
# The name of the shipping method
|
21
|
+
attr_accessor :shipping_method
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'shipping_handling_total' => :'shipping_handling_total',
|
27
|
+
:'shipping_method' => :'shipping_method'
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
# Attribute type mapping.
|
32
|
+
def self.swagger_types
|
33
|
+
{
|
34
|
+
:'shipping_handling_total' => :'Float',
|
35
|
+
:'shipping_method' => :'String'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Initializes the object
|
40
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
41
|
+
def initialize(attributes = {})
|
42
|
+
return unless attributes.is_a?(Hash)
|
43
|
+
|
44
|
+
# convert string to symbol for hash key
|
45
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
46
|
+
|
47
|
+
if attributes.has_key?(:'shipping_handling_total')
|
48
|
+
self.shipping_handling_total = attributes[:'shipping_handling_total']
|
49
|
+
end
|
50
|
+
|
51
|
+
if attributes.has_key?(:'shipping_method')
|
52
|
+
self.shipping_method = attributes[:'shipping_method']
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
57
|
+
# @return Array for valid properties with the reasons
|
58
|
+
def list_invalid_properties
|
59
|
+
invalid_properties = Array.new
|
60
|
+
invalid_properties
|
61
|
+
end
|
62
|
+
|
63
|
+
# Check to see if the all the properties in the model are valid
|
64
|
+
# @return true if the model is valid
|
65
|
+
def valid?
|
66
|
+
true
|
67
|
+
end
|
68
|
+
|
69
|
+
# Checks equality by comparing each attribute.
|
70
|
+
# @param [Object] Object to be compared
|
71
|
+
def ==(o)
|
72
|
+
return true if self.equal?(o)
|
73
|
+
self.class == o.class &&
|
74
|
+
shipping_handling_total == o.shipping_handling_total &&
|
75
|
+
shipping_method == o.shipping_method
|
76
|
+
end
|
77
|
+
|
78
|
+
# @see the `==` method
|
79
|
+
# @param [Object] Object to be compared
|
80
|
+
def eql?(o)
|
81
|
+
self == o
|
82
|
+
end
|
83
|
+
|
84
|
+
# Calculates hash code according to all attributes.
|
85
|
+
# @return [Fixnum] Hash code
|
86
|
+
def hash
|
87
|
+
[shipping_handling_total, shipping_method].hash
|
88
|
+
end
|
89
|
+
|
90
|
+
# Builds the object from hash
|
91
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
92
|
+
# @return [Object] Returns the model itself
|
93
|
+
def build_from_hash(attributes)
|
94
|
+
return nil unless attributes.is_a?(Hash)
|
95
|
+
self.class.swagger_types.each_pair do |key, type|
|
96
|
+
if type =~ /\AArray<(.*)>/i
|
97
|
+
# check to ensure the input is an array given that the attribute
|
98
|
+
# is documented as an array but the input is not
|
99
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
100
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
101
|
+
end
|
102
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
103
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
104
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
105
|
+
end
|
106
|
+
|
107
|
+
self
|
108
|
+
end
|
109
|
+
|
110
|
+
# Deserializes the data based on type
|
111
|
+
# @param string type Data type
|
112
|
+
# @param string value Value to be deserialized
|
113
|
+
# @return [Object] Deserialized data
|
114
|
+
def _deserialize(type, value)
|
115
|
+
case type.to_sym
|
116
|
+
when :DateTime
|
117
|
+
DateTime.parse(value)
|
118
|
+
when :Date
|
119
|
+
Date.parse(value)
|
120
|
+
when :String
|
121
|
+
value.to_s
|
122
|
+
when :Integer
|
123
|
+
value.to_i
|
124
|
+
when :Float
|
125
|
+
value.to_f
|
126
|
+
when :BOOLEAN
|
127
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
128
|
+
true
|
129
|
+
else
|
130
|
+
false
|
131
|
+
end
|
132
|
+
when :Object
|
133
|
+
# generic object (usually a Hash), return directly
|
134
|
+
value
|
135
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
136
|
+
inner_type = Regexp.last_match[:inner_type]
|
137
|
+
value.map { |v| _deserialize(inner_type, v) }
|
138
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
139
|
+
k_type = Regexp.last_match[:k_type]
|
140
|
+
v_type = Regexp.last_match[:v_type]
|
141
|
+
{}.tap do |hash|
|
142
|
+
value.each do |k, v|
|
143
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
else # model
|
147
|
+
temp_model = UltracartClient.const_get(type).new
|
148
|
+
temp_model.build_from_hash(value)
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# Returns the string representation of the object
|
153
|
+
# @return [String] String presentation of the object
|
154
|
+
def to_s
|
155
|
+
to_hash.to_s
|
156
|
+
end
|
157
|
+
|
158
|
+
# to_body is an alias to to_hash (backward compatibility)
|
159
|
+
# @return [Hash] Returns the object in the form of hash
|
160
|
+
def to_body
|
161
|
+
to_hash
|
162
|
+
end
|
163
|
+
|
164
|
+
# Returns the object in the form of hash
|
165
|
+
# @return [Hash] Returns the object in the form of hash
|
166
|
+
def to_hash
|
167
|
+
hash = {}
|
168
|
+
self.class.attribute_map.each_pair do |attr, param|
|
169
|
+
value = self.send(attr)
|
170
|
+
next if value.nil?
|
171
|
+
hash[param] = _to_hash(value)
|
172
|
+
end
|
173
|
+
hash
|
174
|
+
end
|
175
|
+
|
176
|
+
# Outputs non-array value in the form of hash
|
177
|
+
# For object, use to_hash. Otherwise, just return the value
|
178
|
+
# @param [Object] value Any valid value
|
179
|
+
# @return [Hash] Returns the value in the form of hash
|
180
|
+
def _to_hash(value)
|
181
|
+
if value.is_a?(Array)
|
182
|
+
value.compact.map { |v| _to_hash(v) }
|
183
|
+
elsif value.is_a?(Hash)
|
184
|
+
{}.tap do |hash|
|
185
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
186
|
+
end
|
187
|
+
elsif value.respond_to? :to_hash
|
188
|
+
value.to_hash
|
189
|
+
else
|
190
|
+
value
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
end
|
195
|
+
end
|
@@ -14,9 +14,11 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class CustomerLoyalty
|
17
|
-
# Current
|
17
|
+
# Current points
|
18
18
|
attr_accessor :current_points
|
19
19
|
|
20
|
+
attr_accessor :internal_gift_certificate
|
21
|
+
|
20
22
|
# Loyalty Cashback / Store credit balance (internal gift certificate balance)
|
21
23
|
attr_accessor :internal_gift_certificate_balance
|
22
24
|
|
@@ -36,6 +38,7 @@ module UltracartClient
|
|
36
38
|
def self.attribute_map
|
37
39
|
{
|
38
40
|
:'current_points' => :'current_points',
|
41
|
+
:'internal_gift_certificate' => :'internal_gift_certificate',
|
39
42
|
:'internal_gift_certificate_balance' => :'internal_gift_certificate_balance',
|
40
43
|
:'internal_gift_certificate_oid' => :'internal_gift_certificate_oid',
|
41
44
|
:'ledger_entries' => :'ledger_entries',
|
@@ -48,6 +51,7 @@ module UltracartClient
|
|
48
51
|
def self.swagger_types
|
49
52
|
{
|
50
53
|
:'current_points' => :'Integer',
|
54
|
+
:'internal_gift_certificate' => :'GiftCertificate',
|
51
55
|
:'internal_gift_certificate_balance' => :'String',
|
52
56
|
:'internal_gift_certificate_oid' => :'Integer',
|
53
57
|
:'ledger_entries' => :'Array<CustomerLoyaltyLedger>',
|
@@ -68,6 +72,10 @@ module UltracartClient
|
|
68
72
|
self.current_points = attributes[:'current_points']
|
69
73
|
end
|
70
74
|
|
75
|
+
if attributes.has_key?(:'internal_gift_certificate')
|
76
|
+
self.internal_gift_certificate = attributes[:'internal_gift_certificate']
|
77
|
+
end
|
78
|
+
|
71
79
|
if attributes.has_key?(:'internal_gift_certificate_balance')
|
72
80
|
self.internal_gift_certificate_balance = attributes[:'internal_gift_certificate_balance']
|
73
81
|
end
|
@@ -112,6 +120,7 @@ module UltracartClient
|
|
112
120
|
return true if self.equal?(o)
|
113
121
|
self.class == o.class &&
|
114
122
|
current_points == o.current_points &&
|
123
|
+
internal_gift_certificate == o.internal_gift_certificate &&
|
115
124
|
internal_gift_certificate_balance == o.internal_gift_certificate_balance &&
|
116
125
|
internal_gift_certificate_oid == o.internal_gift_certificate_oid &&
|
117
126
|
ledger_entries == o.ledger_entries &&
|
@@ -128,7 +137,7 @@ module UltracartClient
|
|
128
137
|
# Calculates hash code according to all attributes.
|
129
138
|
# @return [Fixnum] Hash code
|
130
139
|
def hash
|
131
|
-
[current_points, internal_gift_certificate_balance, internal_gift_certificate_oid, ledger_entries, pending_points, redemptions].hash
|
140
|
+
[current_points, internal_gift_certificate, internal_gift_certificate_balance, internal_gift_certificate_oid, ledger_entries, pending_points, redemptions].hash
|
132
141
|
end
|
133
142
|
|
134
143
|
# Builds the object from hash
|
data/lib/ultracart_api.rb
CHANGED
@@ -26,6 +26,8 @@ require 'ultracart_api/models/accounts_receivable_retry_stat_revenue'
|
|
26
26
|
require 'ultracart_api/models/accounts_receivable_retry_stats_response'
|
27
27
|
require 'ultracart_api/models/activity'
|
28
28
|
require 'ultracart_api/models/add_library_item_request'
|
29
|
+
require 'ultracart_api/models/adjust_internal_certificate_request'
|
30
|
+
require 'ultracart_api/models/adjust_internal_certificate_response'
|
29
31
|
require 'ultracart_api/models/affiliate_click'
|
30
32
|
require 'ultracart_api/models/affiliate_click_query'
|
31
33
|
require 'ultracart_api/models/affiliate_clicks_response'
|
@@ -111,6 +113,15 @@ require 'ultracart_api/models/cart_taxes'
|
|
111
113
|
require 'ultracart_api/models/cart_upsell_after'
|
112
114
|
require 'ultracart_api/models/cart_validation_request'
|
113
115
|
require 'ultracart_api/models/cart_validation_response'
|
116
|
+
require 'ultracart_api/models/channel_partner_cancel_response'
|
117
|
+
require 'ultracart_api/models/channel_partner_estimate_shipping_response'
|
118
|
+
require 'ultracart_api/models/channel_partner_import_response'
|
119
|
+
require 'ultracart_api/models/channel_partner_order'
|
120
|
+
require 'ultracart_api/models/channel_partner_order_item'
|
121
|
+
require 'ultracart_api/models/channel_partner_order_item_option'
|
122
|
+
require 'ultracart_api/models/channel_partner_order_transaction'
|
123
|
+
require 'ultracart_api/models/channel_partner_order_transaction_detail'
|
124
|
+
require 'ultracart_api/models/channel_partner_shipping_estimate'
|
114
125
|
require 'ultracart_api/models/chargeback_dispute'
|
115
126
|
require 'ultracart_api/models/chargeback_dispute_response'
|
116
127
|
require 'ultracart_api/models/chargeback_disputes_response'
|
@@ -673,6 +684,7 @@ require 'ultracart_api/models/weight'
|
|
673
684
|
# APIs
|
674
685
|
require 'ultracart_api/api/affiliate_api'
|
675
686
|
require 'ultracart_api/api/auto_order_api'
|
687
|
+
require 'ultracart_api/api/channel_partner_api'
|
676
688
|
require 'ultracart_api/api/chargeback_api'
|
677
689
|
require 'ultracart_api/api/checkout_api'
|
678
690
|
require 'ultracart_api/api/configuration_api'
|
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.
|
4
|
+
version: 3.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -230,6 +230,8 @@ files:
|
|
230
230
|
- docs/AccountsReceivableRetryStatsResponse.md
|
231
231
|
- docs/Activity.md
|
232
232
|
- docs/AddLibraryItemRequest.md
|
233
|
+
- docs/AdjustInternalCertificateRequest.md
|
234
|
+
- docs/AdjustInternalCertificateResponse.md
|
233
235
|
- docs/AffiliateApi.md
|
234
236
|
- docs/AffiliateClick.md
|
235
237
|
- docs/AffiliateClickQuery.md
|
@@ -317,6 +319,16 @@ files:
|
|
317
319
|
- docs/CartUpsellAfter.md
|
318
320
|
- docs/CartValidationRequest.md
|
319
321
|
- docs/CartValidationResponse.md
|
322
|
+
- docs/ChannelPartnerApi.md
|
323
|
+
- docs/ChannelPartnerCancelResponse.md
|
324
|
+
- docs/ChannelPartnerEstimateShippingResponse.md
|
325
|
+
- docs/ChannelPartnerImportResponse.md
|
326
|
+
- docs/ChannelPartnerOrder.md
|
327
|
+
- docs/ChannelPartnerOrderItem.md
|
328
|
+
- docs/ChannelPartnerOrderItemOption.md
|
329
|
+
- docs/ChannelPartnerOrderTransaction.md
|
330
|
+
- docs/ChannelPartnerOrderTransactionDetail.md
|
331
|
+
- docs/ChannelPartnerShippingEstimate.md
|
320
332
|
- docs/ChargebackApi.md
|
321
333
|
- docs/ChargebackDispute.md
|
322
334
|
- docs/ChargebackDisputeResponse.md
|
@@ -895,6 +907,7 @@ files:
|
|
895
907
|
- lib/ultracart_api.rb
|
896
908
|
- lib/ultracart_api/api/affiliate_api.rb
|
897
909
|
- lib/ultracart_api/api/auto_order_api.rb
|
910
|
+
- lib/ultracart_api/api/channel_partner_api.rb
|
898
911
|
- lib/ultracart_api/api/chargeback_api.rb
|
899
912
|
- lib/ultracart_api/api/checkout_api.rb
|
900
913
|
- lib/ultracart_api/api/configuration_api.rb
|
@@ -923,6 +936,8 @@ files:
|
|
923
936
|
- lib/ultracart_api/models/accounts_receivable_retry_stats_response.rb
|
924
937
|
- lib/ultracart_api/models/activity.rb
|
925
938
|
- lib/ultracart_api/models/add_library_item_request.rb
|
939
|
+
- lib/ultracart_api/models/adjust_internal_certificate_request.rb
|
940
|
+
- lib/ultracart_api/models/adjust_internal_certificate_response.rb
|
926
941
|
- lib/ultracart_api/models/affiliate_click.rb
|
927
942
|
- lib/ultracart_api/models/affiliate_click_query.rb
|
928
943
|
- lib/ultracart_api/models/affiliate_clicks_response.rb
|
@@ -1008,6 +1023,15 @@ files:
|
|
1008
1023
|
- lib/ultracart_api/models/cart_upsell_after.rb
|
1009
1024
|
- lib/ultracart_api/models/cart_validation_request.rb
|
1010
1025
|
- lib/ultracart_api/models/cart_validation_response.rb
|
1026
|
+
- lib/ultracart_api/models/channel_partner_cancel_response.rb
|
1027
|
+
- lib/ultracart_api/models/channel_partner_estimate_shipping_response.rb
|
1028
|
+
- lib/ultracart_api/models/channel_partner_import_response.rb
|
1029
|
+
- lib/ultracart_api/models/channel_partner_order.rb
|
1030
|
+
- lib/ultracart_api/models/channel_partner_order_item.rb
|
1031
|
+
- lib/ultracart_api/models/channel_partner_order_item_option.rb
|
1032
|
+
- lib/ultracart_api/models/channel_partner_order_transaction.rb
|
1033
|
+
- lib/ultracart_api/models/channel_partner_order_transaction_detail.rb
|
1034
|
+
- lib/ultracart_api/models/channel_partner_shipping_estimate.rb
|
1011
1035
|
- lib/ultracart_api/models/chargeback_dispute.rb
|
1012
1036
|
- lib/ultracart_api/models/chargeback_dispute_response.rb
|
1013
1037
|
- lib/ultracart_api/models/chargeback_disputes_response.rb
|