order_cloud 1.0.45.pre.staging → 1.0.57

Sign up to get free protection for your applications and to get access to all the features.
Files changed (446) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +28 -0
  3. data/Gemfile.lock +34 -0
  4. data/LICENSE +201 -0
  5. data/README.md +552 -0
  6. data/Rakefile +31 -0
  7. data/docs/AccessToken.md +11 -0
  8. data/docs/Address.md +20 -0
  9. data/docs/AddressApi.md +520 -0
  10. data/docs/AddressAssignment.md +12 -0
  11. data/docs/AdminAddressApi.md +324 -0
  12. data/docs/AdminUserApi.md +324 -0
  13. data/docs/AdminUserGroupApi.md +482 -0
  14. data/docs/ApprovalRule.md +13 -0
  15. data/docs/ApprovalRuleApi.md +342 -0
  16. data/docs/BaseSpec.md +16 -0
  17. data/docs/Buyer.md +12 -0
  18. data/docs/BuyerAddress.md +23 -0
  19. data/docs/BuyerApi.md +324 -0
  20. data/docs/BuyerCreditCard.md +16 -0
  21. data/docs/BuyerProduct.md +23 -0
  22. data/docs/BuyerShipment.md +19 -0
  23. data/docs/BuyerSpec.md +17 -0
  24. data/docs/Catalog.md +13 -0
  25. data/docs/CatalogApi.md +640 -0
  26. data/docs/CatalogAssignment.md +11 -0
  27. data/docs/Category.md +15 -0
  28. data/docs/CategoryApi.md +690 -0
  29. data/docs/CategoryAssignment.md +12 -0
  30. data/docs/CategoryProductAssignment.md +10 -0
  31. data/docs/CostCenter.md +11 -0
  32. data/docs/CostCenterApi.md +516 -0
  33. data/docs/CostCenterAssignment.md +9 -0
  34. data/docs/CreditCard.md +15 -0
  35. data/docs/CreditCardApi.md +516 -0
  36. data/docs/CreditCardAssignment.md +10 -0
  37. data/docs/ImpersonateTokenRequest.md +9 -0
  38. data/docs/ImpersonationConfig.md +16 -0
  39. data/docs/ImpersonationConfigApi.md +324 -0
  40. data/docs/Inventory.md +13 -0
  41. data/docs/LineItem.md +24 -0
  42. data/docs/LineItemApi.md +478 -0
  43. data/docs/LineItemProduct.md +16 -0
  44. data/docs/LineItemSpec.md +11 -0
  45. data/docs/ListAddress.md +9 -0
  46. data/docs/ListAddressAssignment.md +9 -0
  47. data/docs/ListApprovalRule.md +9 -0
  48. data/docs/ListArgs.md +13 -0
  49. data/docs/ListBuyer.md +9 -0
  50. data/docs/ListBuyerAddress.md +9 -0
  51. data/docs/ListBuyerCreditCard.md +9 -0
  52. data/docs/ListBuyerProduct.md +9 -0
  53. data/docs/ListBuyerShipment.md +9 -0
  54. data/docs/ListBuyerSpec.md +9 -0
  55. data/docs/ListCatalog.md +9 -0
  56. data/docs/ListCatalogAssignment.md +9 -0
  57. data/docs/ListCategory.md +9 -0
  58. data/docs/ListCategoryAssignment.md +9 -0
  59. data/docs/ListCategoryProductAssignment.md +9 -0
  60. data/docs/ListCostCenter.md +9 -0
  61. data/docs/ListCostCenterAssignment.md +9 -0
  62. data/docs/ListCreditCard.md +9 -0
  63. data/docs/ListCreditCardAssignment.md +9 -0
  64. data/docs/ListImpersonationConfig.md +9 -0
  65. data/docs/ListLineItem.md +9 -0
  66. data/docs/ListMessageCCListenerAssignment.md +9 -0
  67. data/docs/ListMessageConfig.md +9 -0
  68. data/docs/ListMessageSender.md +9 -0
  69. data/docs/ListMessageSenderAssignment.md +9 -0
  70. data/docs/ListOrder.md +9 -0
  71. data/docs/ListOrderApproval.md +9 -0
  72. data/docs/ListOrderPromotion.md +9 -0
  73. data/docs/ListPayment.md +9 -0
  74. data/docs/ListPriceSchedule.md +9 -0
  75. data/docs/ListProduct.md +9 -0
  76. data/docs/ListProductAssignment.md +9 -0
  77. data/docs/ListProductCatalogAssignment.md +9 -0
  78. data/docs/ListPromotion.md +9 -0
  79. data/docs/ListPromotionAssignment.md +9 -0
  80. data/docs/ListSecurityProfile.md +9 -0
  81. data/docs/ListSecurityProfileAssignment.md +9 -0
  82. data/docs/ListShipment.md +9 -0
  83. data/docs/ListShipmentItem.md +9 -0
  84. data/docs/ListSpec.md +9 -0
  85. data/docs/ListSpecOption.md +9 -0
  86. data/docs/ListSpecProductAssignment.md +9 -0
  87. data/docs/ListSpendingAccount.md +9 -0
  88. data/docs/ListSpendingAccountAssignment.md +9 -0
  89. data/docs/ListSupplier.md +9 -0
  90. data/docs/ListUser.md +9 -0
  91. data/docs/ListUserGroup.md +9 -0
  92. data/docs/ListUserGroupAssignment.md +9 -0
  93. data/docs/ListVariant.md +9 -0
  94. data/docs/MeApi.md +2002 -0
  95. data/docs/MeBuyer.md +9 -0
  96. data/docs/MeUser.md +19 -0
  97. data/docs/MessageCCListenerAssignment.md +13 -0
  98. data/docs/MessageConfig.md +14 -0
  99. data/docs/MessageSender.md +10 -0
  100. data/docs/MessageSenderAssignment.md +11 -0
  101. data/docs/MessageSendersApi.md +398 -0
  102. data/docs/Meta.md +12 -0
  103. data/docs/Order.md +30 -0
  104. data/docs/OrderApi.md +1161 -0
  105. data/docs/OrderApproval.md +14 -0
  106. data/docs/OrderApprovalInfo.md +9 -0
  107. data/docs/OrderPromotion.md +22 -0
  108. data/docs/PasswordReset.md +10 -0
  109. data/docs/PasswordResetApi.md +109 -0
  110. data/docs/PasswordResetRequest.md +11 -0
  111. data/docs/Payment.md +17 -0
  112. data/docs/PaymentApi.md +418 -0
  113. data/docs/PaymentTransaction.md +15 -0
  114. data/docs/PriceBreak.md +9 -0
  115. data/docs/PriceSchedule.md +17 -0
  116. data/docs/PriceScheduleApi.md +429 -0
  117. data/docs/Product.md +23 -0
  118. data/docs/ProductApi.md +953 -0
  119. data/docs/ProductAssignment.md +11 -0
  120. data/docs/ProductBase.md +22 -0
  121. data/docs/ProductCatalogAssignment.md +9 -0
  122. data/docs/Promotion.md +21 -0
  123. data/docs/PromotionApi.md +494 -0
  124. data/docs/PromotionAssignment.md +10 -0
  125. data/docs/SecurityProfile.md +10 -0
  126. data/docs/SecurityProfileApi.md +292 -0
  127. data/docs/SecurityProfileAssignment.md +12 -0
  128. data/docs/Shipment.md +20 -0
  129. data/docs/ShipmentApi.md +554 -0
  130. data/docs/ShipmentItem.md +16 -0
  131. data/docs/Spec.md +17 -0
  132. data/docs/SpecApi.md +820 -0
  133. data/docs/SpecOption.md +14 -0
  134. data/docs/SpecProductAssignment.md +11 -0
  135. data/docs/SpendingAccount.md +15 -0
  136. data/docs/SpendingAccountApi.md +516 -0
  137. data/docs/SpendingAccountAssignment.md +11 -0
  138. data/docs/Supplier.md +11 -0
  139. data/docs/SupplierApi.md +324 -0
  140. data/docs/SupplierUserApi.md +400 -0
  141. data/docs/SupplierUserGroupApi.md +509 -0
  142. data/docs/TokenPasswordReset.md +8 -0
  143. data/docs/User.md +18 -0
  144. data/docs/UserApi.md +400 -0
  145. data/docs/UserGroup.md +11 -0
  146. data/docs/UserGroupApi.md +509 -0
  147. data/docs/UserGroupAssignment.md +9 -0
  148. data/docs/Variant.md +12 -0
  149. data/git_push.sh +67 -0
  150. data/lib/order_cloud.rb +193 -0
  151. data/lib/order_cloud/api/address_api.rb +628 -0
  152. data/lib/order_cloud/api/admin_address_api.rb +397 -0
  153. data/lib/order_cloud/api/admin_user_api.rb +397 -0
  154. data/lib/order_cloud/api/admin_user_group_api.rb +578 -0
  155. data/lib/order_cloud/api/approval_rule_api.rb +421 -0
  156. data/lib/order_cloud/api/auth_api.rb +138 -0
  157. data/lib/order_cloud/api/buyer_api.rb +397 -0
  158. data/lib/order_cloud/api/catalog_api.rb +760 -0
  159. data/lib/order_cloud/api/category_api.rb +826 -0
  160. data/lib/order_cloud/api/cost_center_api.rb +622 -0
  161. data/lib/order_cloud/api/credit_card_api.rb +622 -0
  162. data/lib/order_cloud/api/impersonation_config_api.rb +397 -0
  163. data/lib/order_cloud/api/line_item_api.rb +583 -0
  164. data/lib/order_cloud/api/me_api.rb +2345 -0
  165. data/lib/order_cloud/api/message_senders_api.rb +484 -0
  166. data/lib/order_cloud/api/order_api.rb +1377 -0
  167. data/lib/order_cloud/api/password_reset_api.rb +150 -0
  168. data/lib/order_cloud/api/payment_api.rb +513 -0
  169. data/lib/order_cloud/api/price_schedule_api.rb +519 -0
  170. data/lib/order_cloud/api/product_api.rb +1126 -0
  171. data/lib/order_cloud/api/promotion_api.rb +594 -0
  172. data/lib/order_cloud/api/security_profile_api.rb +363 -0
  173. data/lib/order_cloud/api/shipment_api.rb +665 -0
  174. data/lib/order_cloud/api/spec_api.rb +971 -0
  175. data/lib/order_cloud/api/spending_account_api.rb +622 -0
  176. data/lib/order_cloud/api/supplier_api.rb +397 -0
  177. data/lib/order_cloud/api/supplier_user_api.rb +489 -0
  178. data/lib/order_cloud/api/supplier_user_group_api.rb +614 -0
  179. data/lib/order_cloud/api/user_api.rb +489 -0
  180. data/lib/order_cloud/api/user_group_api.rb +614 -0
  181. data/lib/order_cloud/api_client.rb +385 -0
  182. data/lib/order_cloud/api_error.rb +47 -0
  183. data/lib/order_cloud/configuration.rb +245 -0
  184. data/lib/order_cloud/models/access_token.rb +226 -0
  185. data/lib/order_cloud/models/address.rb +307 -0
  186. data/lib/order_cloud/models/address_assignment.rb +235 -0
  187. data/lib/order_cloud/models/approval_rule.rb +244 -0
  188. data/lib/order_cloud/models/base_spec.rb +271 -0
  189. data/lib/order_cloud/models/buyer.rb +235 -0
  190. data/lib/order_cloud/models/buyer_address.rb +334 -0
  191. data/lib/order_cloud/models/buyer_credit_card.rb +271 -0
  192. data/lib/order_cloud/models/buyer_product.rb +334 -0
  193. data/lib/order_cloud/models/buyer_shipment.rb +298 -0
  194. data/lib/order_cloud/models/buyer_spec.rb +282 -0
  195. data/lib/order_cloud/models/catalog.rb +244 -0
  196. data/lib/order_cloud/models/catalog_assignment.rb +226 -0
  197. data/lib/order_cloud/models/category.rb +262 -0
  198. data/lib/order_cloud/models/category_assignment.rb +235 -0
  199. data/lib/order_cloud/models/category_product_assignment.rb +217 -0
  200. data/lib/order_cloud/models/cost_center.rb +226 -0
  201. data/lib/order_cloud/models/cost_center_assignment.rb +208 -0
  202. data/lib/order_cloud/models/credit_card.rb +262 -0
  203. data/lib/order_cloud/models/credit_card_assignment.rb +217 -0
  204. data/lib/order_cloud/models/impersonate_token_request.rb +210 -0
  205. data/lib/order_cloud/models/impersonation_config.rb +271 -0
  206. data/lib/order_cloud/models/inventory.rb +244 -0
  207. data/lib/order_cloud/models/line_item.rb +345 -0
  208. data/lib/order_cloud/models/line_item_product.rb +271 -0
  209. data/lib/order_cloud/models/line_item_spec.rb +226 -0
  210. data/lib/order_cloud/models/list_address.rb +210 -0
  211. data/lib/order_cloud/models/list_address_assignment.rb +210 -0
  212. data/lib/order_cloud/models/list_approval_rule.rb +210 -0
  213. data/lib/order_cloud/models/list_args.rb +248 -0
  214. data/lib/order_cloud/models/list_buyer.rb +210 -0
  215. data/lib/order_cloud/models/list_buyer_address.rb +210 -0
  216. data/lib/order_cloud/models/list_buyer_credit_card.rb +210 -0
  217. data/lib/order_cloud/models/list_buyer_product.rb +210 -0
  218. data/lib/order_cloud/models/list_buyer_shipment.rb +210 -0
  219. data/lib/order_cloud/models/list_buyer_spec.rb +210 -0
  220. data/lib/order_cloud/models/list_catalog.rb +210 -0
  221. data/lib/order_cloud/models/list_catalog_assignment.rb +210 -0
  222. data/lib/order_cloud/models/list_category.rb +210 -0
  223. data/lib/order_cloud/models/list_category_assignment.rb +210 -0
  224. data/lib/order_cloud/models/list_category_product_assignment.rb +210 -0
  225. data/lib/order_cloud/models/list_cost_center.rb +210 -0
  226. data/lib/order_cloud/models/list_cost_center_assignment.rb +210 -0
  227. data/lib/order_cloud/models/list_credit_card.rb +210 -0
  228. data/lib/order_cloud/models/list_credit_card_assignment.rb +210 -0
  229. data/lib/order_cloud/models/list_impersonation_config.rb +210 -0
  230. data/lib/order_cloud/models/list_line_item.rb +210 -0
  231. data/lib/order_cloud/models/list_message_cc_listener_assignment.rb +210 -0
  232. data/lib/order_cloud/models/list_message_config.rb +210 -0
  233. data/lib/order_cloud/models/list_message_sender.rb +210 -0
  234. data/lib/order_cloud/models/list_message_sender_assignment.rb +210 -0
  235. data/lib/order_cloud/models/list_order.rb +210 -0
  236. data/lib/order_cloud/models/list_order_approval.rb +210 -0
  237. data/lib/order_cloud/models/list_order_promotion.rb +210 -0
  238. data/lib/order_cloud/models/list_payment.rb +210 -0
  239. data/lib/order_cloud/models/list_price_schedule.rb +210 -0
  240. data/lib/order_cloud/models/list_product.rb +210 -0
  241. data/lib/order_cloud/models/list_product_assignment.rb +210 -0
  242. data/lib/order_cloud/models/list_product_catalog_assignment.rb +210 -0
  243. data/lib/order_cloud/models/list_promotion.rb +210 -0
  244. data/lib/order_cloud/models/list_promotion_assignment.rb +210 -0
  245. data/lib/order_cloud/models/list_security_profile.rb +210 -0
  246. data/lib/order_cloud/models/list_security_profile_assignment.rb +210 -0
  247. data/lib/order_cloud/models/list_shipment.rb +210 -0
  248. data/lib/order_cloud/models/list_shipment_item.rb +210 -0
  249. data/lib/order_cloud/models/list_spec.rb +210 -0
  250. data/lib/order_cloud/models/list_spec_option.rb +210 -0
  251. data/lib/order_cloud/models/list_spec_product_assignment.rb +210 -0
  252. data/lib/order_cloud/models/list_spending_account.rb +210 -0
  253. data/lib/order_cloud/models/list_spending_account_assignment.rb +210 -0
  254. data/lib/order_cloud/models/list_supplier.rb +210 -0
  255. data/lib/order_cloud/models/list_user.rb +210 -0
  256. data/lib/order_cloud/models/list_user_group.rb +210 -0
  257. data/lib/order_cloud/models/list_user_group_assignment.rb +210 -0
  258. data/lib/order_cloud/models/list_variant.rb +210 -0
  259. data/lib/order_cloud/models/me_buyer.rb +208 -0
  260. data/lib/order_cloud/models/me_user.rb +300 -0
  261. data/lib/order_cloud/models/message_cc_listener_assignment.rb +244 -0
  262. data/lib/order_cloud/models/message_config.rb +255 -0
  263. data/lib/order_cloud/models/message_sender.rb +219 -0
  264. data/lib/order_cloud/models/message_sender_assignment.rb +226 -0
  265. data/lib/order_cloud/models/meta.rb +237 -0
  266. data/lib/order_cloud/models/order.rb +397 -0
  267. data/lib/order_cloud/models/order_approval.rb +253 -0
  268. data/lib/order_cloud/models/order_approval_info.rb +208 -0
  269. data/lib/order_cloud/models/order_promotion.rb +325 -0
  270. data/lib/order_cloud/models/password_reset.rb +217 -0
  271. data/lib/order_cloud/models/password_reset_request.rb +226 -0
  272. data/lib/order_cloud/models/payment.rb +282 -0
  273. data/lib/order_cloud/models/payment_transaction.rb +262 -0
  274. data/lib/order_cloud/models/price_break.rb +208 -0
  275. data/lib/order_cloud/models/price_schedule.rb +282 -0
  276. data/lib/order_cloud/models/product.rb +334 -0
  277. data/lib/order_cloud/models/product_assignment.rb +226 -0
  278. data/lib/order_cloud/models/product_base.rb +325 -0
  279. data/lib/order_cloud/models/product_catalog_assignment.rb +208 -0
  280. data/lib/order_cloud/models/promotion.rb +316 -0
  281. data/lib/order_cloud/models/promotion_assignment.rb +217 -0
  282. data/lib/order_cloud/models/security_profile.rb +219 -0
  283. data/lib/order_cloud/models/security_profile_assignment.rb +235 -0
  284. data/lib/order_cloud/models/shipment.rb +307 -0
  285. data/lib/order_cloud/models/shipment_item.rb +273 -0
  286. data/lib/order_cloud/models/spec.rb +280 -0
  287. data/lib/order_cloud/models/spec_option.rb +253 -0
  288. data/lib/order_cloud/models/spec_product_assignment.rb +226 -0
  289. data/lib/order_cloud/models/spending_account.rb +262 -0
  290. data/lib/order_cloud/models/spending_account_assignment.rb +226 -0
  291. data/lib/order_cloud/models/supplier.rb +226 -0
  292. data/lib/order_cloud/models/token_password_reset.rb +199 -0
  293. data/lib/order_cloud/models/user.rb +291 -0
  294. data/lib/order_cloud/models/user_group.rb +226 -0
  295. data/lib/order_cloud/models/user_group_assignment.rb +208 -0
  296. data/lib/order_cloud/models/variant.rb +235 -0
  297. data/lib/order_cloud/version.rb +26 -0
  298. data/order_cloud-1.0.56.gem +0 -0
  299. data/order_cloud.gemspec +56 -0
  300. data/spec/api/address_api_spec.rb +179 -0
  301. data/spec/api/admin_address_api_spec.rb +125 -0
  302. data/spec/api/admin_user_api_spec.rb +125 -0
  303. data/spec/api/admin_user_group_api_spec.rb +165 -0
  304. data/spec/api/approval_rule_api_spec.rb +131 -0
  305. data/spec/api/auth_api_spec.rb +165 -0
  306. data/spec/api/buyer_api_spec.rb +125 -0
  307. data/spec/api/catalog_api_spec.rb +205 -0
  308. data/spec/api/category_api_spec.rb +223 -0
  309. data/spec/api/cost_center_api_spec.rb +177 -0
  310. data/spec/api/credit_card_api_spec.rb +177 -0
  311. data/spec/api/impersonation_config_api_spec.rb +125 -0
  312. data/spec/api/line_item_api_spec.rb +167 -0
  313. data/spec/api/me_api_spec.rb +568 -0
  314. data/spec/api/message_senders_api_spec.rb +149 -0
  315. data/spec/api/order_api_spec.rb +344 -0
  316. data/spec/api/password_reset_api_spec.rb +71 -0
  317. data/spec/api/payment_api_spec.rb +152 -0
  318. data/spec/api/price_schedule_api_spec.rb +151 -0
  319. data/spec/api/product_api_spec.rb +290 -0
  320. data/spec/api/promotion_api_spec.rb +170 -0
  321. data/spec/api/security_profile_api_spec.rb +122 -0
  322. data/spec/api/shipment_api_spec.rb +185 -0
  323. data/spec/api/spec_api_spec.rb +252 -0
  324. data/spec/api/spending_account_api_spec.rb +177 -0
  325. data/spec/api/supplier_api_spec.rb +125 -0
  326. data/spec/api/supplier_user_api_spec.rb +146 -0
  327. data/spec/api/supplier_user_group_api_spec.rb +174 -0
  328. data/spec/api/user_api_spec.rb +146 -0
  329. data/spec/api/user_group_api_spec.rb +174 -0
  330. data/spec/api_client_spec.rb +237 -0
  331. data/spec/configuration_spec.rb +80 -0
  332. data/spec/models/access_token_spec.rb +71 -0
  333. data/spec/models/address_assignment_spec.rb +77 -0
  334. data/spec/models/address_spec.rb +125 -0
  335. data/spec/models/approval_rule_spec.rb +83 -0
  336. data/spec/models/base_spec_spec.rb +101 -0
  337. data/spec/models/buyer_address_spec.rb +143 -0
  338. data/spec/models/buyer_credit_card_spec.rb +101 -0
  339. data/spec/models/buyer_product_spec.rb +143 -0
  340. data/spec/models/buyer_shipment_spec.rb +119 -0
  341. data/spec/models/buyer_spec.rb +77 -0
  342. data/spec/models/buyer_spec_spec.rb +107 -0
  343. data/spec/models/catalog_assignment_spec.rb +71 -0
  344. data/spec/models/catalog_spec.rb +83 -0
  345. data/spec/models/category_assignment_spec.rb +77 -0
  346. data/spec/models/category_product_assignment_spec.rb +65 -0
  347. data/spec/models/category_spec.rb +95 -0
  348. data/spec/models/cost_center_assignment_spec.rb +59 -0
  349. data/spec/models/cost_center_spec.rb +71 -0
  350. data/spec/models/credit_card_assignment_spec.rb +65 -0
  351. data/spec/models/credit_card_spec.rb +95 -0
  352. data/spec/models/impersonate_token_request_spec.rb +59 -0
  353. data/spec/models/impersonation_config_spec.rb +101 -0
  354. data/spec/models/inventory_spec.rb +83 -0
  355. data/spec/models/line_item_product_spec.rb +101 -0
  356. data/spec/models/line_item_spec.rb +149 -0
  357. data/spec/models/line_item_spec_spec.rb +71 -0
  358. data/spec/models/list_address_assignment_spec.rb +59 -0
  359. data/spec/models/list_address_spec.rb +59 -0
  360. data/spec/models/list_approval_rule_spec.rb +59 -0
  361. data/spec/models/list_args_spec.rb +83 -0
  362. data/spec/models/list_buyer_address_spec.rb +59 -0
  363. data/spec/models/list_buyer_credit_card_spec.rb +59 -0
  364. data/spec/models/list_buyer_product_spec.rb +59 -0
  365. data/spec/models/list_buyer_shipment_spec.rb +59 -0
  366. data/spec/models/list_buyer_spec.rb +59 -0
  367. data/spec/models/list_buyer_spec_spec.rb +59 -0
  368. data/spec/models/list_catalog_assignment_spec.rb +59 -0
  369. data/spec/models/list_catalog_spec.rb +59 -0
  370. data/spec/models/list_category_assignment_spec.rb +59 -0
  371. data/spec/models/list_category_product_assignment_spec.rb +59 -0
  372. data/spec/models/list_category_spec.rb +59 -0
  373. data/spec/models/list_cost_center_assignment_spec.rb +59 -0
  374. data/spec/models/list_cost_center_spec.rb +59 -0
  375. data/spec/models/list_credit_card_assignment_spec.rb +59 -0
  376. data/spec/models/list_credit_card_spec.rb +59 -0
  377. data/spec/models/list_impersonation_config_spec.rb +59 -0
  378. data/spec/models/list_line_item_spec.rb +59 -0
  379. data/spec/models/list_message_cc_listener_assignment_spec.rb +59 -0
  380. data/spec/models/list_message_config_spec.rb +59 -0
  381. data/spec/models/list_message_sender_assignment_spec.rb +59 -0
  382. data/spec/models/list_message_sender_spec.rb +59 -0
  383. data/spec/models/list_order_approval_spec.rb +59 -0
  384. data/spec/models/list_order_promotion_spec.rb +59 -0
  385. data/spec/models/list_order_spec.rb +59 -0
  386. data/spec/models/list_payment_spec.rb +59 -0
  387. data/spec/models/list_price_schedule_spec.rb +59 -0
  388. data/spec/models/list_product_assignment_spec.rb +59 -0
  389. data/spec/models/list_product_catalog_assignment_spec.rb +59 -0
  390. data/spec/models/list_product_spec.rb +59 -0
  391. data/spec/models/list_promotion_assignment_spec.rb +59 -0
  392. data/spec/models/list_promotion_spec.rb +59 -0
  393. data/spec/models/list_security_profile_assignment_spec.rb +59 -0
  394. data/spec/models/list_security_profile_spec.rb +59 -0
  395. data/spec/models/list_shipment_item_spec.rb +59 -0
  396. data/spec/models/list_shipment_spec.rb +59 -0
  397. data/spec/models/list_spec_option_spec.rb +59 -0
  398. data/spec/models/list_spec_product_assignment_spec.rb +59 -0
  399. data/spec/models/list_spec_spec.rb +59 -0
  400. data/spec/models/list_spending_account_assignment_spec.rb +59 -0
  401. data/spec/models/list_spending_account_spec.rb +59 -0
  402. data/spec/models/list_supplier_spec.rb +59 -0
  403. data/spec/models/list_user_group_assignment_spec.rb +59 -0
  404. data/spec/models/list_user_group_spec.rb +59 -0
  405. data/spec/models/list_user_spec.rb +59 -0
  406. data/spec/models/list_variant_spec.rb +59 -0
  407. data/spec/models/me_buyer_spec.rb +59 -0
  408. data/spec/models/me_user_spec.rb +119 -0
  409. data/spec/models/message_cc_listener_assignment_spec.rb +83 -0
  410. data/spec/models/message_config_spec.rb +89 -0
  411. data/spec/models/message_sender_assignment_spec.rb +71 -0
  412. data/spec/models/message_sender_spec.rb +65 -0
  413. data/spec/models/meta_spec.rb +77 -0
  414. data/spec/models/order_approval_info_spec.rb +59 -0
  415. data/spec/models/order_approval_spec.rb +89 -0
  416. data/spec/models/order_promotion_spec.rb +137 -0
  417. data/spec/models/order_spec.rb +185 -0
  418. data/spec/models/password_reset_request_spec.rb +71 -0
  419. data/spec/models/password_reset_spec.rb +65 -0
  420. data/spec/models/payment_spec.rb +107 -0
  421. data/spec/models/payment_transaction_spec.rb +95 -0
  422. data/spec/models/price_break_spec.rb +59 -0
  423. data/spec/models/price_schedule_spec.rb +107 -0
  424. data/spec/models/product_assignment_spec.rb +71 -0
  425. data/spec/models/product_base_spec.rb +137 -0
  426. data/spec/models/product_catalog_assignment_spec.rb +59 -0
  427. data/spec/models/product_spec.rb +143 -0
  428. data/spec/models/promotion_assignment_spec.rb +65 -0
  429. data/spec/models/promotion_spec.rb +131 -0
  430. data/spec/models/security_profile_assignment_spec.rb +77 -0
  431. data/spec/models/security_profile_spec.rb +65 -0
  432. data/spec/models/shipment_item_spec.rb +101 -0
  433. data/spec/models/shipment_spec.rb +125 -0
  434. data/spec/models/spec_option_spec.rb +89 -0
  435. data/spec/models/spec_product_assignment_spec.rb +71 -0
  436. data/spec/models/spec_spec.rb +107 -0
  437. data/spec/models/spending_account_assignment_spec.rb +71 -0
  438. data/spec/models/spending_account_spec.rb +95 -0
  439. data/spec/models/supplier_spec.rb +71 -0
  440. data/spec/models/token_password_reset_spec.rb +53 -0
  441. data/spec/models/user_group_assignment_spec.rb +59 -0
  442. data/spec/models/user_group_spec.rb +71 -0
  443. data/spec/models/user_spec.rb +113 -0
  444. data/spec/models/variant_spec.rb +77 -0
  445. data/spec/spec_helper.rb +122 -0
  446. metadata +596 -6
@@ -0,0 +1,167 @@
1
+ =begin
2
+ #OrderCloud
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0
7
+ Contact: ordercloud@four51.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+
27
+ # Unit tests for OrderCloud::LineItemApi
28
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
29
+ # Please update as you see appropriate
30
+ describe 'LineItemApi' do
31
+ before do
32
+ # run before each test
33
+ @instance = OrderCloud::LineItemApi.new
34
+ end
35
+
36
+ after do
37
+ # run after each test
38
+ end
39
+
40
+ describe 'test an instance of LineItemApi' do
41
+ it 'should create an instact of LineItemApi' do
42
+ expect(@instance).to be_instance_of(OrderCloud::LineItemApi)
43
+ end
44
+ end
45
+
46
+ # unit tests for create
47
+ #
48
+ #
49
+ # @param direction Direction of the line item. Possible values: Incoming, Outgoing.
50
+ # @param order_id ID of the order.
51
+ # @param line_item
52
+ # @param [Hash] opts the optional parameters
53
+ # @return [LineItem]
54
+ describe 'create test' do
55
+ it "should work" do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ # unit tests for delete
61
+ #
62
+ #
63
+ # @param direction Direction of the line item. Possible values: Incoming, Outgoing.
64
+ # @param order_id ID of the order.
65
+ # @param line_item_id ID of the line item.
66
+ # @param [Hash] opts the optional parameters
67
+ # @return [nil]
68
+ describe 'delete test' do
69
+ it "should work" do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ # unit tests for get
75
+ #
76
+ #
77
+ # @param direction Direction of the line item. Possible values: Incoming, Outgoing.
78
+ # @param order_id ID of the order.
79
+ # @param line_item_id ID of the line item.
80
+ # @param [Hash] opts the optional parameters
81
+ # @return [LineItem]
82
+ describe 'get test' do
83
+ it "should work" do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ # unit tests for list
89
+ #
90
+ #
91
+ # @param direction Direction of the line item. Possible values: Incoming, Outgoing.
92
+ # @param order_id ID of the order.
93
+ # @param [Hash] opts the optional parameters
94
+ # @option opts [String] :search Search of the line item.
95
+ # @option opts [Array<String>] :search_on Search on of the line item.
96
+ # @option opts [Array<String>] :sort_by Sort by of the line item.
97
+ # @option opts [Integer] :page Page of the line item.
98
+ # @option opts [Integer] :page_size Page size of the line item.
99
+ # @option opts [Hash<String, String>] :filters Filters of the line item.
100
+ # @return [ListLineItem]
101
+ describe 'list test' do
102
+ it "should work" do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ # unit tests for patch
108
+ #
109
+ #
110
+ # @param direction Direction of the line item. Possible values: Incoming, Outgoing.
111
+ # @param order_id ID of the order.
112
+ # @param line_item_id ID of the line item.
113
+ # @param partial_line_item
114
+ # @param [Hash] opts the optional parameters
115
+ # @return [LineItem]
116
+ describe 'patch test' do
117
+ it "should work" do
118
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
+ end
120
+ end
121
+
122
+ # unit tests for patch_shipping_address
123
+ #
124
+ #
125
+ # @param direction Direction of the line item. Possible values: Incoming, Outgoing.
126
+ # @param order_id ID of the order.
127
+ # @param line_item_id ID of the line item.
128
+ # @param partial_address
129
+ # @param [Hash] opts the optional parameters
130
+ # @return [LineItem]
131
+ describe 'patch_shipping_address test' do
132
+ it "should work" do
133
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
+ end
135
+ end
136
+
137
+ # unit tests for set_shipping_address
138
+ #
139
+ #
140
+ # @param direction Direction of the line item. Possible values: Incoming, Outgoing.
141
+ # @param order_id ID of the order.
142
+ # @param line_item_id ID of the line item.
143
+ # @param address
144
+ # @param [Hash] opts the optional parameters
145
+ # @return [LineItem]
146
+ describe 'set_shipping_address test' do
147
+ it "should work" do
148
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
149
+ end
150
+ end
151
+
152
+ # unit tests for update
153
+ #
154
+ #
155
+ # @param direction Direction of the line item. Possible values: Incoming, Outgoing.
156
+ # @param order_id ID of the order.
157
+ # @param line_item_id ID of the line item.
158
+ # @param line_item
159
+ # @param [Hash] opts the optional parameters
160
+ # @return [LineItem]
161
+ describe 'update test' do
162
+ it "should work" do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
167
+ end
@@ -0,0 +1,568 @@
1
+ =begin
2
+ #OrderCloud
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0
7
+ Contact: ordercloud@four51.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+
27
+ # Unit tests for OrderCloud::MeApi
28
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
29
+ # Please update as you see appropriate
30
+ describe 'MeApi' do
31
+ before do
32
+ # run before each test
33
+ @instance = OrderCloud::MeApi.new
34
+ end
35
+
36
+ after do
37
+ # run after each test
38
+ end
39
+
40
+ describe 'test an instance of MeApi' do
41
+ it 'should create an instact of MeApi' do
42
+ expect(@instance).to be_instance_of(OrderCloud::MeApi)
43
+ end
44
+ end
45
+
46
+ # unit tests for create_address
47
+ #
48
+ #
49
+ # @param address
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [BuyerAddress]
52
+ describe 'create_address test' do
53
+ it "should work" do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ # unit tests for create_credit_card
59
+ #
60
+ #
61
+ # @param credit_card
62
+ # @param [Hash] opts the optional parameters
63
+ # @return [BuyerCreditCard]
64
+ describe 'create_credit_card test' do
65
+ it "should work" do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for delete_address
71
+ #
72
+ #
73
+ # @param address_id ID of the address.
74
+ # @param [Hash] opts the optional parameters
75
+ # @return [nil]
76
+ describe 'delete_address test' do
77
+ it "should work" do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ # unit tests for delete_credit_card
83
+ #
84
+ #
85
+ # @param creditcard_id ID of the creditcard.
86
+ # @param [Hash] opts the optional parameters
87
+ # @return [nil]
88
+ describe 'delete_credit_card test' do
89
+ it "should work" do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ # unit tests for get
95
+ #
96
+ #
97
+ # @param [Hash] opts the optional parameters
98
+ # @return [MeUser]
99
+ describe 'get test' do
100
+ it "should work" do
101
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
102
+ end
103
+ end
104
+
105
+ # unit tests for get_address
106
+ #
107
+ #
108
+ # @param address_id ID of the address.
109
+ # @param [Hash] opts the optional parameters
110
+ # @return [BuyerAddress]
111
+ describe 'get_address test' do
112
+ it "should work" do
113
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
114
+ end
115
+ end
116
+
117
+ # unit tests for get_catalog
118
+ #
119
+ #
120
+ # @param catalog_id ID of the catalog.
121
+ # @param [Hash] opts the optional parameters
122
+ # @return [Catalog]
123
+ describe 'get_catalog test' do
124
+ it "should work" do
125
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
126
+ end
127
+ end
128
+
129
+ # unit tests for get_credit_card
130
+ #
131
+ #
132
+ # @param creditcard_id ID of the creditcard.
133
+ # @param [Hash] opts the optional parameters
134
+ # @return [BuyerCreditCard]
135
+ describe 'get_credit_card test' do
136
+ it "should work" do
137
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
138
+ end
139
+ end
140
+
141
+ # unit tests for get_product
142
+ #
143
+ #
144
+ # @param product_id ID of the product.
145
+ # @param [Hash] opts the optional parameters
146
+ # @return [BuyerProduct]
147
+ describe 'get_product test' do
148
+ it "should work" do
149
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
150
+ end
151
+ end
152
+
153
+ # unit tests for get_promotion
154
+ #
155
+ #
156
+ # @param promotion_id ID of the promotion.
157
+ # @param [Hash] opts the optional parameters
158
+ # @return [Promotion]
159
+ describe 'get_promotion test' do
160
+ it "should work" do
161
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
162
+ end
163
+ end
164
+
165
+ # unit tests for get_shipment
166
+ #
167
+ #
168
+ # @param shipment_id ID of the shipment.
169
+ # @param [Hash] opts the optional parameters
170
+ # @return [BuyerShipment]
171
+ describe 'get_shipment test' do
172
+ it "should work" do
173
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
174
+ end
175
+ end
176
+
177
+ # unit tests for get_spec
178
+ #
179
+ #
180
+ # @param product_id ID of the product.
181
+ # @param spec_id ID of the spec.
182
+ # @param [Hash] opts the optional parameters
183
+ # @option opts [String] :catalog_id ID of the catalog.
184
+ # @return [BuyerSpec]
185
+ describe 'get_spec test' do
186
+ it "should work" do
187
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
+ end
189
+ end
190
+
191
+ # unit tests for get_spending_account
192
+ #
193
+ #
194
+ # @param spending_account_id ID of the spending account.
195
+ # @param [Hash] opts the optional parameters
196
+ # @return [SpendingAccount]
197
+ describe 'get_spending_account test' do
198
+ it "should work" do
199
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
+ end
201
+ end
202
+
203
+ # unit tests for list_addresses
204
+ #
205
+ #
206
+ # @param [Hash] opts the optional parameters
207
+ # @option opts [String] :search Search of the address.
208
+ # @option opts [Array<String>] :search_on Search on of the address.
209
+ # @option opts [Array<String>] :sort_by Sort by of the address.
210
+ # @option opts [Integer] :page Page of the address.
211
+ # @option opts [Integer] :page_size Page size of the address.
212
+ # @option opts [Hash<String, String>] :filters Filters of the address.
213
+ # @return [ListBuyerAddress]
214
+ describe 'list_addresses test' do
215
+ it "should work" do
216
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
217
+ end
218
+ end
219
+
220
+ # unit tests for list_approvable_orders
221
+ #
222
+ #
223
+ # @param [Hash] opts the optional parameters
224
+ # @option opts [String] :from Lower bound of date range that the order was created (if outgoing) or submitted (if incoming).
225
+ # @option opts [String] :to Upper bound of date range that the order was created (if outgoing) or submitted (if incoming).
226
+ # @option opts [String] :search Search of the order.
227
+ # @option opts [Array<String>] :search_on Search on of the order.
228
+ # @option opts [Array<String>] :sort_by Sort by of the order.
229
+ # @option opts [Integer] :page Page of the order.
230
+ # @option opts [Integer] :page_size Page size of the order.
231
+ # @option opts [Hash<String, String>] :filters Filters of the order.
232
+ # @return [ListOrder]
233
+ describe 'list_approvable_orders test' do
234
+ it "should work" do
235
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
236
+ end
237
+ end
238
+
239
+ # unit tests for list_catalogs
240
+ #
241
+ #
242
+ # @param [Hash] opts the optional parameters
243
+ # @option opts [String] :search Search of the catalog.
244
+ # @option opts [Array<String>] :search_on Search on of the catalog.
245
+ # @option opts [Array<String>] :sort_by Sort by of the catalog.
246
+ # @option opts [Integer] :page Page of the catalog.
247
+ # @option opts [Integer] :page_size Page size of the catalog.
248
+ # @option opts [Hash<String, String>] :filters Filters of the catalog.
249
+ # @return [ListCatalog]
250
+ describe 'list_catalogs test' do
251
+ it "should work" do
252
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
253
+ end
254
+ end
255
+
256
+ # unit tests for list_categories
257
+ #
258
+ #
259
+ # @param [Hash] opts the optional parameters
260
+ # @option opts [String] :depth Depth of the category.
261
+ # @option opts [String] :catalog_id ID of the catalog.
262
+ # @option opts [String] :search Search of the category.
263
+ # @option opts [Array<String>] :search_on Search on of the category.
264
+ # @option opts [Array<String>] :sort_by Sort by of the category.
265
+ # @option opts [Integer] :page Page of the category.
266
+ # @option opts [Integer] :page_size Page size of the category.
267
+ # @option opts [Hash<String, String>] :filters Filters of the category.
268
+ # @return [ListCategory]
269
+ describe 'list_categories test' do
270
+ it "should work" do
271
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
272
+ end
273
+ end
274
+
275
+ # unit tests for list_cost_centers
276
+ #
277
+ #
278
+ # @param [Hash] opts the optional parameters
279
+ # @option opts [String] :search Search of the cost center.
280
+ # @option opts [Array<String>] :search_on Search on of the cost center.
281
+ # @option opts [Array<String>] :sort_by Sort by of the cost center.
282
+ # @option opts [Integer] :page Page of the cost center.
283
+ # @option opts [Integer] :page_size Page size of the cost center.
284
+ # @option opts [Hash<String, String>] :filters Filters of the cost center.
285
+ # @return [ListCostCenter]
286
+ describe 'list_cost_centers test' do
287
+ it "should work" do
288
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
289
+ end
290
+ end
291
+
292
+ # unit tests for list_credit_cards
293
+ #
294
+ #
295
+ # @param [Hash] opts the optional parameters
296
+ # @option opts [String] :search Search of the credit card.
297
+ # @option opts [Array<String>] :search_on Search on of the credit card.
298
+ # @option opts [Array<String>] :sort_by Sort by of the credit card.
299
+ # @option opts [Integer] :page Page of the credit card.
300
+ # @option opts [Integer] :page_size Page size of the credit card.
301
+ # @option opts [Hash<String, String>] :filters Filters of the credit card.
302
+ # @return [ListBuyerCreditCard]
303
+ describe 'list_credit_cards test' do
304
+ it "should work" do
305
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
306
+ end
307
+ end
308
+
309
+ # unit tests for list_orders
310
+ #
311
+ #
312
+ # @param [Hash] opts the optional parameters
313
+ # @option opts [String] :from Lower bound of date range that the order was created (if outgoing) or submitted (if incoming).
314
+ # @option opts [String] :to Upper bound of date range that the order was created (if outgoing) or submitted (if incoming).
315
+ # @option opts [String] :search Search of the order.
316
+ # @option opts [Array<String>] :search_on Search on of the order.
317
+ # @option opts [Array<String>] :sort_by Sort by of the order.
318
+ # @option opts [Integer] :page Page of the order.
319
+ # @option opts [Integer] :page_size Page size of the order.
320
+ # @option opts [Hash<String, String>] :filters Filters of the order.
321
+ # @return [ListOrder]
322
+ describe 'list_orders test' do
323
+ it "should work" do
324
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
325
+ end
326
+ end
327
+
328
+ # unit tests for list_products
329
+ #
330
+ #
331
+ # @param [Hash] opts the optional parameters
332
+ # @option opts [String] :catalog_id ID of the catalog.
333
+ # @option opts [String] :category_id ID of the category.
334
+ # @option opts [String] :depth Depth of the product.
335
+ # @option opts [String] :search Search of the product.
336
+ # @option opts [Array<String>] :search_on Search on of the product.
337
+ # @option opts [Array<String>] :sort_by Sort by of the product.
338
+ # @option opts [Integer] :page Page of the product.
339
+ # @option opts [Integer] :page_size Page size of the product.
340
+ # @option opts [Hash<String, String>] :filters Filters of the product.
341
+ # @return [ListBuyerProduct]
342
+ describe 'list_products test' do
343
+ it "should work" do
344
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
345
+ end
346
+ end
347
+
348
+ # unit tests for list_promotions
349
+ #
350
+ #
351
+ # @param [Hash] opts the optional parameters
352
+ # @option opts [String] :search Search of the promotion.
353
+ # @option opts [Array<String>] :search_on Search on of the promotion.
354
+ # @option opts [Array<String>] :sort_by Sort by of the promotion.
355
+ # @option opts [Integer] :page Page of the promotion.
356
+ # @option opts [Integer] :page_size Page size of the promotion.
357
+ # @option opts [Hash<String, String>] :filters Filters of the promotion.
358
+ # @return [ListPromotion]
359
+ describe 'list_promotions test' do
360
+ it "should work" do
361
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
362
+ end
363
+ end
364
+
365
+ # unit tests for list_shipment_items
366
+ #
367
+ #
368
+ # @param shipment_id ID of the shipment.
369
+ # @param [Hash] opts the optional parameters
370
+ # @option opts [String] :order_id ID of the order.
371
+ # @option opts [String] :search Search of the shipment.
372
+ # @option opts [Array<String>] :search_on Search on of the shipment.
373
+ # @option opts [Array<String>] :sort_by Sort by of the shipment.
374
+ # @option opts [Integer] :page Page of the shipment.
375
+ # @option opts [Integer] :page_size Page size of the shipment.
376
+ # @option opts [Hash<String, String>] :filters Filters of the shipment.
377
+ # @return [ListShipmentItem]
378
+ describe 'list_shipment_items test' do
379
+ it "should work" do
380
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
381
+ end
382
+ end
383
+
384
+ # unit tests for list_shipments
385
+ #
386
+ #
387
+ # @param [Hash] opts the optional parameters
388
+ # @option opts [String] :order_id ID of the order.
389
+ # @option opts [String] :search Search of the shipment.
390
+ # @option opts [Array<String>] :search_on Search on of the shipment.
391
+ # @option opts [Array<String>] :sort_by Sort by of the shipment.
392
+ # @option opts [Integer] :page Page of the shipment.
393
+ # @option opts [Integer] :page_size Page size of the shipment.
394
+ # @option opts [Hash<String, String>] :filters Filters of the shipment.
395
+ # @return [ListBuyerShipment]
396
+ describe 'list_shipments test' do
397
+ it "should work" do
398
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
399
+ end
400
+ end
401
+
402
+ # unit tests for list_specs
403
+ #
404
+ #
405
+ # @param product_id ID of the product.
406
+ # @param [Hash] opts the optional parameters
407
+ # @option opts [String] :catalog_id ID of the catalog.
408
+ # @option opts [String] :search Search of the product.
409
+ # @option opts [Array<String>] :search_on Search on of the product.
410
+ # @option opts [Array<String>] :sort_by Sort by of the product.
411
+ # @option opts [Integer] :page Page of the product.
412
+ # @option opts [Integer] :page_size Page size of the product.
413
+ # @option opts [Hash<String, String>] :filters Filters of the product.
414
+ # @return [ListBuyerSpec]
415
+ describe 'list_specs test' do
416
+ it "should work" do
417
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
418
+ end
419
+ end
420
+
421
+ # unit tests for list_spending_accounts
422
+ #
423
+ #
424
+ # @param [Hash] opts the optional parameters
425
+ # @option opts [String] :search Search of the spending account.
426
+ # @option opts [Array<String>] :search_on Search on of the spending account.
427
+ # @option opts [Array<String>] :sort_by Sort by of the spending account.
428
+ # @option opts [Integer] :page Page of the spending account.
429
+ # @option opts [Integer] :page_size Page size of the spending account.
430
+ # @option opts [Hash<String, String>] :filters Filters of the spending account.
431
+ # @return [ListSpendingAccount]
432
+ describe 'list_spending_accounts test' do
433
+ it "should work" do
434
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
435
+ end
436
+ end
437
+
438
+ # unit tests for list_user_groups
439
+ #
440
+ #
441
+ # @param [Hash] opts the optional parameters
442
+ # @option opts [String] :search Search of the user group.
443
+ # @option opts [Array<String>] :search_on Search on of the user group.
444
+ # @option opts [Array<String>] :sort_by Sort by of the user group.
445
+ # @option opts [Integer] :page Page of the user group.
446
+ # @option opts [Integer] :page_size Page size of the user group.
447
+ # @option opts [Hash<String, String>] :filters Filters of the user group.
448
+ # @return [ListUserGroup]
449
+ describe 'list_user_groups test' do
450
+ it "should work" do
451
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
452
+ end
453
+ end
454
+
455
+ # unit tests for patch
456
+ #
457
+ #
458
+ # @param user
459
+ # @param [Hash] opts the optional parameters
460
+ # @return [MeUser]
461
+ describe 'patch test' do
462
+ it "should work" do
463
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
464
+ end
465
+ end
466
+
467
+ # unit tests for patch_address
468
+ #
469
+ #
470
+ # @param address_id ID of the address.
471
+ # @param address
472
+ # @param [Hash] opts the optional parameters
473
+ # @return [nil]
474
+ describe 'patch_address test' do
475
+ it "should work" do
476
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
477
+ end
478
+ end
479
+
480
+ # unit tests for patch_credit_card
481
+ #
482
+ #
483
+ # @param creditcard_id ID of the creditcard.
484
+ # @param credit_card
485
+ # @param [Hash] opts the optional parameters
486
+ # @return [nil]
487
+ describe 'patch_credit_card test' do
488
+ it "should work" do
489
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
490
+ end
491
+ end
492
+
493
+ # unit tests for register
494
+ #
495
+ #
496
+ # @param anon_user_token Anon user token of the me.
497
+ # @param user
498
+ # @param [Hash] opts the optional parameters
499
+ # @return [Object]
500
+ describe 'register test' do
501
+ it "should work" do
502
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
503
+ end
504
+ end
505
+
506
+ # unit tests for reset_password_by_token
507
+ #
508
+ #
509
+ # @param reset
510
+ # @param [Hash] opts the optional parameters
511
+ # @return [nil]
512
+ describe 'reset_password_by_token test' do
513
+ it "should work" do
514
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
515
+ end
516
+ end
517
+
518
+ # unit tests for transfer_anon_user_order
519
+ #
520
+ #
521
+ # @param anon_user_token Anon user token of the me.
522
+ # @param [Hash] opts the optional parameters
523
+ # @return [nil]
524
+ describe 'transfer_anon_user_order test' do
525
+ it "should work" do
526
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
527
+ end
528
+ end
529
+
530
+ # unit tests for update
531
+ #
532
+ #
533
+ # @param user
534
+ # @param [Hash] opts the optional parameters
535
+ # @return [MeUser]
536
+ describe 'update test' do
537
+ it "should work" do
538
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
539
+ end
540
+ end
541
+
542
+ # unit tests for update_address
543
+ #
544
+ #
545
+ # @param address_id ID of the address.
546
+ # @param address
547
+ # @param [Hash] opts the optional parameters
548
+ # @return [BuyerAddress]
549
+ describe 'update_address test' do
550
+ it "should work" do
551
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
552
+ end
553
+ end
554
+
555
+ # unit tests for update_credit_card
556
+ #
557
+ #
558
+ # @param creditcard_id ID of the creditcard.
559
+ # @param credit_card
560
+ # @param [Hash] opts the optional parameters
561
+ # @return [BuyerCreditCard]
562
+ describe 'update_credit_card test' do
563
+ it "should work" do
564
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
565
+ end
566
+ end
567
+
568
+ end