maytes-api-client-rb 0.1.1

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.
Files changed (163) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE +21 -0
  4. data/README.md +47 -0
  5. data/Rakefile +10 -0
  6. data/docs/CancelCheckout409Response.md +24 -0
  7. data/docs/CancelCheckoutRequest.md +18 -0
  8. data/docs/CancelCheckoutResponse.md +18 -0
  9. data/docs/CaptureCheckout409Response.md +24 -0
  10. data/docs/CaptureCheckout422Response.md +24 -0
  11. data/docs/CaptureCheckoutRequest.md +24 -0
  12. data/docs/CaptureCheckoutResponse.md +18 -0
  13. data/docs/Checkout.md +48 -0
  14. data/docs/CheckoutCancelled.md +22 -0
  15. data/docs/CheckoutCaptured.md +28 -0
  16. data/docs/CheckoutCreated.md +24 -0
  17. data/docs/CheckoutDiscount.md +30 -0
  18. data/docs/CheckoutFee.md +32 -0
  19. data/docs/CreateCheckout401Response.md +24 -0
  20. data/docs/CreateCheckout409Response.md +24 -0
  21. data/docs/CreateCheckout422Response.md +24 -0
  22. data/docs/CreateCheckoutRequest.md +44 -0
  23. data/docs/CreateCheckoutResponse.md +18 -0
  24. data/docs/CreateRefundRequest.md +20 -0
  25. data/docs/CustomerData.md +22 -0
  26. data/docs/DefaultApi.md +633 -0
  27. data/docs/DigitalGoodsCustomData.md +18 -0
  28. data/docs/DigitalGoodsLineItem.md +38 -0
  29. data/docs/DonationLineItem.md +36 -0
  30. data/docs/ErrorResponseDto.md +24 -0
  31. data/docs/Fee.md +24 -0
  32. data/docs/FeeBreakdownLine.md +24 -0
  33. data/docs/FoodBeverageLineItem.md +36 -0
  34. data/docs/GetCheckout404Response.md +24 -0
  35. data/docs/GetCheckout422Response.md +24 -0
  36. data/docs/GetCheckoutResponse.md +18 -0
  37. data/docs/GetSettlementResponse.md +18 -0
  38. data/docs/HealthResponse.md +18 -0
  39. data/docs/LineItem.md +94 -0
  40. data/docs/ListSettlementsResponse.md +18 -0
  41. data/docs/OAuthTokenRequest.md +30 -0
  42. data/docs/OAuthTokenResponse.md +26 -0
  43. data/docs/OtherLineItem.md +36 -0
  44. data/docs/PhysicalGoodsCustomData.md +20 -0
  45. data/docs/PhysicalGoodsLineItem.md +38 -0
  46. data/docs/RefundCheckout402Response.md +24 -0
  47. data/docs/RefundCheckout409Response.md +24 -0
  48. data/docs/ServiceCustomData.md +18 -0
  49. data/docs/ServiceLineItem.md +38 -0
  50. data/docs/Settlement.md +52 -0
  51. data/docs/Tax.md +22 -0
  52. data/docs/TicketCustomData.md +40 -0
  53. data/docs/TicketLineItem.md +38 -0
  54. data/docs/TicketSeating.md +24 -0
  55. data/lib/maytes_api_client/api/default_api.rb +642 -0
  56. data/lib/maytes_api_client/api_client.rb +397 -0
  57. data/lib/maytes_api_client/api_error.rb +58 -0
  58. data/lib/maytes_api_client/api_model_base.rb +88 -0
  59. data/lib/maytes_api_client/configuration.rb +316 -0
  60. data/lib/maytes_api_client/managed_client.rb +140 -0
  61. data/lib/maytes_api_client/models/cancel_checkout409_response.rb +258 -0
  62. data/lib/maytes_api_client/models/cancel_checkout_request.rb +147 -0
  63. data/lib/maytes_api_client/models/cancel_checkout_response.rb +164 -0
  64. data/lib/maytes_api_client/models/capture_checkout409_response.rb +258 -0
  65. data/lib/maytes_api_client/models/capture_checkout422_response.rb +258 -0
  66. data/lib/maytes_api_client/models/capture_checkout_request.rb +218 -0
  67. data/lib/maytes_api_client/models/capture_checkout_response.rb +164 -0
  68. data/lib/maytes_api_client/models/checkout.rb +483 -0
  69. data/lib/maytes_api_client/models/checkout_cancelled.rb +202 -0
  70. data/lib/maytes_api_client/models/checkout_captured.rb +266 -0
  71. data/lib/maytes_api_client/models/checkout_created.rb +242 -0
  72. data/lib/maytes_api_client/models/checkout_discount.rb +329 -0
  73. data/lib/maytes_api_client/models/checkout_fee.rb +351 -0
  74. data/lib/maytes_api_client/models/create_checkout401_response.rb +258 -0
  75. data/lib/maytes_api_client/models/create_checkout409_response.rb +258 -0
  76. data/lib/maytes_api_client/models/create_checkout422_response.rb +258 -0
  77. data/lib/maytes_api_client/models/create_checkout_request.rb +444 -0
  78. data/lib/maytes_api_client/models/create_checkout_response.rb +164 -0
  79. data/lib/maytes_api_client/models/create_refund_request.rb +212 -0
  80. data/lib/maytes_api_client/models/customer_data.rb +168 -0
  81. data/lib/maytes_api_client/models/digital_goods_custom_data.rb +148 -0
  82. data/lib/maytes_api_client/models/digital_goods_line_item.rb +414 -0
  83. data/lib/maytes_api_client/models/donation_line_item.rb +405 -0
  84. data/lib/maytes_api_client/models/error_response_dto.rb +227 -0
  85. data/lib/maytes_api_client/models/fee.rb +271 -0
  86. data/lib/maytes_api_client/models/fee_breakdown_line.rb +266 -0
  87. data/lib/maytes_api_client/models/food_beverage_line_item.rb +405 -0
  88. data/lib/maytes_api_client/models/get_checkout404_response.rb +258 -0
  89. data/lib/maytes_api_client/models/get_checkout422_response.rb +258 -0
  90. data/lib/maytes_api_client/models/get_checkout_response.rb +164 -0
  91. data/lib/maytes_api_client/models/get_settlement_response.rb +164 -0
  92. data/lib/maytes_api_client/models/health_response.rb +164 -0
  93. data/lib/maytes_api_client/models/line_item.rb +65 -0
  94. data/lib/maytes_api_client/models/list_settlements_response.rb +166 -0
  95. data/lib/maytes_api_client/models/o_auth_token_request.rb +244 -0
  96. data/lib/maytes_api_client/models/o_auth_token_response.rb +251 -0
  97. data/lib/maytes_api_client/models/other_line_item.rb +405 -0
  98. data/lib/maytes_api_client/models/physical_goods_custom_data.rb +173 -0
  99. data/lib/maytes_api_client/models/physical_goods_line_item.rb +431 -0
  100. data/lib/maytes_api_client/models/refund_checkout402_response.rb +258 -0
  101. data/lib/maytes_api_client/models/refund_checkout409_response.rb +258 -0
  102. data/lib/maytes_api_client/models/service_custom_data.rb +148 -0
  103. data/lib/maytes_api_client/models/service_line_item.rb +414 -0
  104. data/lib/maytes_api_client/models/settlement.rb +526 -0
  105. data/lib/maytes_api_client/models/tax.rb +202 -0
  106. data/lib/maytes_api_client/models/ticket_custom_data.rb +333 -0
  107. data/lib/maytes_api_client/models/ticket_line_item.rb +431 -0
  108. data/lib/maytes_api_client/models/ticket_seating.rb +176 -0
  109. data/lib/maytes_api_client/version.rb +15 -0
  110. data/lib/maytes_api_client/webhook_verifier.rb +212 -0
  111. data/lib/maytes_api_client.rb +95 -0
  112. data/maytes_api_client.gemspec +39 -0
  113. data/spec/api/default_api_spec.rb +145 -0
  114. data/spec/models/cancel_checkout409_response_spec.rb +58 -0
  115. data/spec/models/cancel_checkout_request_spec.rb +36 -0
  116. data/spec/models/cancel_checkout_response_spec.rb +36 -0
  117. data/spec/models/capture_checkout409_response_spec.rb +58 -0
  118. data/spec/models/capture_checkout422_response_spec.rb +58 -0
  119. data/spec/models/capture_checkout_request_spec.rb +54 -0
  120. data/spec/models/capture_checkout_response_spec.rb +36 -0
  121. data/spec/models/checkout_cancelled_spec.rb +48 -0
  122. data/spec/models/checkout_captured_spec.rb +66 -0
  123. data/spec/models/checkout_created_spec.rb +54 -0
  124. data/spec/models/checkout_discount_spec.rb +76 -0
  125. data/spec/models/checkout_fee_spec.rb +86 -0
  126. data/spec/models/checkout_spec.rb +126 -0
  127. data/spec/models/create_checkout401_response_spec.rb +58 -0
  128. data/spec/models/create_checkout409_response_spec.rb +58 -0
  129. data/spec/models/create_checkout422_response_spec.rb +58 -0
  130. data/spec/models/create_checkout_request_spec.rb +118 -0
  131. data/spec/models/create_checkout_response_spec.rb +36 -0
  132. data/spec/models/create_refund_request_spec.rb +42 -0
  133. data/spec/models/customer_data_spec.rb +48 -0
  134. data/spec/models/digital_goods_custom_data_spec.rb +36 -0
  135. data/spec/models/digital_goods_line_item_spec.rb +100 -0
  136. data/spec/models/donation_line_item_spec.rb +94 -0
  137. data/spec/models/error_response_dto_spec.rb +54 -0
  138. data/spec/models/fee_breakdown_line_spec.rb +58 -0
  139. data/spec/models/fee_spec.rb +54 -0
  140. data/spec/models/food_beverage_line_item_spec.rb +94 -0
  141. data/spec/models/get_checkout404_response_spec.rb +58 -0
  142. data/spec/models/get_checkout422_response_spec.rb +58 -0
  143. data/spec/models/get_checkout_response_spec.rb +36 -0
  144. data/spec/models/get_settlement_response_spec.rb +36 -0
  145. data/spec/models/health_response_spec.rb +36 -0
  146. data/spec/models/line_item_spec.rb +44 -0
  147. data/spec/models/list_settlements_response_spec.rb +36 -0
  148. data/spec/models/o_auth_token_request_spec.rb +72 -0
  149. data/spec/models/o_auth_token_response_spec.rb +60 -0
  150. data/spec/models/other_line_item_spec.rb +94 -0
  151. data/spec/models/physical_goods_custom_data_spec.rb +42 -0
  152. data/spec/models/physical_goods_line_item_spec.rb +100 -0
  153. data/spec/models/refund_checkout402_response_spec.rb +58 -0
  154. data/spec/models/refund_checkout409_response_spec.rb +58 -0
  155. data/spec/models/service_custom_data_spec.rb +36 -0
  156. data/spec/models/service_line_item_spec.rb +100 -0
  157. data/spec/models/settlement_spec.rb +138 -0
  158. data/spec/models/tax_spec.rb +48 -0
  159. data/spec/models/ticket_custom_data_spec.rb +106 -0
  160. data/spec/models/ticket_line_item_spec.rb +100 -0
  161. data/spec/models/ticket_seating_spec.rb +54 -0
  162. data/spec/spec_helper.rb +111 -0
  163. metadata +295 -0
@@ -0,0 +1,36 @@
1
+ # MaytesApiClient::DonationLineItem
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **item_ref** | **String** | | |
8
+ | **parent_ref** | **String** | | [optional] |
9
+ | **sku** | **String** | | [optional] |
10
+ | **name** | **String** | | |
11
+ | **description** | **String** | | [optional] |
12
+ | **image_url** | **String** | | [optional] |
13
+ | **quantity** | **Integer** | | |
14
+ | **unit_price** | **Integer** | | |
15
+ | **currency** | **String** | | |
16
+ | **category** | **String** | | |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'maytes_api_client'
22
+
23
+ instance = MaytesApiClient::DonationLineItem.new(
24
+ item_ref: null,
25
+ parent_ref: null,
26
+ sku: null,
27
+ name: null,
28
+ description: null,
29
+ image_url: null,
30
+ quantity: null,
31
+ unit_price: null,
32
+ currency: null,
33
+ category: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,24 @@
1
+ # MaytesApiClient::ErrorResponseDto
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message** | **String** | | |
8
+ | **error** | **String** | | |
9
+ | **code** | **String** | | |
10
+ | **metadata** | **Hash<String, Object>** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'maytes_api_client'
16
+
17
+ instance = MaytesApiClient::ErrorResponseDto.new(
18
+ message: null,
19
+ error: null,
20
+ code: null,
21
+ metadata: null
22
+ )
23
+ ```
24
+
data/docs/Fee.md ADDED
@@ -0,0 +1,24 @@
1
+ # MaytesApiClient::Fee
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **gross** | **Integer** | | |
8
+ | **discount** | **Integer** | | |
9
+ | **net** | **Integer** | | |
10
+ | **breakdown** | [**Array<FeeBreakdownLine>**](FeeBreakdownLine.md) | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'maytes_api_client'
16
+
17
+ instance = MaytesApiClient::Fee.new(
18
+ gross: null,
19
+ discount: null,
20
+ net: null,
21
+ breakdown: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,24 @@
1
+ # MaytesApiClient::FeeBreakdownLine
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | | |
8
+ | **id** | **String** | | |
9
+ | **label** | **String** | | |
10
+ | **amount** | **Integer** | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'maytes_api_client'
16
+
17
+ instance = MaytesApiClient::FeeBreakdownLine.new(
18
+ type: null,
19
+ id: null,
20
+ label: null,
21
+ amount: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,36 @@
1
+ # MaytesApiClient::FoodBeverageLineItem
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **item_ref** | **String** | | |
8
+ | **parent_ref** | **String** | | [optional] |
9
+ | **sku** | **String** | | [optional] |
10
+ | **name** | **String** | | |
11
+ | **description** | **String** | | [optional] |
12
+ | **image_url** | **String** | | [optional] |
13
+ | **quantity** | **Integer** | | |
14
+ | **unit_price** | **Integer** | | |
15
+ | **currency** | **String** | | |
16
+ | **category** | **String** | | |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'maytes_api_client'
22
+
23
+ instance = MaytesApiClient::FoodBeverageLineItem.new(
24
+ item_ref: null,
25
+ parent_ref: null,
26
+ sku: null,
27
+ name: null,
28
+ description: null,
29
+ image_url: null,
30
+ quantity: null,
31
+ unit_price: null,
32
+ currency: null,
33
+ category: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,24 @@
1
+ # MaytesApiClient::GetCheckout404Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message** | **String** | | |
8
+ | **error** | **String** | | |
9
+ | **code** | **String** | | |
10
+ | **metadata** | **Hash<String, Object>** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'maytes_api_client'
16
+
17
+ instance = MaytesApiClient::GetCheckout404Response.new(
18
+ message: null,
19
+ error: null,
20
+ code: null,
21
+ metadata: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,24 @@
1
+ # MaytesApiClient::GetCheckout422Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message** | **String** | | |
8
+ | **error** | **String** | | |
9
+ | **code** | **String** | | |
10
+ | **metadata** | **Hash<String, Object>** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'maytes_api_client'
16
+
17
+ instance = MaytesApiClient::GetCheckout422Response.new(
18
+ message: null,
19
+ error: null,
20
+ code: null,
21
+ metadata: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,18 @@
1
+ # MaytesApiClient::GetCheckoutResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Checkout**](Checkout.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'maytes_api_client'
13
+
14
+ instance = MaytesApiClient::GetCheckoutResponse.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # MaytesApiClient::GetSettlementResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Settlement**](Settlement.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'maytes_api_client'
13
+
14
+ instance = MaytesApiClient::GetSettlementResponse.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # MaytesApiClient::HealthResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'maytes_api_client'
13
+
14
+ instance = MaytesApiClient::HealthResponse.new(
15
+ status: ok
16
+ )
17
+ ```
18
+
data/docs/LineItem.md ADDED
@@ -0,0 +1,94 @@
1
+ # MaytesApiClient::LineItem
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'maytes_api_client'
13
+
14
+ MaytesApiClient::LineItem.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'DigitalGoodsLineItem',
18
+ # :'DonationLineItem',
19
+ # :'FoodBeverageLineItem',
20
+ # :'OtherLineItem',
21
+ # :'PhysicalGoodsLineItem',
22
+ # :'ServiceLineItem',
23
+ # :'TicketLineItem'
24
+ # ]
25
+ ```
26
+
27
+ ### `openapi_discriminator_name`
28
+
29
+ Returns the discriminator's property name.
30
+
31
+ #### Example
32
+
33
+ ```ruby
34
+ require 'maytes_api_client'
35
+
36
+ MaytesApiClient::LineItem.openapi_discriminator_name
37
+ # => :'category'
38
+ ```
39
+
40
+ ### `openapi_discriminator_name`
41
+
42
+ Returns the discriminator's mapping.
43
+
44
+ #### Example
45
+
46
+ ```ruby
47
+ require 'maytes_api_client'
48
+
49
+ MaytesApiClient::LineItem.openapi_discriminator_mapping
50
+ # =>
51
+ # {
52
+ # :'digital_goods' => :'DigitalGoodsLineItem',
53
+ # :'donation' => :'DonationLineItem',
54
+ # :'food_beverage' => :'FoodBeverageLineItem',
55
+ # :'other' => :'OtherLineItem',
56
+ # :'physical_goods' => :'PhysicalGoodsLineItem',
57
+ # :'service' => :'ServiceLineItem',
58
+ # :'ticket' => :'TicketLineItem'
59
+ # }
60
+ ```
61
+
62
+ ### build
63
+
64
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
65
+
66
+ #### Example
67
+
68
+ ```ruby
69
+ require 'maytes_api_client'
70
+
71
+ MaytesApiClient::LineItem.build(data)
72
+ # => #<DigitalGoodsLineItem:0x00007fdd4aab02a0>
73
+
74
+ MaytesApiClient::LineItem.build(data_that_doesnt_match)
75
+ # => nil
76
+ ```
77
+
78
+ #### Parameters
79
+
80
+ | Name | Type | Description |
81
+ | ---- | ---- | ----------- |
82
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
83
+
84
+ #### Return type
85
+
86
+ - `DigitalGoodsLineItem`
87
+ - `DonationLineItem`
88
+ - `FoodBeverageLineItem`
89
+ - `OtherLineItem`
90
+ - `PhysicalGoodsLineItem`
91
+ - `ServiceLineItem`
92
+ - `TicketLineItem`
93
+ - `nil` (if no type matches)
94
+
@@ -0,0 +1,18 @@
1
+ # MaytesApiClient::ListSettlementsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;Settlement&gt;**](Settlement.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'maytes_api_client'
13
+
14
+ instance = MaytesApiClient::ListSettlementsResponse.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,30 @@
1
+ # MaytesApiClient::OAuthTokenRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **grant_type** | **String** | | |
8
+ | **client_id** | **String** | | |
9
+ | **client_secret** | **String** | | [optional] |
10
+ | **username** | **String** | | [optional] |
11
+ | **password** | **String** | | [optional] |
12
+ | **refresh_token** | **String** | | [optional] |
13
+ | **scope** | **String** | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'maytes_api_client'
19
+
20
+ instance = MaytesApiClient::OAuthTokenRequest.new(
21
+ grant_type: null,
22
+ client_id: null,
23
+ client_secret: null,
24
+ username: null,
25
+ password: null,
26
+ refresh_token: null,
27
+ scope: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,26 @@
1
+ # MaytesApiClient::OAuthTokenResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **access_token** | **String** | | |
8
+ | **refresh_token** | **String** | | [optional] |
9
+ | **expires_in** | **Float** | | |
10
+ | **token_type** | **String** | | |
11
+ | **scope** | **String** | | |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'maytes_api_client'
17
+
18
+ instance = MaytesApiClient::OAuthTokenResponse.new(
19
+ access_token: null,
20
+ refresh_token: null,
21
+ expires_in: null,
22
+ token_type: null,
23
+ scope: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,36 @@
1
+ # MaytesApiClient::OtherLineItem
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **item_ref** | **String** | | |
8
+ | **parent_ref** | **String** | | [optional] |
9
+ | **sku** | **String** | | [optional] |
10
+ | **name** | **String** | | |
11
+ | **description** | **String** | | [optional] |
12
+ | **image_url** | **String** | | [optional] |
13
+ | **quantity** | **Integer** | | |
14
+ | **unit_price** | **Integer** | | |
15
+ | **currency** | **String** | | |
16
+ | **category** | **String** | | |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'maytes_api_client'
22
+
23
+ instance = MaytesApiClient::OtherLineItem.new(
24
+ item_ref: null,
25
+ parent_ref: null,
26
+ sku: null,
27
+ name: null,
28
+ description: null,
29
+ image_url: null,
30
+ quantity: null,
31
+ unit_price: null,
32
+ currency: null,
33
+ category: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,20 @@
1
+ # MaytesApiClient::PhysicalGoodsCustomData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **product_id** | **String** | | |
8
+ | **comments** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'maytes_api_client'
14
+
15
+ instance = MaytesApiClient::PhysicalGoodsCustomData.new(
16
+ product_id: null,
17
+ comments: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,38 @@
1
+ # MaytesApiClient::PhysicalGoodsLineItem
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **item_ref** | **String** | | |
8
+ | **parent_ref** | **String** | | [optional] |
9
+ | **sku** | **String** | | [optional] |
10
+ | **name** | **String** | | |
11
+ | **description** | **String** | | [optional] |
12
+ | **image_url** | **String** | | [optional] |
13
+ | **quantity** | **Integer** | | |
14
+ | **unit_price** | **Integer** | | |
15
+ | **currency** | **String** | | |
16
+ | **category** | **String** | | |
17
+ | **custom_data** | [**PhysicalGoodsCustomData**](PhysicalGoodsCustomData.md) | | |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'maytes_api_client'
23
+
24
+ instance = MaytesApiClient::PhysicalGoodsLineItem.new(
25
+ item_ref: null,
26
+ parent_ref: null,
27
+ sku: null,
28
+ name: null,
29
+ description: null,
30
+ image_url: null,
31
+ quantity: null,
32
+ unit_price: null,
33
+ currency: null,
34
+ category: null,
35
+ custom_data: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,24 @@
1
+ # MaytesApiClient::RefundCheckout402Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message** | **String** | | |
8
+ | **error** | **String** | | |
9
+ | **code** | **String** | | |
10
+ | **metadata** | **Hash&lt;String, Object&gt;** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'maytes_api_client'
16
+
17
+ instance = MaytesApiClient::RefundCheckout402Response.new(
18
+ message: null,
19
+ error: null,
20
+ code: null,
21
+ metadata: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,24 @@
1
+ # MaytesApiClient::RefundCheckout409Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message** | **String** | | |
8
+ | **error** | **String** | | |
9
+ | **code** | **String** | | |
10
+ | **metadata** | **Hash&lt;String, Object&gt;** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'maytes_api_client'
16
+
17
+ instance = MaytesApiClient::RefundCheckout409Response.new(
18
+ message: null,
19
+ error: null,
20
+ code: null,
21
+ metadata: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,18 @@
1
+ # MaytesApiClient::ServiceCustomData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **service_type** | **String** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'maytes_api_client'
13
+
14
+ instance = MaytesApiClient::ServiceCustomData.new(
15
+ service_type: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,38 @@
1
+ # MaytesApiClient::ServiceLineItem
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **item_ref** | **String** | | |
8
+ | **parent_ref** | **String** | | [optional] |
9
+ | **sku** | **String** | | [optional] |
10
+ | **name** | **String** | | |
11
+ | **description** | **String** | | [optional] |
12
+ | **image_url** | **String** | | [optional] |
13
+ | **quantity** | **Integer** | | |
14
+ | **unit_price** | **Integer** | | |
15
+ | **currency** | **String** | | |
16
+ | **category** | **String** | | |
17
+ | **custom_data** | [**ServiceCustomData**](ServiceCustomData.md) | | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'maytes_api_client'
23
+
24
+ instance = MaytesApiClient::ServiceLineItem.new(
25
+ item_ref: null,
26
+ parent_ref: null,
27
+ sku: null,
28
+ name: null,
29
+ description: null,
30
+ image_url: null,
31
+ quantity: null,
32
+ unit_price: null,
33
+ currency: null,
34
+ category: null,
35
+ custom_data: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,52 @@
1
+ # MaytesApiClient::Settlement
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **uuid** | **String** | | |
8
+ | **merchant_uuid** | **String** | | |
9
+ | **period_from** | **Time** | | |
10
+ | **period_to** | **Time** | | |
11
+ | **idempotency_key** | **String** | | |
12
+ | **merchant_payable_amount** | **Integer** | | |
13
+ | **settled_amount** | **Integer** | | |
14
+ | **currency** | **String** | | |
15
+ | **status** | **String** | | |
16
+ | **stripe_transfer_id** | **String** | | |
17
+ | **notes** | **String** | | |
18
+ | **settled_at** | **Time** | | |
19
+ | **expires_at** | **Time** | | |
20
+ | **reviewed_by_user_uuid** | **String** | | |
21
+ | **reviewed_at** | **Time** | | |
22
+ | **rejection_reason** | **String** | | |
23
+ | **created_at** | **Time** | | |
24
+ | **updated_at** | **Time** | | |
25
+
26
+ ## Example
27
+
28
+ ```ruby
29
+ require 'maytes_api_client'
30
+
31
+ instance = MaytesApiClient::Settlement.new(
32
+ uuid: null,
33
+ merchant_uuid: null,
34
+ period_from: null,
35
+ period_to: null,
36
+ idempotency_key: null,
37
+ merchant_payable_amount: null,
38
+ settled_amount: null,
39
+ currency: null,
40
+ status: null,
41
+ stripe_transfer_id: null,
42
+ notes: null,
43
+ settled_at: null,
44
+ expires_at: null,
45
+ reviewed_by_user_uuid: null,
46
+ reviewed_at: null,
47
+ rejection_reason: null,
48
+ created_at: null,
49
+ updated_at: null
50
+ )
51
+ ```
52
+