ultracart_api 4.1.18 → 4.1.20
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 +13 -10
- data/docs/ConversationVirtualAgentCapabilities.md +7 -1
- data/docs/ConversationVirtualAgentCapabilityZohoDeskDepartment.md +20 -0
- data/docs/CustomDashboard.md +3 -1
- data/docs/CustomDashboardExecutionParameter.md +24 -0
- data/docs/CustomDashboardSchedule.md +26 -0
- data/docs/{ChargebackDisputeResponse.md → CustomDashboardScheduleResponse.md} +4 -4
- data/docs/{ChargebackDisputesResponse.md → CustomDashboardSchedulesResponse.md} +4 -4
- data/docs/CustomReport.md +2 -0
- data/docs/CustomReportExecutionParameter.md +2 -0
- data/docs/DatawarehouseApi.md +220 -0
- data/docs/EmailCampaign.md +4 -0
- data/lib/ultracart_api/api/datawarehouse_api.rb +290 -0
- data/lib/ultracart_api/models/conversation_virtual_agent_capabilities.rb +38 -6
- data/lib/ultracart_api/models/conversation_virtual_agent_capability_zoho_desk_department.rb +228 -0
- data/lib/ultracart_api/models/custom_dashboard.rb +15 -4
- data/lib/ultracart_api/models/custom_dashboard_execution_parameter.rb +246 -0
- data/lib/ultracart_api/models/custom_dashboard_schedule.rb +258 -0
- data/lib/ultracart_api/models/{chargeback_dispute_response.rb → custom_dashboard_schedule_response.rb} +13 -13
- data/lib/ultracart_api/models/{chargeback_disputes_response.rb → custom_dashboard_schedules_response.rb} +16 -15
- data/lib/ultracart_api/models/custom_report.rb +10 -1
- data/lib/ultracart_api/models/custom_report_execution_parameter.rb +10 -1
- data/lib/ultracart_api/models/email_campaign.rb +21 -1
- data/lib/ultracart_api/models/order_payment.rb +2 -2
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +5 -4
- metadata +12 -10
- data/docs/ChargebackApi.md +0 -297
- data/docs/ChargebackDispute.md +0 -62
- data/lib/ultracart_api/api/chargeback_api.rb +0 -410
- data/lib/ultracart_api/models/chargeback_dispute.rb +0 -649
data/docs/ChargebackApi.md
DELETED
@@ -1,297 +0,0 @@
|
|
1
|
-
# UltracartClient::ChargebackApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
4
|
-
|
5
|
-
| Method | HTTP request | Description |
|
6
|
-
| ------ | ------------ | ----------- |
|
7
|
-
| [**delete_chargeback**](ChargebackApi.md#delete_chargeback) | **DELETE** /chargeback/chargebacks/{chargeback_dispute_oid} | Delete a chargeback |
|
8
|
-
| [**get_chargeback_dispute**](ChargebackApi.md#get_chargeback_dispute) | **GET** /chargeback/chargebacks/{chargeback_dispute_oid} | Retrieve a chargeback |
|
9
|
-
| [**get_chargeback_disputes**](ChargebackApi.md#get_chargeback_disputes) | **GET** /chargeback/chargebacks | Retrieve chargebacks |
|
10
|
-
| [**insert_chargeback**](ChargebackApi.md#insert_chargeback) | **POST** /chargeback/chargebacks | Insert a chargeback |
|
11
|
-
| [**update_chargeback**](ChargebackApi.md#update_chargeback) | **PUT** /chargeback/chargebacks/{chargeback_dispute_oid} | Update a chargeback |
|
12
|
-
|
13
|
-
|
14
|
-
## delete_chargeback
|
15
|
-
|
16
|
-
> <ChargebackDisputeResponse> delete_chargeback(chargeback_dispute_oid)
|
17
|
-
|
18
|
-
Delete a chargeback
|
19
|
-
|
20
|
-
Delete a chargeback on the UltraCart account.
|
21
|
-
|
22
|
-
|
23
|
-
### Examples
|
24
|
-
|
25
|
-
```ruby
|
26
|
-
# Internal API. No samples are provided as merchants will never need this api method
|
27
|
-
```
|
28
|
-
|
29
|
-
|
30
|
-
#### Using the delete_chargeback_with_http_info variant
|
31
|
-
|
32
|
-
This returns an Array which contains the response data, status code and headers.
|
33
|
-
|
34
|
-
> <Array(<ChargebackDisputeResponse>, Integer, Hash)> delete_chargeback_with_http_info(chargeback_dispute_oid)
|
35
|
-
|
36
|
-
```ruby
|
37
|
-
begin
|
38
|
-
# Delete a chargeback
|
39
|
-
data, status_code, headers = api_instance.delete_chargeback_with_http_info(chargeback_dispute_oid)
|
40
|
-
p status_code # => 2xx
|
41
|
-
p headers # => { ... }
|
42
|
-
p data # => <ChargebackDisputeResponse>
|
43
|
-
rescue UltracartClient::ApiError => e
|
44
|
-
puts "Error when calling ChargebackApi->delete_chargeback_with_http_info: #{e}"
|
45
|
-
end
|
46
|
-
```
|
47
|
-
|
48
|
-
### Parameters
|
49
|
-
|
50
|
-
| Name | Type | Description | Notes |
|
51
|
-
| ---- | ---- | ----------- | ----- |
|
52
|
-
| **chargeback_dispute_oid** | **Integer** | The chargeback_dispute_oid to delete. | |
|
53
|
-
|
54
|
-
### Return type
|
55
|
-
|
56
|
-
[**ChargebackDisputeResponse**](ChargebackDisputeResponse.md)
|
57
|
-
|
58
|
-
### Authorization
|
59
|
-
|
60
|
-
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
61
|
-
|
62
|
-
### HTTP request headers
|
63
|
-
|
64
|
-
- **Content-Type**: Not defined
|
65
|
-
- **Accept**: application/json
|
66
|
-
|
67
|
-
|
68
|
-
## get_chargeback_dispute
|
69
|
-
|
70
|
-
> <ChargebackDisputeResponse> get_chargeback_dispute(chargeback_dispute_oid, opts)
|
71
|
-
|
72
|
-
Retrieve a chargeback
|
73
|
-
|
74
|
-
Retrieves a single chargeback using the specified chargeback dispute oid.
|
75
|
-
|
76
|
-
|
77
|
-
### Examples
|
78
|
-
|
79
|
-
```ruby
|
80
|
-
# Internal API. No samples are provided as merchants will never need this api method
|
81
|
-
```
|
82
|
-
|
83
|
-
|
84
|
-
#### Using the get_chargeback_dispute_with_http_info variant
|
85
|
-
|
86
|
-
This returns an Array which contains the response data, status code and headers.
|
87
|
-
|
88
|
-
> <Array(<ChargebackDisputeResponse>, Integer, Hash)> get_chargeback_dispute_with_http_info(chargeback_dispute_oid, opts)
|
89
|
-
|
90
|
-
```ruby
|
91
|
-
begin
|
92
|
-
# Retrieve a chargeback
|
93
|
-
data, status_code, headers = api_instance.get_chargeback_dispute_with_http_info(chargeback_dispute_oid, opts)
|
94
|
-
p status_code # => 2xx
|
95
|
-
p headers # => { ... }
|
96
|
-
p data # => <ChargebackDisputeResponse>
|
97
|
-
rescue UltracartClient::ApiError => e
|
98
|
-
puts "Error when calling ChargebackApi->get_chargeback_dispute_with_http_info: #{e}"
|
99
|
-
end
|
100
|
-
```
|
101
|
-
|
102
|
-
### Parameters
|
103
|
-
|
104
|
-
| Name | Type | Description | Notes |
|
105
|
-
| ---- | ---- | ----------- | ----- |
|
106
|
-
| **chargeback_dispute_oid** | **Integer** | The chargeback dispute oid to retrieve. | |
|
107
|
-
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
108
|
-
|
109
|
-
### Return type
|
110
|
-
|
111
|
-
[**ChargebackDisputeResponse**](ChargebackDisputeResponse.md)
|
112
|
-
|
113
|
-
### Authorization
|
114
|
-
|
115
|
-
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
116
|
-
|
117
|
-
### HTTP request headers
|
118
|
-
|
119
|
-
- **Content-Type**: Not defined
|
120
|
-
- **Accept**: application/json
|
121
|
-
|
122
|
-
|
123
|
-
## get_chargeback_disputes
|
124
|
-
|
125
|
-
> <ChargebackDisputesResponse> get_chargeback_disputes(opts)
|
126
|
-
|
127
|
-
Retrieve chargebacks
|
128
|
-
|
129
|
-
Retrieves chargebacks from the account. If no parameters are specified, all chargebacks will be returned. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
|
130
|
-
|
131
|
-
|
132
|
-
### Examples
|
133
|
-
|
134
|
-
```ruby
|
135
|
-
# Internal API. No samples are provided as merchants will never need this api method
|
136
|
-
```
|
137
|
-
|
138
|
-
|
139
|
-
#### Using the get_chargeback_disputes_with_http_info variant
|
140
|
-
|
141
|
-
This returns an Array which contains the response data, status code and headers.
|
142
|
-
|
143
|
-
> <Array(<ChargebackDisputesResponse>, Integer, Hash)> get_chargeback_disputes_with_http_info(opts)
|
144
|
-
|
145
|
-
```ruby
|
146
|
-
begin
|
147
|
-
# Retrieve chargebacks
|
148
|
-
data, status_code, headers = api_instance.get_chargeback_disputes_with_http_info(opts)
|
149
|
-
p status_code # => 2xx
|
150
|
-
p headers # => { ... }
|
151
|
-
p data # => <ChargebackDisputesResponse>
|
152
|
-
rescue UltracartClient::ApiError => e
|
153
|
-
puts "Error when calling ChargebackApi->get_chargeback_disputes_with_http_info: #{e}"
|
154
|
-
end
|
155
|
-
```
|
156
|
-
|
157
|
-
### Parameters
|
158
|
-
|
159
|
-
| Name | Type | Description | Notes |
|
160
|
-
| ---- | ---- | ----------- | ----- |
|
161
|
-
| **order_id** | **String** | Order Id | [optional] |
|
162
|
-
| **case_number** | **String** | Case number | [optional] |
|
163
|
-
| **status** | **String** | Status | [optional] |
|
164
|
-
| **expiration_dts_start** | **String** | Expiration dts start | [optional] |
|
165
|
-
| **expiration_dts_end** | **String** | Expiration dts end | [optional] |
|
166
|
-
| **chargeback_dts_start** | **String** | Chargeback dts start | [optional] |
|
167
|
-
| **chargeback_dts_end** | **String** | Chargeback dts end | [optional] |
|
168
|
-
| **_limit** | **Integer** | The maximum number of records to return on this one API call. (Max 200) | [optional][default to 100] |
|
169
|
-
| **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
|
170
|
-
| **_since** | **String** | Fetch chargebacks that have been created/modified since this date/time. | [optional] |
|
171
|
-
| **_sort** | **String** | The sort order of the chargebacks. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional] |
|
172
|
-
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
173
|
-
|
174
|
-
### Return type
|
175
|
-
|
176
|
-
[**ChargebackDisputesResponse**](ChargebackDisputesResponse.md)
|
177
|
-
|
178
|
-
### Authorization
|
179
|
-
|
180
|
-
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
181
|
-
|
182
|
-
### HTTP request headers
|
183
|
-
|
184
|
-
- **Content-Type**: Not defined
|
185
|
-
- **Accept**: application/json
|
186
|
-
|
187
|
-
|
188
|
-
## insert_chargeback
|
189
|
-
|
190
|
-
> <ChargebackDisputeResponse> insert_chargeback(chargeback, opts)
|
191
|
-
|
192
|
-
Insert a chargeback
|
193
|
-
|
194
|
-
Insert a chargeback on the UltraCart account.
|
195
|
-
|
196
|
-
|
197
|
-
### Examples
|
198
|
-
|
199
|
-
```ruby
|
200
|
-
# Internal API. No samples are provided as merchants will never need this api method
|
201
|
-
```
|
202
|
-
|
203
|
-
|
204
|
-
#### Using the insert_chargeback_with_http_info variant
|
205
|
-
|
206
|
-
This returns an Array which contains the response data, status code and headers.
|
207
|
-
|
208
|
-
> <Array(<ChargebackDisputeResponse>, Integer, Hash)> insert_chargeback_with_http_info(chargeback, opts)
|
209
|
-
|
210
|
-
```ruby
|
211
|
-
begin
|
212
|
-
# Insert a chargeback
|
213
|
-
data, status_code, headers = api_instance.insert_chargeback_with_http_info(chargeback, opts)
|
214
|
-
p status_code # => 2xx
|
215
|
-
p headers # => { ... }
|
216
|
-
p data # => <ChargebackDisputeResponse>
|
217
|
-
rescue UltracartClient::ApiError => e
|
218
|
-
puts "Error when calling ChargebackApi->insert_chargeback_with_http_info: #{e}"
|
219
|
-
end
|
220
|
-
```
|
221
|
-
|
222
|
-
### Parameters
|
223
|
-
|
224
|
-
| Name | Type | Description | Notes |
|
225
|
-
| ---- | ---- | ----------- | ----- |
|
226
|
-
| **chargeback** | [**ChargebackDispute**](ChargebackDispute.md) | Chargeback to insert | |
|
227
|
-
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
228
|
-
|
229
|
-
### Return type
|
230
|
-
|
231
|
-
[**ChargebackDisputeResponse**](ChargebackDisputeResponse.md)
|
232
|
-
|
233
|
-
### Authorization
|
234
|
-
|
235
|
-
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
236
|
-
|
237
|
-
### HTTP request headers
|
238
|
-
|
239
|
-
- **Content-Type**: application/json; charset=UTF-8
|
240
|
-
- **Accept**: application/json
|
241
|
-
|
242
|
-
|
243
|
-
## update_chargeback
|
244
|
-
|
245
|
-
> <ChargebackDisputeResponse> update_chargeback(chargeback_dispute_oid, chargeback, opts)
|
246
|
-
|
247
|
-
Update a chargeback
|
248
|
-
|
249
|
-
Update a chargeback on the UltraCart account.
|
250
|
-
|
251
|
-
|
252
|
-
### Examples
|
253
|
-
|
254
|
-
```ruby
|
255
|
-
# Internal API. No samples are provided as merchants will never need this api method
|
256
|
-
```
|
257
|
-
|
258
|
-
|
259
|
-
#### Using the update_chargeback_with_http_info variant
|
260
|
-
|
261
|
-
This returns an Array which contains the response data, status code and headers.
|
262
|
-
|
263
|
-
> <Array(<ChargebackDisputeResponse>, Integer, Hash)> update_chargeback_with_http_info(chargeback_dispute_oid, chargeback, opts)
|
264
|
-
|
265
|
-
```ruby
|
266
|
-
begin
|
267
|
-
# Update a chargeback
|
268
|
-
data, status_code, headers = api_instance.update_chargeback_with_http_info(chargeback_dispute_oid, chargeback, opts)
|
269
|
-
p status_code # => 2xx
|
270
|
-
p headers # => { ... }
|
271
|
-
p data # => <ChargebackDisputeResponse>
|
272
|
-
rescue UltracartClient::ApiError => e
|
273
|
-
puts "Error when calling ChargebackApi->update_chargeback_with_http_info: #{e}"
|
274
|
-
end
|
275
|
-
```
|
276
|
-
|
277
|
-
### Parameters
|
278
|
-
|
279
|
-
| Name | Type | Description | Notes |
|
280
|
-
| ---- | ---- | ----------- | ----- |
|
281
|
-
| **chargeback_dispute_oid** | **Integer** | The chargeback_dispute_oid to update. | |
|
282
|
-
| **chargeback** | [**ChargebackDispute**](ChargebackDispute.md) | Chargeback to update | |
|
283
|
-
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
284
|
-
|
285
|
-
### Return type
|
286
|
-
|
287
|
-
[**ChargebackDisputeResponse**](ChargebackDisputeResponse.md)
|
288
|
-
|
289
|
-
### Authorization
|
290
|
-
|
291
|
-
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
292
|
-
|
293
|
-
### HTTP request headers
|
294
|
-
|
295
|
-
- **Content-Type**: application/json; charset=UTF-8
|
296
|
-
- **Accept**: application/json
|
297
|
-
|
data/docs/ChargebackDispute.md
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
# UltracartClient::ChargebackDispute
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **account_number** | **String** | Account number | [optional] |
|
8
|
-
| **adjustment_request_text** | **String** | Adjustment request text | [optional] |
|
9
|
-
| **amount** | **Float** | Amount | [optional] |
|
10
|
-
| **auth_code** | **String** | Auth code | [optional] |
|
11
|
-
| **case_number** | **String** | Case number | [optional] |
|
12
|
-
| **chargeback_dispute_oid** | **Integer** | Chargeback Dispute Oid | [optional] |
|
13
|
-
| **chargeback_dts** | **String** | Chargeback dts | [optional] |
|
14
|
-
| **currency** | **String** | Currency | [optional] |
|
15
|
-
| **customer_care_notes** | **String** | Customer care notes | [optional] |
|
16
|
-
| **encryption_key** | **String** | Encryption key | [optional] |
|
17
|
-
| **expiration_dts** | **String** | Expiration Dts | [optional] |
|
18
|
-
| **fax_failure_reason** | **String** | Fax failure reason | [optional] |
|
19
|
-
| **fax_number** | **String** | Fax number | [optional] |
|
20
|
-
| **fax_transaction_id** | **Integer** | Fax transaction id | [optional] |
|
21
|
-
| **icsid** | **String** | icsid | [optional] |
|
22
|
-
| **merchant_account_profile_oid** | **Integer** | Merchant account profile oid | [optional] |
|
23
|
-
| **order** | [**Order**](Order.md) | | [optional] |
|
24
|
-
| **order_id** | **String** | Order Id | [optional] |
|
25
|
-
| **partial_card_number** | **String** | Partial card number | [optional] |
|
26
|
-
| **pdf_file_oid** | **String** | PDF file oid | [optional] |
|
27
|
-
| **reason_code** | **String** | Reason code | [optional] |
|
28
|
-
| **status** | **String** | Status | [optional] |
|
29
|
-
| **website_url** | **String** | Website URL | [optional] |
|
30
|
-
|
31
|
-
## Example
|
32
|
-
|
33
|
-
```ruby
|
34
|
-
require 'ultracart_api'
|
35
|
-
|
36
|
-
instance = UltracartClient::ChargebackDispute.new(
|
37
|
-
account_number: null,
|
38
|
-
adjustment_request_text: null,
|
39
|
-
amount: null,
|
40
|
-
auth_code: null,
|
41
|
-
case_number: null,
|
42
|
-
chargeback_dispute_oid: null,
|
43
|
-
chargeback_dts: null,
|
44
|
-
currency: null,
|
45
|
-
customer_care_notes: null,
|
46
|
-
encryption_key: null,
|
47
|
-
expiration_dts: null,
|
48
|
-
fax_failure_reason: null,
|
49
|
-
fax_number: null,
|
50
|
-
fax_transaction_id: null,
|
51
|
-
icsid: null,
|
52
|
-
merchant_account_profile_oid: null,
|
53
|
-
order: null,
|
54
|
-
order_id: null,
|
55
|
-
partial_card_number: null,
|
56
|
-
pdf_file_oid: null,
|
57
|
-
reason_code: null,
|
58
|
-
status: null,
|
59
|
-
website_url: null
|
60
|
-
)
|
61
|
-
```
|
62
|
-
|