paypal-server-sdk 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (275) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +35 -0
  3. data/README.md +112 -0
  4. data/lib/paypal_server_sdk/api_helper.rb +10 -0
  5. data/lib/paypal_server_sdk/client.rb +85 -0
  6. data/lib/paypal_server_sdk/configuration.rb +109 -0
  7. data/lib/paypal_server_sdk/controllers/base_controller.rb +71 -0
  8. data/lib/paypal_server_sdk/controllers/o_auth_authorization_controller.rb +42 -0
  9. data/lib/paypal_server_sdk/controllers/orders_controller.rb +517 -0
  10. data/lib/paypal_server_sdk/controllers/payments_controller.rb +404 -0
  11. data/lib/paypal_server_sdk/controllers/vault_controller.rb +224 -0
  12. data/lib/paypal_server_sdk/exceptions/api_exception.rb +10 -0
  13. data/lib/paypal_server_sdk/exceptions/error_exception.rb +71 -0
  14. data/lib/paypal_server_sdk/exceptions/o_auth_provider_exception.rb +48 -0
  15. data/lib/paypal_server_sdk/http/api_response.rb +21 -0
  16. data/lib/paypal_server_sdk/http/auth/o_auth2.rb +136 -0
  17. data/lib/paypal_server_sdk/http/http_call_back.rb +10 -0
  18. data/lib/paypal_server_sdk/http/http_method_enum.rb +10 -0
  19. data/lib/paypal_server_sdk/http/http_request.rb +10 -0
  20. data/lib/paypal_server_sdk/http/http_response.rb +10 -0
  21. data/lib/paypal_server_sdk/logging/configuration/api_logging_configuration.rb +114 -0
  22. data/lib/paypal_server_sdk/logging/sdk_logger.rb +17 -0
  23. data/lib/paypal_server_sdk/models/activity_timestamps.rb +68 -0
  24. data/lib/paypal_server_sdk/models/address.rb +116 -0
  25. data/lib/paypal_server_sdk/models/address_details.rb +160 -0
  26. data/lib/paypal_server_sdk/models/amount_breakdown.rb +115 -0
  27. data/lib/paypal_server_sdk/models/amount_with_breakdown.rb +80 -0
  28. data/lib/paypal_server_sdk/models/apple_pay_attributes.rb +60 -0
  29. data/lib/paypal_server_sdk/models/apple_pay_attributes_response.rb +50 -0
  30. data/lib/paypal_server_sdk/models/apple_pay_card.rb +94 -0
  31. data/lib/paypal_server_sdk/models/apple_pay_card_response.rb +167 -0
  32. data/lib/paypal_server_sdk/models/apple_pay_decrypted_token_data.rb +95 -0
  33. data/lib/paypal_server_sdk/models/apple_pay_payment_data.rb +83 -0
  34. data/lib/paypal_server_sdk/models/apple_pay_payment_data_type.rb +24 -0
  35. data/lib/paypal_server_sdk/models/apple_pay_payment_object.rb +114 -0
  36. data/lib/paypal_server_sdk/models/apple_pay_payment_token.rb +51 -0
  37. data/lib/paypal_server_sdk/models/apple_pay_request.rb +137 -0
  38. data/lib/paypal_server_sdk/models/apple_pay_tokenized_card.rb +113 -0
  39. data/lib/paypal_server_sdk/models/assurance_details.rb +68 -0
  40. data/lib/paypal_server_sdk/models/authentication_response.rb +61 -0
  41. data/lib/paypal_server_sdk/models/authorization.rb +192 -0
  42. data/lib/paypal_server_sdk/models/authorization_incomplete_reason.rb +23 -0
  43. data/lib/paypal_server_sdk/models/authorization_status.rb +35 -0
  44. data/lib/paypal_server_sdk/models/authorization_status_details.rb +50 -0
  45. data/lib/paypal_server_sdk/models/authorization_status_with_details.rb +60 -0
  46. data/lib/paypal_server_sdk/models/authorization_with_additional_data.rb +205 -0
  47. data/lib/paypal_server_sdk/models/avs_code.rb +90 -0
  48. data/lib/paypal_server_sdk/models/bancontact_payment_object.rb +95 -0
  49. data/lib/paypal_server_sdk/models/bancontact_payment_request.rb +73 -0
  50. data/lib/paypal_server_sdk/models/base_model.rb +62 -0
  51. data/lib/paypal_server_sdk/models/bin_details.rb +88 -0
  52. data/lib/paypal_server_sdk/models/blik_experience_context.rb +122 -0
  53. data/lib/paypal_server_sdk/models/blik_level0_payment_object.rb +48 -0
  54. data/lib/paypal_server_sdk/models/blik_one_click_payment_object.rb +52 -0
  55. data/lib/paypal_server_sdk/models/blik_one_click_payment_request.rb +82 -0
  56. data/lib/paypal_server_sdk/models/blik_payment_object.rb +86 -0
  57. data/lib/paypal_server_sdk/models/blik_payment_request.rb +105 -0
  58. data/lib/paypal_server_sdk/models/capture.rb +228 -0
  59. data/lib/paypal_server_sdk/models/capture_incomplete_reason.rb +55 -0
  60. data/lib/paypal_server_sdk/models/capture_payment_instruction.rb +89 -0
  61. data/lib/paypal_server_sdk/models/capture_request.rb +108 -0
  62. data/lib/paypal_server_sdk/models/capture_status.rb +35 -0
  63. data/lib/paypal_server_sdk/models/capture_status_details.rb +50 -0
  64. data/lib/paypal_server_sdk/models/capture_status_with_details.rb +60 -0
  65. data/lib/paypal_server_sdk/models/captured_payment.rb +248 -0
  66. data/lib/paypal_server_sdk/models/card_attributes.rb +70 -0
  67. data/lib/paypal_server_sdk/models/card_attributes_response.rb +50 -0
  68. data/lib/paypal_server_sdk/models/card_authentication_response.rb +51 -0
  69. data/lib/paypal_server_sdk/models/card_brand.rb +93 -0
  70. data/lib/paypal_server_sdk/models/card_customer_information.rb +85 -0
  71. data/lib/paypal_server_sdk/models/card_experience_context.rb +59 -0
  72. data/lib/paypal_server_sdk/models/card_from_request.rb +60 -0
  73. data/lib/paypal_server_sdk/models/card_payment_token.rb +166 -0
  74. data/lib/paypal_server_sdk/models/card_request.rb +176 -0
  75. data/lib/paypal_server_sdk/models/card_response.rb +139 -0
  76. data/lib/paypal_server_sdk/models/card_response_entity.rb +156 -0
  77. data/lib/paypal_server_sdk/models/card_stored_credential.rb +95 -0
  78. data/lib/paypal_server_sdk/models/card_supplementary_data.rb +71 -0
  79. data/lib/paypal_server_sdk/models/card_type.rb +32 -0
  80. data/lib/paypal_server_sdk/models/card_vault_response.rb +86 -0
  81. data/lib/paypal_server_sdk/models/card_verification.rb +51 -0
  82. data/lib/paypal_server_sdk/models/card_verification_details.rb +111 -0
  83. data/lib/paypal_server_sdk/models/card_verification_method.rb +29 -0
  84. data/lib/paypal_server_sdk/models/card_verification_processor_response.rb +62 -0
  85. data/lib/paypal_server_sdk/models/checkout_payment_intent.rb +24 -0
  86. data/lib/paypal_server_sdk/models/cobranded_card.rb +70 -0
  87. data/lib/paypal_server_sdk/models/confirm_order_request.rb +74 -0
  88. data/lib/paypal_server_sdk/models/customer_information.rb +72 -0
  89. data/lib/paypal_server_sdk/models/customer_request.rb +62 -0
  90. data/lib/paypal_server_sdk/models/customer_vault_payment_tokens_response.rb +105 -0
  91. data/lib/paypal_server_sdk/models/cvv_code.rb +60 -0
  92. data/lib/paypal_server_sdk/models/disbursement_mode.rb +23 -0
  93. data/lib/paypal_server_sdk/models/dispute_category.rb +23 -0
  94. data/lib/paypal_server_sdk/models/eci_flag.rb +39 -0
  95. data/lib/paypal_server_sdk/models/enrollment_status.rb +29 -0
  96. data/lib/paypal_server_sdk/models/eps_payment_object.rb +74 -0
  97. data/lib/paypal_server_sdk/models/eps_payment_request.rb +73 -0
  98. data/lib/paypal_server_sdk/models/error_details.rb +110 -0
  99. data/lib/paypal_server_sdk/models/exchange_rate.rb +75 -0
  100. data/lib/paypal_server_sdk/models/experience_context.rb +98 -0
  101. data/lib/paypal_server_sdk/models/fullfillment_type.rb +31 -0
  102. data/lib/paypal_server_sdk/models/giropay_payment_object.rb +74 -0
  103. data/lib/paypal_server_sdk/models/giropay_payment_request.rb +73 -0
  104. data/lib/paypal_server_sdk/models/google_pay_authentication_method.rb +23 -0
  105. data/lib/paypal_server_sdk/models/google_pay_card_attributes.rb +51 -0
  106. data/lib/paypal_server_sdk/models/google_pay_card_response.rb +104 -0
  107. data/lib/paypal_server_sdk/models/google_pay_decrypted_token_data.rb +105 -0
  108. data/lib/paypal_server_sdk/models/google_pay_payment_method.rb +20 -0
  109. data/lib/paypal_server_sdk/models/google_pay_request.rb +118 -0
  110. data/lib/paypal_server_sdk/models/google_pay_request_card.rb +84 -0
  111. data/lib/paypal_server_sdk/models/google_pay_wallet_response.rb +85 -0
  112. data/lib/paypal_server_sdk/models/ideal_payment_object.rb +85 -0
  113. data/lib/paypal_server_sdk/models/ideal_payment_request.rb +83 -0
  114. data/lib/paypal_server_sdk/models/item.rb +134 -0
  115. data/lib/paypal_server_sdk/models/item_category.rb +26 -0
  116. data/lib/paypal_server_sdk/models/level2_card_processing_data.rb +66 -0
  117. data/lib/paypal_server_sdk/models/level3_card_processing_data.rb +120 -0
  118. data/lib/paypal_server_sdk/models/liability_shift_indicator.rb +26 -0
  119. data/lib/paypal_server_sdk/models/line_item.rb +177 -0
  120. data/lib/paypal_server_sdk/models/link_description.rb +75 -0
  121. data/lib/paypal_server_sdk/models/link_http_method.rb +41 -0
  122. data/lib/paypal_server_sdk/models/money.rb +62 -0
  123. data/lib/paypal_server_sdk/models/my_bank_payment_object.rb +85 -0
  124. data/lib/paypal_server_sdk/models/my_bank_payment_request.rb +73 -0
  125. data/lib/paypal_server_sdk/models/name.rb +61 -0
  126. data/lib/paypal_server_sdk/models/net_amount_breakdown_item.rb +73 -0
  127. data/lib/paypal_server_sdk/models/network_token.rb +95 -0
  128. data/lib/paypal_server_sdk/models/network_transaction_reference.rb +90 -0
  129. data/lib/paypal_server_sdk/models/network_transaction_reference_entity.rb +88 -0
  130. data/lib/paypal_server_sdk/models/o_auth_provider_error.rb +45 -0
  131. data/lib/paypal_server_sdk/models/o_auth_token.rb +106 -0
  132. data/lib/paypal_server_sdk/models/order.rb +178 -0
  133. data/lib/paypal_server_sdk/models/order_application_context.rb +193 -0
  134. data/lib/paypal_server_sdk/models/order_application_context_landing_page.rb +32 -0
  135. data/lib/paypal_server_sdk/models/order_application_context_shipping_preference.rb +34 -0
  136. data/lib/paypal_server_sdk/models/order_application_context_user_action.rb +29 -0
  137. data/lib/paypal_server_sdk/models/order_authorize_request.rb +51 -0
  138. data/lib/paypal_server_sdk/models/order_authorize_request_payment_source.rb +104 -0
  139. data/lib/paypal_server_sdk/models/order_authorize_response.rb +171 -0
  140. data/lib/paypal_server_sdk/models/order_authorize_response_payment_source.rb +88 -0
  141. data/lib/paypal_server_sdk/models/order_capture_request.rb +51 -0
  142. data/lib/paypal_server_sdk/models/order_capture_request_payment_source.rb +104 -0
  143. data/lib/paypal_server_sdk/models/order_confirm_application_context.rb +109 -0
  144. data/lib/paypal_server_sdk/models/order_request.rb +103 -0
  145. data/lib/paypal_server_sdk/models/order_status.rb +35 -0
  146. data/lib/paypal_server_sdk/models/order_tracker_item.rb +99 -0
  147. data/lib/paypal_server_sdk/models/order_tracker_request.rb +116 -0
  148. data/lib/paypal_server_sdk/models/order_tracker_response.rb +122 -0
  149. data/lib/paypal_server_sdk/models/order_tracker_status.rb +23 -0
  150. data/lib/paypal_server_sdk/models/p24_payment_object.rb +108 -0
  151. data/lib/paypal_server_sdk/models/p24_payment_request.rb +85 -0
  152. data/lib/paypal_server_sdk/models/pa_res_status.rb +42 -0
  153. data/lib/paypal_server_sdk/models/patch.rb +83 -0
  154. data/lib/paypal_server_sdk/models/patch_op.rb +35 -0
  155. data/lib/paypal_server_sdk/models/pay_pal_experience_landing_page.rb +26 -0
  156. data/lib/paypal_server_sdk/models/pay_pal_experience_user_action.rb +24 -0
  157. data/lib/paypal_server_sdk/models/pay_pal_payment_token.rb +180 -0
  158. data/lib/paypal_server_sdk/models/pay_pal_payment_token_customer_type.rb +25 -0
  159. data/lib/paypal_server_sdk/models/pay_pal_payment_token_usage_pattern.rb +35 -0
  160. data/lib/paypal_server_sdk/models/pay_pal_payment_token_usage_type.rb +23 -0
  161. data/lib/paypal_server_sdk/models/pay_pal_wallet.rb +158 -0
  162. data/lib/paypal_server_sdk/models/pay_pal_wallet_account_verification_status.rb +24 -0
  163. data/lib/paypal_server_sdk/models/pay_pal_wallet_attributes.rb +59 -0
  164. data/lib/paypal_server_sdk/models/pay_pal_wallet_attributes_response.rb +70 -0
  165. data/lib/paypal_server_sdk/models/pay_pal_wallet_customer.rb +85 -0
  166. data/lib/paypal_server_sdk/models/pay_pal_wallet_customer_request.rb +85 -0
  167. data/lib/paypal_server_sdk/models/pay_pal_wallet_experience_context.rb +140 -0
  168. data/lib/paypal_server_sdk/models/pay_pal_wallet_response.rb +166 -0
  169. data/lib/paypal_server_sdk/models/pay_pal_wallet_vault_instruction.rb +115 -0
  170. data/lib/paypal_server_sdk/models/pay_pal_wallet_vault_response.rb +86 -0
  171. data/lib/paypal_server_sdk/models/pay_pal_wallet_vault_status.rb +26 -0
  172. data/lib/paypal_server_sdk/models/payee.rb +65 -0
  173. data/lib/paypal_server_sdk/models/payee_base.rb +64 -0
  174. data/lib/paypal_server_sdk/models/payee_payment_method_preference.rb +23 -0
  175. data/lib/paypal_server_sdk/models/payer.rb +120 -0
  176. data/lib/paypal_server_sdk/models/payer_base.rb +64 -0
  177. data/lib/paypal_server_sdk/models/payment_advice_code.rb +30 -0
  178. data/lib/paypal_server_sdk/models/payment_authorization.rb +212 -0
  179. data/lib/paypal_server_sdk/models/payment_collection.rb +99 -0
  180. data/lib/paypal_server_sdk/models/payment_initiator.rb +23 -0
  181. data/lib/paypal_server_sdk/models/payment_instruction.rb +105 -0
  182. data/lib/paypal_server_sdk/models/payment_method_preference.rb +72 -0
  183. data/lib/paypal_server_sdk/models/payment_source.rb +187 -0
  184. data/lib/paypal_server_sdk/models/payment_source_response.rb +171 -0
  185. data/lib/paypal_server_sdk/models/payment_supplementary_data.rb +50 -0
  186. data/lib/paypal_server_sdk/models/payment_token_request.rb +60 -0
  187. data/lib/paypal_server_sdk/models/payment_token_request_card.rb +125 -0
  188. data/lib/paypal_server_sdk/models/payment_token_request_payment_source.rb +59 -0
  189. data/lib/paypal_server_sdk/models/payment_token_response.rb +87 -0
  190. data/lib/paypal_server_sdk/models/payment_token_response_payment_source.rb +87 -0
  191. data/lib/paypal_server_sdk/models/phone.rb +77 -0
  192. data/lib/paypal_server_sdk/models/phone_number.rb +54 -0
  193. data/lib/paypal_server_sdk/models/phone_number_with_country_code.rb +66 -0
  194. data/lib/paypal_server_sdk/models/phone_type.rb +32 -0
  195. data/lib/paypal_server_sdk/models/phone_with_type.rb +59 -0
  196. data/lib/paypal_server_sdk/models/platform_fee.rb +63 -0
  197. data/lib/paypal_server_sdk/models/processing_instruction.rb +23 -0
  198. data/lib/paypal_server_sdk/models/processor_response.rb +83 -0
  199. data/lib/paypal_server_sdk/models/processor_response_code.rb +479 -0
  200. data/lib/paypal_server_sdk/models/purchase_unit.rb +227 -0
  201. data/lib/paypal_server_sdk/models/purchase_unit_request.rb +193 -0
  202. data/lib/paypal_server_sdk/models/reauthorize_request.rb +62 -0
  203. data/lib/paypal_server_sdk/models/refund.rb +195 -0
  204. data/lib/paypal_server_sdk/models/refund_incomplete_reason.rb +20 -0
  205. data/lib/paypal_server_sdk/models/refund_payment_instruction.rb +68 -0
  206. data/lib/paypal_server_sdk/models/refund_platform_fee.rb +52 -0
  207. data/lib/paypal_server_sdk/models/refund_request.rb +100 -0
  208. data/lib/paypal_server_sdk/models/refund_status.rb +29 -0
  209. data/lib/paypal_server_sdk/models/refund_status_details.rb +50 -0
  210. data/lib/paypal_server_sdk/models/refund_status_with_details.rb +60 -0
  211. data/lib/paypal_server_sdk/models/related_identifiers.rb +69 -0
  212. data/lib/paypal_server_sdk/models/seller_payable_breakdown.rb +156 -0
  213. data/lib/paypal_server_sdk/models/seller_protection.rb +65 -0
  214. data/lib/paypal_server_sdk/models/seller_protection_status.rb +29 -0
  215. data/lib/paypal_server_sdk/models/seller_receivable_breakdown.rb +129 -0
  216. data/lib/paypal_server_sdk/models/setup_token_card_experience_context.rb +103 -0
  217. data/lib/paypal_server_sdk/models/setup_token_request.rb +60 -0
  218. data/lib/paypal_server_sdk/models/setup_token_request_card.rb +141 -0
  219. data/lib/paypal_server_sdk/models/setup_token_request_payment_source.rb +77 -0
  220. data/lib/paypal_server_sdk/models/setup_token_response.rb +106 -0
  221. data/lib/paypal_server_sdk/models/setup_token_response_card.rb +156 -0
  222. data/lib/paypal_server_sdk/models/setup_token_response_payment_source.rb +68 -0
  223. data/lib/paypal_server_sdk/models/shipment_carrier.rb +3852 -0
  224. data/lib/paypal_server_sdk/models/shipping_details.rb +106 -0
  225. data/lib/paypal_server_sdk/models/shipping_name.rb +50 -0
  226. data/lib/paypal_server_sdk/models/shipping_option.rb +94 -0
  227. data/lib/paypal_server_sdk/models/shipping_preference.rb +26 -0
  228. data/lib/paypal_server_sdk/models/shipping_type.rb +29 -0
  229. data/lib/paypal_server_sdk/models/shipping_with_tracking_details.rb +124 -0
  230. data/lib/paypal_server_sdk/models/sofort_payment_object.rb +85 -0
  231. data/lib/paypal_server_sdk/models/sofort_payment_request.rb +73 -0
  232. data/lib/paypal_server_sdk/models/standard_entry_class_code.rb +36 -0
  233. data/lib/paypal_server_sdk/models/store_in_vault_instruction.rb +20 -0
  234. data/lib/paypal_server_sdk/models/stored_payment_source.rb +95 -0
  235. data/lib/paypal_server_sdk/models/stored_payment_source_payment_type.rb +26 -0
  236. data/lib/paypal_server_sdk/models/stored_payment_source_usage_type.rb +27 -0
  237. data/lib/paypal_server_sdk/models/supplementary_data.rb +58 -0
  238. data/lib/paypal_server_sdk/models/supplementary_purchase_data.rb +63 -0
  239. data/lib/paypal_server_sdk/models/tax_id_type.rb +23 -0
  240. data/lib/paypal_server_sdk/models/tax_info.rb +57 -0
  241. data/lib/paypal_server_sdk/models/three_d_secure_authentication_response.rb +62 -0
  242. data/lib/paypal_server_sdk/models/token.rb +56 -0
  243. data/lib/paypal_server_sdk/models/token_request_type.rb +23 -0
  244. data/lib/paypal_server_sdk/models/token_type.rb +20 -0
  245. data/lib/paypal_server_sdk/models/trustly_payment_object.rb +85 -0
  246. data/lib/paypal_server_sdk/models/trustly_payment_request.rb +73 -0
  247. data/lib/paypal_server_sdk/models/universal_product_code.rb +56 -0
  248. data/lib/paypal_server_sdk/models/upc_type.rb +38 -0
  249. data/lib/paypal_server_sdk/models/vault_customer.rb +50 -0
  250. data/lib/paypal_server_sdk/models/vault_experience_context.rb +112 -0
  251. data/lib/paypal_server_sdk/models/vault_instruction.rb +50 -0
  252. data/lib/paypal_server_sdk/models/vault_instruction_base.rb +52 -0
  253. data/lib/paypal_server_sdk/models/vault_pay_pal_wallet_request.rb +115 -0
  254. data/lib/paypal_server_sdk/models/vault_response.rb +86 -0
  255. data/lib/paypal_server_sdk/models/vault_status.rb +26 -0
  256. data/lib/paypal_server_sdk/models/vault_token_request.rb +56 -0
  257. data/lib/paypal_server_sdk/models/vault_venmo_experience_context.rb +73 -0
  258. data/lib/paypal_server_sdk/models/vault_venmo_request.rb +115 -0
  259. data/lib/paypal_server_sdk/models/vaulted_digital_wallet.rb +106 -0
  260. data/lib/paypal_server_sdk/models/vaulted_digital_wallet_shipping_details.rb +75 -0
  261. data/lib/paypal_server_sdk/models/venmo_payment_token.rb +169 -0
  262. data/lib/paypal_server_sdk/models/venmo_payment_token_customer_type.rb +25 -0
  263. data/lib/paypal_server_sdk/models/venmo_payment_token_usage_pattern.rb +35 -0
  264. data/lib/paypal_server_sdk/models/venmo_payment_token_usage_type.rb +23 -0
  265. data/lib/paypal_server_sdk/models/venmo_wallet_additional_attributes.rb +60 -0
  266. data/lib/paypal_server_sdk/models/venmo_wallet_attributes_response.rb +50 -0
  267. data/lib/paypal_server_sdk/models/venmo_wallet_customer_information.rb +63 -0
  268. data/lib/paypal_server_sdk/models/venmo_wallet_experience_context.rb +65 -0
  269. data/lib/paypal_server_sdk/models/venmo_wallet_request.rb +89 -0
  270. data/lib/paypal_server_sdk/models/venmo_wallet_response.rb +120 -0
  271. data/lib/paypal_server_sdk/models/venmo_wallet_vault_attributes.rb +114 -0
  272. data/lib/paypal_server_sdk/utilities/date_time_helper.rb +11 -0
  273. data/lib/paypal_server_sdk/utilities/file_wrapper.rb +16 -0
  274. data/lib/paypal_server_sdk.rb +306 -0
  275. metadata +357 -0
@@ -0,0 +1,306 @@
1
+ # paypal_server_sdk
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ require 'date'
7
+ require 'json'
8
+
9
+ require 'apimatic_core_interfaces'
10
+ require 'apimatic_core'
11
+ require 'apimatic_faraday_client_adapter'
12
+
13
+ require_relative 'paypal_server_sdk/api_helper'
14
+ require_relative 'paypal_server_sdk/client'
15
+
16
+ # Utilities
17
+ require_relative 'paypal_server_sdk/utilities/file_wrapper'
18
+ require_relative 'paypal_server_sdk/utilities/date_time_helper'
19
+
20
+ # Http
21
+ require_relative 'paypal_server_sdk/http/api_response'
22
+ require_relative 'paypal_server_sdk/http/http_call_back'
23
+ require_relative 'paypal_server_sdk/http/http_method_enum'
24
+ require_relative 'paypal_server_sdk/http/http_request'
25
+ require_relative 'paypal_server_sdk/http/http_response'
26
+
27
+ # Logger
28
+ require_relative 'paypal_server_sdk/logging/configuration/' \
29
+ 'api_logging_configuration'
30
+ require_relative 'paypal_server_sdk/logging/sdk_logger'
31
+ require_relative 'paypal_server_sdk/http/auth/o_auth2'
32
+
33
+ # Models
34
+ require_relative 'paypal_server_sdk/models/base_model'
35
+ require_relative 'paypal_server_sdk/models/activity_timestamps'
36
+ require_relative 'paypal_server_sdk/models/amount_breakdown'
37
+ require_relative 'paypal_server_sdk/models/amount_with_breakdown'
38
+ require_relative 'paypal_server_sdk/models/apple_pay_payment_object'
39
+ require_relative 'paypal_server_sdk/models/apple_pay_attributes'
40
+ require_relative 'paypal_server_sdk/models/apple_pay_attributes_response'
41
+ require_relative 'paypal_server_sdk/models/apple_pay_card_response'
42
+ require_relative 'paypal_server_sdk/models/apple_pay_decrypted_token_data'
43
+ require_relative 'paypal_server_sdk/models/apple_pay_payment_data'
44
+ require_relative 'paypal_server_sdk/models/apple_pay_request'
45
+ require_relative 'paypal_server_sdk/models/assurance_details'
46
+ require_relative 'paypal_server_sdk/models/authentication_response'
47
+ require_relative 'paypal_server_sdk/models/authorization'
48
+ require_relative 'paypal_server_sdk/models/link_description'
49
+ require_relative 'paypal_server_sdk/models/authorization_status_with_details'
50
+ require_relative 'paypal_server_sdk/models/authorization_status_details'
51
+ require_relative 'paypal_server_sdk/models/authorization_with_additional_data'
52
+ require_relative 'paypal_server_sdk/models/bancontact_payment_object'
53
+ require_relative 'paypal_server_sdk/models/bancontact_payment_request'
54
+ require_relative 'paypal_server_sdk/models/bin_details'
55
+ require_relative 'paypal_server_sdk/models/blik_payment_object'
56
+ require_relative 'paypal_server_sdk/models/blik_experience_context'
57
+ require_relative 'paypal_server_sdk/models/blik_one_click_payment_request'
58
+ require_relative 'paypal_server_sdk/models/blik_one_click_payment_object'
59
+ require_relative 'paypal_server_sdk/models/blik_payment_request'
60
+ require_relative 'paypal_server_sdk/models/blik_level0_payment_object'
61
+ require_relative 'paypal_server_sdk/models/capture'
62
+ require_relative 'paypal_server_sdk/models/capture_status_with_details'
63
+ require_relative 'paypal_server_sdk/models/capture_status_details'
64
+ require_relative 'paypal_server_sdk/models/card_attributes'
65
+ require_relative 'paypal_server_sdk/models/card_attributes_response'
66
+ require_relative 'paypal_server_sdk/models/card_customer_information'
67
+ require_relative 'paypal_server_sdk/models/card_experience_context'
68
+ require_relative 'paypal_server_sdk/models/card_from_request'
69
+ require_relative 'paypal_server_sdk/models/card_request'
70
+ require_relative 'paypal_server_sdk/models/card_response'
71
+ require_relative 'paypal_server_sdk/models/card_stored_credential'
72
+ require_relative 'paypal_server_sdk/models/card_supplementary_data'
73
+ require_relative 'paypal_server_sdk/models/card_vault_response'
74
+ require_relative 'paypal_server_sdk/models/card_verification'
75
+ require_relative 'paypal_server_sdk/models/cobranded_card'
76
+ require_relative 'paypal_server_sdk/models/confirm_order_request'
77
+ require_relative 'paypal_server_sdk/models/customer_information'
78
+ require_relative 'paypal_server_sdk/models/platform_fee'
79
+ require_relative 'paypal_server_sdk/models/eps_payment_object'
80
+ require_relative 'paypal_server_sdk/models/eps_payment_request'
81
+ require_relative 'paypal_server_sdk/models/error_details'
82
+ require_relative 'paypal_server_sdk/models/exchange_rate'
83
+ require_relative 'paypal_server_sdk/models/experience_context'
84
+ require_relative 'paypal_server_sdk/models/giropay_payment_object'
85
+ require_relative 'paypal_server_sdk/models/giropay_payment_request'
86
+ require_relative 'paypal_server_sdk/models/google_pay_wallet_response'
87
+ require_relative 'paypal_server_sdk/models/google_pay_card_response'
88
+ require_relative 'paypal_server_sdk/models/google_pay_decrypted_token_data'
89
+ require_relative 'paypal_server_sdk/models/google_pay_request'
90
+ require_relative 'paypal_server_sdk/models/ideal_payment_object'
91
+ require_relative 'paypal_server_sdk/models/ideal_payment_request'
92
+ require_relative 'paypal_server_sdk/models/item'
93
+ require_relative 'paypal_server_sdk/models/level2_card_processing_data'
94
+ require_relative 'paypal_server_sdk/models/level3_card_processing_data'
95
+ require_relative 'paypal_server_sdk/models/line_item'
96
+ require_relative 'paypal_server_sdk/models/money'
97
+ require_relative 'paypal_server_sdk/models/my_bank_payment_object'
98
+ require_relative 'paypal_server_sdk/models/my_bank_payment_request'
99
+ require_relative 'paypal_server_sdk/models/net_amount_breakdown_item'
100
+ require_relative 'paypal_server_sdk/models/network_token'
101
+ require_relative 'paypal_server_sdk/models/network_transaction_reference'
102
+ require_relative 'paypal_server_sdk/models/order'
103
+ require_relative 'paypal_server_sdk/models/order_application_context'
104
+ require_relative 'paypal_server_sdk/models/order_authorize_request'
105
+ require_relative 'paypal_server_sdk/models/order_authorize_response'
106
+ require_relative 'paypal_server_sdk/models/order_capture_request'
107
+ require_relative 'paypal_server_sdk/models/order_confirm_application_context'
108
+ require_relative 'paypal_server_sdk/models/order_request'
109
+ require_relative 'paypal_server_sdk/models/order_tracker_request'
110
+ require_relative 'paypal_server_sdk/models/p24_payment_object'
111
+ require_relative 'paypal_server_sdk/models/p24_payment_request'
112
+ require_relative 'paypal_server_sdk/models/patch'
113
+ require_relative 'paypal_server_sdk/models/payee'
114
+ require_relative 'paypal_server_sdk/models/payee_base'
115
+ require_relative 'paypal_server_sdk/models/payer'
116
+ require_relative 'paypal_server_sdk/models/payer_base'
117
+ require_relative 'paypal_server_sdk/models/payment_collection'
118
+ require_relative 'paypal_server_sdk/models/payment_instruction'
119
+ require_relative 'paypal_server_sdk/models/payment_method_preference'
120
+ require_relative 'paypal_server_sdk/models/payment_source'
121
+ require_relative 'paypal_server_sdk/models/payment_source_response'
122
+ require_relative 'paypal_server_sdk/models/pay_pal_wallet'
123
+ require_relative 'paypal_server_sdk/models/pay_pal_wallet_attributes'
124
+ require_relative 'paypal_server_sdk/models/pay_pal_wallet_attributes_response'
125
+ require_relative 'paypal_server_sdk/models/pay_pal_wallet_customer'
126
+ require_relative 'paypal_server_sdk/models/pay_pal_wallet_experience_context'
127
+ require_relative 'paypal_server_sdk/models/pay_pal_wallet_response'
128
+ require_relative 'paypal_server_sdk/models/pay_pal_wallet_vault_response'
129
+ require_relative 'paypal_server_sdk/models/phone_number'
130
+ require_relative 'paypal_server_sdk/models/phone_with_type'
131
+ require_relative 'paypal_server_sdk/models/processor_response'
132
+ require_relative 'paypal_server_sdk/models/purchase_unit'
133
+ require_relative 'paypal_server_sdk/models/purchase_unit_request'
134
+ require_relative 'paypal_server_sdk/models/refund'
135
+ require_relative 'paypal_server_sdk/models/refund_status_with_details'
136
+ require_relative 'paypal_server_sdk/models/refund_status_details'
137
+ require_relative 'paypal_server_sdk/models/seller_payable_breakdown'
138
+ require_relative 'paypal_server_sdk/models/seller_protection'
139
+ require_relative 'paypal_server_sdk/models/seller_receivable_breakdown'
140
+ require_relative 'paypal_server_sdk/models/shipping_details'
141
+ require_relative 'paypal_server_sdk/models/shipping_option'
142
+ require_relative 'paypal_server_sdk/models/shipping_with_tracking_details'
143
+ require_relative 'paypal_server_sdk/models/sofort_payment_object'
144
+ require_relative 'paypal_server_sdk/models/sofort_payment_request'
145
+ require_relative 'paypal_server_sdk/models/stored_payment_source'
146
+ require_relative 'paypal_server_sdk/models/supplementary_data'
147
+ require_relative 'paypal_server_sdk/models/tax_info'
148
+ require_relative 'paypal_server_sdk/models/' \
149
+ 'three_d_secure_authentication_response'
150
+ require_relative 'paypal_server_sdk/models/token'
151
+ require_relative 'paypal_server_sdk/models/order_tracker_response'
152
+ require_relative 'paypal_server_sdk/models/order_tracker_item'
153
+ require_relative 'paypal_server_sdk/models/trustly_payment_object'
154
+ require_relative 'paypal_server_sdk/models/trustly_payment_request'
155
+ require_relative 'paypal_server_sdk/models/universal_product_code'
156
+ require_relative 'paypal_server_sdk/models/vault_instruction'
157
+ require_relative 'paypal_server_sdk/models/vault_instruction_base'
158
+ require_relative 'paypal_server_sdk/models/vault_response'
159
+ require_relative 'paypal_server_sdk/models/venmo_wallet_vault_attributes'
160
+ require_relative 'paypal_server_sdk/models/venmo_wallet_additional_attributes'
161
+ require_relative 'paypal_server_sdk/models/venmo_wallet_attributes_response'
162
+ require_relative 'paypal_server_sdk/models/venmo_wallet_experience_context'
163
+ require_relative 'paypal_server_sdk/models/venmo_wallet_request'
164
+ require_relative 'paypal_server_sdk/models/venmo_wallet_response'
165
+ require_relative 'paypal_server_sdk/models/address'
166
+ require_relative 'paypal_server_sdk/models/apple_pay_tokenized_card'
167
+ require_relative 'paypal_server_sdk/models/google_pay_card_attributes'
168
+ require_relative 'paypal_server_sdk/models/google_pay_request_card'
169
+ require_relative 'paypal_server_sdk/models/name'
170
+ require_relative 'paypal_server_sdk/models/' \
171
+ 'order_authorize_request_payment_source'
172
+ require_relative 'paypal_server_sdk/models/' \
173
+ 'order_authorize_response_payment_source'
174
+ require_relative 'paypal_server_sdk/models/order_capture_request_payment_source'
175
+ require_relative 'paypal_server_sdk/models/pay_pal_wallet_customer_request'
176
+ require_relative 'paypal_server_sdk/models/pay_pal_wallet_vault_instruction'
177
+ require_relative 'paypal_server_sdk/models/phone_number_with_country_code'
178
+ require_relative 'paypal_server_sdk/models/shipping_name'
179
+ require_relative 'paypal_server_sdk/models/vault_customer'
180
+ require_relative 'paypal_server_sdk/models/venmo_wallet_customer_information'
181
+ require_relative 'paypal_server_sdk/models/payment_authorization'
182
+ require_relative 'paypal_server_sdk/models/captured_payment'
183
+ require_relative 'paypal_server_sdk/models/capture_request'
184
+ require_relative 'paypal_server_sdk/models/refund_platform_fee'
185
+ require_relative 'paypal_server_sdk/models/refund_payment_instruction'
186
+ require_relative 'paypal_server_sdk/models/reauthorize_request'
187
+ require_relative 'paypal_server_sdk/models/refund_request'
188
+ require_relative 'paypal_server_sdk/models/related_identifiers'
189
+ require_relative 'paypal_server_sdk/models/payment_supplementary_data'
190
+ require_relative 'paypal_server_sdk/models/supplementary_purchase_data'
191
+ require_relative 'paypal_server_sdk/models/capture_payment_instruction'
192
+ require_relative 'paypal_server_sdk/models/address_details'
193
+ require_relative 'paypal_server_sdk/models/apple_pay_payment_token'
194
+ require_relative 'paypal_server_sdk/models/card_payment_token'
195
+ require_relative 'paypal_server_sdk/models/card_response_entity'
196
+ require_relative 'paypal_server_sdk/models/card_verification_details'
197
+ require_relative 'paypal_server_sdk/models/customer_request'
198
+ require_relative 'paypal_server_sdk/models/' \
199
+ 'customer_vault_payment_tokens_response'
200
+ require_relative 'paypal_server_sdk/models/payment_token_request_payment_source'
201
+ require_relative 'paypal_server_sdk/models/vault_experience_context'
202
+ require_relative 'paypal_server_sdk/models/network_transaction_reference_entity'
203
+ require_relative 'paypal_server_sdk/models/' \
204
+ 'payment_token_response_payment_source'
205
+ require_relative 'paypal_server_sdk/models/payment_token_request'
206
+ require_relative 'paypal_server_sdk/models/payment_token_response'
207
+ require_relative 'paypal_server_sdk/models/vault_pay_pal_wallet_request'
208
+ require_relative 'paypal_server_sdk/models/pay_pal_payment_token'
209
+ require_relative 'paypal_server_sdk/models/phone'
210
+ require_relative 'paypal_server_sdk/models/setup_token_request'
211
+ require_relative 'paypal_server_sdk/models/setup_token_response'
212
+ require_relative 'paypal_server_sdk/models/vault_token_request'
213
+ require_relative 'paypal_server_sdk/models/vault_venmo_request'
214
+ require_relative 'paypal_server_sdk/models/venmo_payment_token'
215
+ require_relative 'paypal_server_sdk/models/vaulted_digital_wallet'
216
+ require_relative 'paypal_server_sdk/models/apple_pay_card'
217
+ require_relative 'paypal_server_sdk/models/card_authentication_response'
218
+ require_relative 'paypal_server_sdk/models/card_verification_processor_response'
219
+ require_relative 'paypal_server_sdk/models/payment_token_request_card'
220
+ require_relative 'paypal_server_sdk/models/setup_token_card_experience_context'
221
+ require_relative 'paypal_server_sdk/models/setup_token_request_card'
222
+ require_relative 'paypal_server_sdk/models/setup_token_request_payment_source'
223
+ require_relative 'paypal_server_sdk/models/setup_token_response_card'
224
+ require_relative 'paypal_server_sdk/models/setup_token_response_payment_source'
225
+ require_relative 'paypal_server_sdk/models/vault_venmo_experience_context'
226
+ require_relative 'paypal_server_sdk/models/' \
227
+ 'vaulted_digital_wallet_shipping_details'
228
+ require_relative 'paypal_server_sdk/models/o_auth_token'
229
+ require_relative 'paypal_server_sdk/models/card_brand'
230
+ require_relative 'paypal_server_sdk/models/card_type'
231
+ require_relative 'paypal_server_sdk/models/checkout_payment_intent'
232
+ require_relative 'paypal_server_sdk/models/disbursement_mode'
233
+ require_relative 'paypal_server_sdk/models/dispute_category'
234
+ require_relative 'paypal_server_sdk/models/eci_flag'
235
+ require_relative 'paypal_server_sdk/models/enrollment_status'
236
+ require_relative 'paypal_server_sdk/models/liability_shift_indicator'
237
+ require_relative 'paypal_server_sdk/models/order_status'
238
+ require_relative 'paypal_server_sdk/models/pa_res_status'
239
+ require_relative 'paypal_server_sdk/models/payee_payment_method_preference'
240
+ require_relative 'paypal_server_sdk/models/payment_initiator'
241
+ require_relative 'paypal_server_sdk/models/phone_type'
242
+ require_relative 'paypal_server_sdk/models/processing_instruction'
243
+ require_relative 'paypal_server_sdk/models/shipment_carrier'
244
+ require_relative 'paypal_server_sdk/models/shipping_type'
245
+ require_relative 'paypal_server_sdk/models/store_in_vault_instruction'
246
+ require_relative 'paypal_server_sdk/models/stored_payment_source_payment_type'
247
+ require_relative 'paypal_server_sdk/models/stored_payment_source_usage_type'
248
+ require_relative 'paypal_server_sdk/models/order_tracker_status'
249
+ require_relative 'paypal_server_sdk/models/apple_pay_payment_data_type'
250
+ require_relative 'paypal_server_sdk/models/authorization_incomplete_reason'
251
+ require_relative 'paypal_server_sdk/models/authorization_status'
252
+ require_relative 'paypal_server_sdk/models/avs_code'
253
+ require_relative 'paypal_server_sdk/models/capture_incomplete_reason'
254
+ require_relative 'paypal_server_sdk/models/capture_status'
255
+ require_relative 'paypal_server_sdk/models/card_verification_method'
256
+ require_relative 'paypal_server_sdk/models/cvv_code'
257
+ require_relative 'paypal_server_sdk/models/fullfillment_type'
258
+ require_relative 'paypal_server_sdk/models/google_pay_authentication_method'
259
+ require_relative 'paypal_server_sdk/models/google_pay_payment_method'
260
+ require_relative 'paypal_server_sdk/models/item_category'
261
+ require_relative 'paypal_server_sdk/models/link_http_method'
262
+ require_relative 'paypal_server_sdk/models/' \
263
+ 'order_application_context_landing_page'
264
+ require_relative 'paypal_server_sdk/models/' \
265
+ 'order_application_context_shipping_preference'
266
+ require_relative 'paypal_server_sdk/models/' \
267
+ 'order_application_context_user_action'
268
+ require_relative 'paypal_server_sdk/models/patch_op'
269
+ require_relative 'paypal_server_sdk/models/payment_advice_code'
270
+ require_relative 'paypal_server_sdk/models/pay_pal_experience_landing_page'
271
+ require_relative 'paypal_server_sdk/models/pay_pal_experience_user_action'
272
+ require_relative 'paypal_server_sdk/models/pay_pal_payment_token_customer_type'
273
+ require_relative 'paypal_server_sdk/models/pay_pal_payment_token_usage_pattern'
274
+ require_relative 'paypal_server_sdk/models/pay_pal_payment_token_usage_type'
275
+ require_relative 'paypal_server_sdk/models/' \
276
+ 'pay_pal_wallet_account_verification_status'
277
+ require_relative 'paypal_server_sdk/models/pay_pal_wallet_vault_status'
278
+ require_relative 'paypal_server_sdk/models/processor_response_code'
279
+ require_relative 'paypal_server_sdk/models/refund_incomplete_reason'
280
+ require_relative 'paypal_server_sdk/models/refund_status'
281
+ require_relative 'paypal_server_sdk/models/seller_protection_status'
282
+ require_relative 'paypal_server_sdk/models/shipping_preference'
283
+ require_relative 'paypal_server_sdk/models/standard_entry_class_code'
284
+ require_relative 'paypal_server_sdk/models/tax_id_type'
285
+ require_relative 'paypal_server_sdk/models/token_type'
286
+ require_relative 'paypal_server_sdk/models/upc_type'
287
+ require_relative 'paypal_server_sdk/models/vault_status'
288
+ require_relative 'paypal_server_sdk/models/venmo_payment_token_customer_type'
289
+ require_relative 'paypal_server_sdk/models/venmo_payment_token_usage_pattern'
290
+ require_relative 'paypal_server_sdk/models/venmo_payment_token_usage_type'
291
+ require_relative 'paypal_server_sdk/models/token_request_type'
292
+ require_relative 'paypal_server_sdk/models/o_auth_provider_error'
293
+
294
+ # Exceptions
295
+ require_relative 'paypal_server_sdk/exceptions/api_exception'
296
+ require_relative 'paypal_server_sdk/exceptions/error_exception'
297
+ require_relative 'paypal_server_sdk/exceptions/o_auth_provider_exception'
298
+
299
+ require_relative 'paypal_server_sdk/configuration'
300
+
301
+ # Controllers
302
+ require_relative 'paypal_server_sdk/controllers/base_controller'
303
+ require_relative 'paypal_server_sdk/controllers/orders_controller'
304
+ require_relative 'paypal_server_sdk/controllers/payments_controller'
305
+ require_relative 'paypal_server_sdk/controllers/vault_controller'
306
+ require_relative 'paypal_server_sdk/controllers/o_auth_authorization_controller'