paypal-server-sdk 0.6.0 → 0.7.0

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 (292) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +34 -34
  3. data/README.md +19 -30
  4. data/lib/paypal_server_sdk/controllers/base_controller.rb +1 -1
  5. data/lib/paypal_server_sdk/controllers/orders_controller.rb +228 -234
  6. data/lib/paypal_server_sdk/controllers/payments_controller.rb +139 -91
  7. data/lib/paypal_server_sdk/controllers/vault_controller.rb +57 -57
  8. data/lib/paypal_server_sdk/exceptions/api_exception.rb +11 -0
  9. data/lib/paypal_server_sdk/exceptions/error_exception.rb +14 -0
  10. data/lib/paypal_server_sdk/exceptions/o_auth_provider_exception.rb +14 -0
  11. data/lib/paypal_server_sdk/models/activity_timestamps.rb +17 -6
  12. data/lib/paypal_server_sdk/models/address.rb +24 -9
  13. data/lib/paypal_server_sdk/models/amount_breakdown.rb +17 -0
  14. data/lib/paypal_server_sdk/models/amount_with_breakdown.rb +22 -9
  15. data/lib/paypal_server_sdk/models/apple_pay_attributes.rb +12 -0
  16. data/lib/paypal_server_sdk/models/apple_pay_attributes_response.rb +12 -0
  17. data/lib/paypal_server_sdk/models/apple_pay_card.rb +14 -0
  18. data/lib/paypal_server_sdk/models/apple_pay_card_response.rb +48 -6
  19. data/lib/paypal_server_sdk/models/apple_pay_decrypted_token_data.rb +16 -0
  20. data/lib/paypal_server_sdk/models/apple_pay_payment_data.rb +14 -0
  21. data/lib/paypal_server_sdk/models/apple_pay_payment_data_type.rb +6 -2
  22. data/lib/paypal_server_sdk/models/apple_pay_payment_object.rb +43 -7
  23. data/lib/paypal_server_sdk/models/apple_pay_payment_token.rb +12 -0
  24. data/lib/paypal_server_sdk/models/apple_pay_request.rb +27 -13
  25. data/lib/paypal_server_sdk/models/apple_pay_tokenized_card.rb +15 -0
  26. data/lib/paypal_server_sdk/models/assurance_details.rb +14 -0
  27. data/lib/paypal_server_sdk/models/authentication_response.rb +13 -0
  28. data/lib/paypal_server_sdk/models/authorization.rb +28 -9
  29. data/lib/paypal_server_sdk/models/authorization_incomplete_reason.rb +2 -2
  30. data/lib/paypal_server_sdk/models/authorization_status.rb +12 -6
  31. data/lib/paypal_server_sdk/models/authorization_status_details.rb +12 -0
  32. data/lib/paypal_server_sdk/models/authorization_status_with_details.rb +12 -0
  33. data/lib/paypal_server_sdk/models/authorization_with_additional_data.rb +29 -9
  34. data/lib/paypal_server_sdk/models/avs_code.rb +102 -71
  35. data/lib/paypal_server_sdk/models/bancontact_payment_object.rb +19 -5
  36. data/lib/paypal_server_sdk/models/bancontact_payment_request.rb +18 -5
  37. data/lib/paypal_server_sdk/models/base_model.rb +76 -28
  38. data/lib/paypal_server_sdk/models/billing_cycle.rb +129 -0
  39. data/lib/paypal_server_sdk/models/bin_details.rb +18 -5
  40. data/lib/paypal_server_sdk/models/blik_experience_context.rb +17 -0
  41. data/lib/paypal_server_sdk/models/blik_level0_payment_object.rb +12 -0
  42. data/lib/paypal_server_sdk/models/blik_one_click_payment_object.rb +12 -0
  43. data/lib/paypal_server_sdk/models/blik_one_click_payment_request.rb +15 -0
  44. data/lib/paypal_server_sdk/models/blik_payment_object.rb +22 -10
  45. data/lib/paypal_server_sdk/models/blik_payment_request.rb +24 -10
  46. data/lib/paypal_server_sdk/models/callback_configuration.rb +75 -0
  47. data/lib/paypal_server_sdk/models/callback_events.rb +27 -0
  48. data/lib/paypal_server_sdk/models/capture_incomplete_reason.rb +22 -14
  49. data/lib/paypal_server_sdk/models/capture_payment_instruction.rb +15 -0
  50. data/lib/paypal_server_sdk/models/capture_request.rb +17 -0
  51. data/lib/paypal_server_sdk/models/capture_status.rb +10 -6
  52. data/lib/paypal_server_sdk/models/capture_status_details.rb +12 -0
  53. data/lib/paypal_server_sdk/models/capture_status_with_details.rb +12 -0
  54. data/lib/paypal_server_sdk/models/captured_payment.rb +36 -10
  55. data/lib/paypal_server_sdk/models/card_attributes.rb +13 -0
  56. data/lib/paypal_server_sdk/models/card_attributes_response.rb +12 -0
  57. data/lib/paypal_server_sdk/models/card_authentication_response.rb +14 -2
  58. data/lib/paypal_server_sdk/models/card_brand.rb +29 -25
  59. data/lib/paypal_server_sdk/models/card_customer_information.rb +18 -5
  60. data/lib/paypal_server_sdk/models/card_experience_context.rb +12 -0
  61. data/lib/paypal_server_sdk/models/card_from_request.rb +12 -0
  62. data/lib/paypal_server_sdk/models/{card_response_entity.rb → card_payment_token_entity.rb} +37 -15
  63. data/lib/paypal_server_sdk/models/card_request.rb +32 -17
  64. data/lib/paypal_server_sdk/models/card_response.rb +43 -2
  65. data/lib/paypal_server_sdk/models/{address_details.rb → card_response_address.rb} +33 -57
  66. data/lib/paypal_server_sdk/models/card_stored_credential.rb +23 -7
  67. data/lib/paypal_server_sdk/models/card_supplementary_data.rb +13 -5
  68. data/lib/paypal_server_sdk/models/card_type.rb +5 -5
  69. data/lib/paypal_server_sdk/models/card_vault_response.rb +13 -0
  70. data/lib/paypal_server_sdk/models/card_verification.rb +16 -3
  71. data/lib/paypal_server_sdk/models/card_verification_details.rb +40 -11
  72. data/lib/paypal_server_sdk/models/card_verification_processor_response.rb +12 -0
  73. data/lib/paypal_server_sdk/models/card_verification_status.rb +23 -0
  74. data/lib/paypal_server_sdk/models/checkout_payment_intent.rb +10 -2
  75. data/lib/paypal_server_sdk/models/cobranded_card.rb +13 -0
  76. data/lib/paypal_server_sdk/models/confirm_order_request.rb +15 -15
  77. data/lib/paypal_server_sdk/models/{customer_request.rb → customer.rb} +18 -4
  78. data/lib/paypal_server_sdk/models/customer_information.rb +17 -5
  79. data/lib/paypal_server_sdk/models/customer_response.rb +76 -0
  80. data/lib/paypal_server_sdk/models/customer_vault_payment_tokens_response.rb +21 -4
  81. data/lib/paypal_server_sdk/models/cvv_code.rb +35 -27
  82. data/lib/paypal_server_sdk/models/disbursement_mode.rb +5 -2
  83. data/lib/paypal_server_sdk/models/dispute_category.rb +2 -2
  84. data/lib/paypal_server_sdk/models/eci_flag.rb +6 -8
  85. data/lib/paypal_server_sdk/models/enrollment_status.rb +11 -8
  86. data/lib/paypal_server_sdk/models/eps_payment_object.rb +17 -5
  87. data/lib/paypal_server_sdk/models/eps_payment_request.rb +18 -5
  88. data/lib/paypal_server_sdk/models/error_details.rb +15 -0
  89. data/lib/paypal_server_sdk/models/exchange_rate.rb +14 -0
  90. data/lib/paypal_server_sdk/models/experience_context.rb +15 -0
  91. data/lib/paypal_server_sdk/models/fulfillment_type.rb +36 -0
  92. data/lib/paypal_server_sdk/models/giropay_payment_object.rb +17 -5
  93. data/lib/paypal_server_sdk/models/giropay_payment_request.rb +18 -5
  94. data/lib/paypal_server_sdk/models/google_pay_authentication_method.rb +8 -2
  95. data/lib/paypal_server_sdk/models/google_pay_card.rb +128 -0
  96. data/lib/paypal_server_sdk/models/google_pay_card_response.rb +16 -0
  97. data/lib/paypal_server_sdk/models/google_pay_decrypted_token_data.rb +28 -2
  98. data/lib/paypal_server_sdk/models/google_pay_payment_method.rb +1 -1
  99. data/lib/paypal_server_sdk/models/google_pay_request.rb +22 -17
  100. data/lib/paypal_server_sdk/models/google_pay_request_card.rb +14 -0
  101. data/lib/paypal_server_sdk/models/google_pay_wallet_response.rb +18 -5
  102. data/lib/paypal_server_sdk/models/ideal_payment_object.rb +18 -5
  103. data/lib/paypal_server_sdk/models/ideal_payment_request.rb +18 -5
  104. data/lib/paypal_server_sdk/models/item.rb +17 -0
  105. data/lib/paypal_server_sdk/models/item_category.rb +6 -3
  106. data/lib/paypal_server_sdk/models/level2_card_processing_data.rb +12 -0
  107. data/lib/paypal_server_sdk/models/level3_card_processing_data.rb +17 -0
  108. data/lib/paypal_server_sdk/models/liability_shift_indicator.rb +3 -3
  109. data/lib/paypal_server_sdk/models/line_item.rb +21 -0
  110. data/lib/paypal_server_sdk/models/link_description.rb +12 -0
  111. data/lib/paypal_server_sdk/models/money.rb +16 -4
  112. data/lib/paypal_server_sdk/models/mybank_payment_object.rb +18 -5
  113. data/lib/paypal_server_sdk/models/mybank_payment_request.rb +18 -5
  114. data/lib/paypal_server_sdk/models/name.rb +12 -0
  115. data/lib/paypal_server_sdk/models/net_amount_breakdown_item.rb +14 -0
  116. data/lib/paypal_server_sdk/models/network_token.rb +15 -0
  117. data/lib/paypal_server_sdk/models/network_transaction_reference.rb +14 -0
  118. data/lib/paypal_server_sdk/models/network_transaction_reference_entity.rb +15 -3
  119. data/lib/paypal_server_sdk/models/one_time_charge.rb +118 -0
  120. data/lib/paypal_server_sdk/models/order.rb +28 -25
  121. data/lib/paypal_server_sdk/models/order_application_context.rb +40 -25
  122. data/lib/paypal_server_sdk/models/order_application_context_landing_page.rb +10 -3
  123. data/lib/paypal_server_sdk/models/order_application_context_shipping_preference.rb +14 -10
  124. data/lib/paypal_server_sdk/models/order_application_context_user_action.rb +11 -6
  125. data/lib/paypal_server_sdk/models/order_authorize_request.rb +12 -0
  126. data/lib/paypal_server_sdk/models/order_authorize_request_payment_source.rb +20 -9
  127. data/lib/paypal_server_sdk/models/order_authorize_response.rb +26 -23
  128. data/lib/paypal_server_sdk/models/order_authorize_response_payment_source.rb +14 -0
  129. data/lib/paypal_server_sdk/models/order_capture_request.rb +12 -0
  130. data/lib/paypal_server_sdk/models/order_capture_request_payment_source.rb +20 -9
  131. data/lib/paypal_server_sdk/models/order_confirm_application_context.rb +21 -8
  132. data/lib/paypal_server_sdk/models/order_request.rb +18 -4
  133. data/lib/paypal_server_sdk/models/order_status.rb +19 -6
  134. data/lib/paypal_server_sdk/models/order_tracker_item.rb +15 -0
  135. data/lib/paypal_server_sdk/models/order_tracker_request.rb +22 -5
  136. data/lib/paypal_server_sdk/models/order_tracker_response.rb +19 -6
  137. data/lib/paypal_server_sdk/models/order_tracker_status.rb +5 -2
  138. data/lib/paypal_server_sdk/models/order_update_callback_error_response.rb +89 -0
  139. data/lib/paypal_server_sdk/models/order_update_callback_error_response_details.rb +81 -0
  140. data/lib/paypal_server_sdk/models/order_update_callback_request.rb +111 -0
  141. data/lib/paypal_server_sdk/models/order_update_callback_response.rb +72 -0
  142. data/lib/paypal_server_sdk/models/order_update_callback_shipping_address.rb +107 -0
  143. data/lib/paypal_server_sdk/models/order_update_callback_shipping_option.rb +93 -0
  144. data/lib/paypal_server_sdk/models/{capture.rb → orders_capture.rb} +46 -22
  145. data/lib/paypal_server_sdk/models/orders_card_verification_method.rb +51 -0
  146. data/lib/paypal_server_sdk/models/p24_payment_object.rb +24 -10
  147. data/lib/paypal_server_sdk/models/p24_payment_request.rb +22 -10
  148. data/lib/paypal_server_sdk/models/pa_res_status.rb +16 -16
  149. data/lib/paypal_server_sdk/models/participant_metadata.rb +64 -0
  150. data/lib/paypal_server_sdk/models/patch.rb +20 -10
  151. data/lib/paypal_server_sdk/models/patch_op.rb +43 -6
  152. data/lib/paypal_server_sdk/models/payee_base.rb +17 -5
  153. data/lib/paypal_server_sdk/models/payee_payment_method_preference.rb +4 -2
  154. data/lib/paypal_server_sdk/models/payer.rb +20 -5
  155. data/lib/paypal_server_sdk/models/payer_base.rb +16 -5
  156. data/lib/paypal_server_sdk/models/payment_advice_code.rb +53 -8
  157. data/lib/paypal_server_sdk/models/payment_authorization.rb +32 -11
  158. data/lib/paypal_server_sdk/models/payment_collection.rb +16 -2
  159. data/lib/paypal_server_sdk/models/payment_initiator.rb +5 -2
  160. data/lib/paypal_server_sdk/models/payment_instruction.rb +16 -0
  161. data/lib/paypal_server_sdk/models/payment_method_preference.rb +14 -0
  162. data/lib/paypal_server_sdk/models/payment_source.rb +25 -9
  163. data/lib/paypal_server_sdk/models/payment_source_response.rb +19 -0
  164. data/lib/paypal_server_sdk/models/payment_supplementary_data.rb +12 -0
  165. data/lib/paypal_server_sdk/models/payment_token_request.rb +17 -3
  166. data/lib/paypal_server_sdk/models/payment_token_request_card.rb +17 -22
  167. data/lib/paypal_server_sdk/models/payment_token_request_payment_source.rb +12 -0
  168. data/lib/paypal_server_sdk/models/payment_token_response.rb +18 -3
  169. data/lib/paypal_server_sdk/models/payment_token_response_payment_source.rb +18 -14
  170. data/lib/paypal_server_sdk/models/payment_token_status.rb +36 -0
  171. data/lib/paypal_server_sdk/models/payments_capture.rb +252 -0
  172. data/lib/paypal_server_sdk/models/payments_payment_advice_code.rb +42 -0
  173. data/lib/paypal_server_sdk/models/payments_processor_response.rb +98 -0
  174. data/lib/paypal_server_sdk/models/paypal_experience_landing_page.rb +11 -3
  175. data/lib/paypal_server_sdk/models/paypal_experience_user_action.rb +9 -4
  176. data/lib/paypal_server_sdk/models/paypal_payment_token.rb +38 -8
  177. data/lib/paypal_server_sdk/models/paypal_payment_token_customer_type.rb +7 -3
  178. data/lib/paypal_server_sdk/models/paypal_payment_token_usage_type.rb +7 -3
  179. data/lib/paypal_server_sdk/models/paypal_wallet.rb +41 -11
  180. data/lib/paypal_server_sdk/models/paypal_wallet_account_verification_status.rb +6 -2
  181. data/lib/paypal_server_sdk/models/paypal_wallet_attributes.rb +12 -0
  182. data/lib/paypal_server_sdk/models/paypal_wallet_attributes_response.rb +12 -0
  183. data/lib/paypal_server_sdk/models/paypal_wallet_context_shipping_preference.rb +31 -0
  184. data/lib/paypal_server_sdk/models/paypal_wallet_customer.rb +18 -5
  185. data/lib/paypal_server_sdk/models/paypal_wallet_customer_request.rb +18 -5
  186. data/lib/paypal_server_sdk/models/paypal_wallet_experience_context.rb +45 -12
  187. data/lib/paypal_server_sdk/models/paypal_wallet_response.rb +39 -7
  188. data/lib/paypal_server_sdk/models/paypal_wallet_stored_credential.rb +98 -0
  189. data/lib/paypal_server_sdk/models/paypal_wallet_vault_instruction.rb +18 -1
  190. data/lib/paypal_server_sdk/models/paypal_wallet_vault_response.rb +13 -0
  191. data/lib/paypal_server_sdk/models/paypal_wallet_vault_status.rb +8 -3
  192. data/lib/paypal_server_sdk/models/phone.rb +14 -0
  193. data/lib/paypal_server_sdk/models/phone_number.rb +12 -0
  194. data/lib/paypal_server_sdk/models/phone_number_with_country_code.rb +15 -0
  195. data/lib/paypal_server_sdk/models/phone_with_type.rb +13 -0
  196. data/lib/paypal_server_sdk/models/plan.rb +102 -0
  197. data/lib/paypal_server_sdk/models/platform_fee.rb +12 -0
  198. data/lib/paypal_server_sdk/models/pricing_model.rb +28 -0
  199. data/lib/paypal_server_sdk/models/pricing_scheme.rb +84 -0
  200. data/lib/paypal_server_sdk/models/processor_response.rb +15 -0
  201. data/lib/paypal_server_sdk/models/processor_response_code.rb +312 -308
  202. data/lib/paypal_server_sdk/models/purchase_unit.rb +43 -25
  203. data/lib/paypal_server_sdk/models/purchase_unit_request.rb +36 -20
  204. data/lib/paypal_server_sdk/models/reauthorize_request.rb +19 -8
  205. data/lib/paypal_server_sdk/models/refund.rb +25 -6
  206. data/lib/paypal_server_sdk/models/refund_incomplete_reason.rb +2 -1
  207. data/lib/paypal_server_sdk/models/refund_payment_instruction.rb +12 -0
  208. data/lib/paypal_server_sdk/models/refund_platform_fee.rb +12 -0
  209. data/lib/paypal_server_sdk/models/refund_request.rb +17 -2
  210. data/lib/paypal_server_sdk/models/refund_status.rb +4 -4
  211. data/lib/paypal_server_sdk/models/refund_status_details.rb +12 -0
  212. data/lib/paypal_server_sdk/models/refund_status_with_details.rb +12 -0
  213. data/lib/paypal_server_sdk/models/related_identifiers.rb +14 -0
  214. data/lib/paypal_server_sdk/models/risk_supplementary_data.rb +63 -0
  215. data/lib/paypal_server_sdk/models/seller_payable_breakdown.rb +21 -0
  216. data/lib/paypal_server_sdk/models/seller_protection.rb +13 -0
  217. data/lib/paypal_server_sdk/models/seller_protection_status.rb +6 -3
  218. data/lib/paypal_server_sdk/models/seller_receivable_breakdown.rb +18 -0
  219. data/lib/paypal_server_sdk/models/setup_token_card_experience_context.rb +21 -5
  220. data/lib/paypal_server_sdk/models/setup_token_request.rb +17 -3
  221. data/lib/paypal_server_sdk/models/setup_token_request_card.rb +20 -18
  222. data/lib/paypal_server_sdk/models/setup_token_request_payment_source.rb +13 -0
  223. data/lib/paypal_server_sdk/models/setup_token_response.rb +23 -16
  224. data/lib/paypal_server_sdk/models/setup_token_response_card.rb +25 -3
  225. data/lib/paypal_server_sdk/models/setup_token_response_payment_source.rb +13 -0
  226. data/lib/paypal_server_sdk/models/shipment_carrier.rb +1594 -1295
  227. data/lib/paypal_server_sdk/models/shipping_details.rb +30 -3
  228. data/lib/paypal_server_sdk/models/shipping_name.rb +12 -0
  229. data/lib/paypal_server_sdk/models/shipping_option.rb +14 -0
  230. data/lib/paypal_server_sdk/models/shipping_options_purchase_unit.rb +102 -0
  231. data/lib/paypal_server_sdk/models/shipping_preference.rb +6 -3
  232. data/lib/paypal_server_sdk/models/shipping_type.rb +12 -4
  233. data/lib/paypal_server_sdk/models/shipping_with_tracking_details.rb +31 -3
  234. data/lib/paypal_server_sdk/models/sofort_payment_object.rb +18 -5
  235. data/lib/paypal_server_sdk/models/sofort_payment_request.rb +18 -5
  236. data/lib/paypal_server_sdk/models/standard_entry_class_code.rb +12 -4
  237. data/lib/paypal_server_sdk/models/store_in_vault_instruction.rb +2 -1
  238. data/lib/paypal_server_sdk/models/stored_payment_source.rb +23 -7
  239. data/lib/paypal_server_sdk/models/stored_payment_source_payment_type.rb +6 -3
  240. data/lib/paypal_server_sdk/models/stored_payment_source_usage_type.rb +6 -3
  241. data/lib/paypal_server_sdk/models/supplementary_data.rb +25 -7
  242. data/lib/paypal_server_sdk/models/supplementary_purchase_data.rb +13 -0
  243. data/lib/paypal_server_sdk/models/tax_id_type.rb +2 -2
  244. data/lib/paypal_server_sdk/models/tax_info.rb +12 -0
  245. data/lib/paypal_server_sdk/models/tenure_type.rb +28 -0
  246. data/lib/paypal_server_sdk/models/three_d_secure_authentication_response.rb +14 -0
  247. data/lib/paypal_server_sdk/models/three_d_secure_card_authentication_response.rb +89 -0
  248. data/lib/paypal_server_sdk/models/token.rb +12 -0
  249. data/lib/paypal_server_sdk/models/token_type.rb +2 -1
  250. data/lib/paypal_server_sdk/models/trustly_payment_object.rb +31 -6
  251. data/lib/paypal_server_sdk/models/trustly_payment_request.rb +30 -6
  252. data/lib/paypal_server_sdk/models/universal_product_code.rb +12 -0
  253. data/lib/paypal_server_sdk/models/upc_type.rb +14 -14
  254. data/lib/paypal_server_sdk/models/usage_pattern.rb +72 -0
  255. data/lib/paypal_server_sdk/models/vault_card_verification_method.rb +39 -0
  256. data/lib/paypal_server_sdk/models/vault_customer.rb +12 -0
  257. data/lib/paypal_server_sdk/models/vault_experience_context.rb +26 -7
  258. data/lib/paypal_server_sdk/models/vault_instruction.rb +12 -0
  259. data/lib/paypal_server_sdk/models/vault_instruction_action.rb +26 -0
  260. data/lib/paypal_server_sdk/models/vault_instruction_base.rb +12 -0
  261. data/lib/paypal_server_sdk/models/vault_paypal_wallet_request.rb +43 -4
  262. data/lib/paypal_server_sdk/models/vault_response.rb +13 -0
  263. data/lib/paypal_server_sdk/models/vault_response_customer.rb +86 -0
  264. data/lib/paypal_server_sdk/models/vault_status.rb +8 -3
  265. data/lib/paypal_server_sdk/models/vault_token_request.rb +13 -1
  266. data/lib/paypal_server_sdk/models/vault_token_request_type.rb +20 -0
  267. data/lib/paypal_server_sdk/models/vault_venmo_experience_context.rb +24 -6
  268. data/lib/paypal_server_sdk/models/vault_venmo_request.rb +31 -3
  269. data/lib/paypal_server_sdk/models/vaulted_digital_wallet.rb +29 -3
  270. data/lib/paypal_server_sdk/models/vaulted_digital_wallet_shipping_details.rb +27 -2
  271. data/lib/paypal_server_sdk/models/venmo_payment_token.rb +37 -8
  272. data/lib/paypal_server_sdk/models/venmo_payment_token_customer_type.rb +4 -2
  273. data/lib/paypal_server_sdk/models/venmo_payment_token_usage_pattern.rb +12 -6
  274. data/lib/paypal_server_sdk/models/venmo_payment_token_usage_type.rb +5 -2
  275. data/lib/paypal_server_sdk/models/venmo_wallet_additional_attributes.rb +12 -0
  276. data/lib/paypal_server_sdk/models/venmo_wallet_attributes_response.rb +12 -0
  277. data/lib/paypal_server_sdk/models/venmo_wallet_customer_information.rb +16 -5
  278. data/lib/paypal_server_sdk/models/venmo_wallet_experience_context.rb +34 -5
  279. data/lib/paypal_server_sdk/models/venmo_wallet_request.rb +21 -8
  280. data/lib/paypal_server_sdk/models/venmo_wallet_response.rb +21 -5
  281. data/lib/paypal_server_sdk/models/venmo_wallet_vault_attributes.rb +17 -0
  282. data/lib/paypal_server_sdk/utilities/file_wrapper.rb +14 -2
  283. data/lib/paypal_server_sdk.rb +183 -152
  284. metadata +42 -16
  285. data/lib/paypal_server_sdk/models/card_payment_token.rb +0 -166
  286. data/lib/paypal_server_sdk/models/card_verification_method.rb +0 -29
  287. data/lib/paypal_server_sdk/models/fullfillment_type.rb +0 -31
  288. data/lib/paypal_server_sdk/models/google_pay_card_attributes.rb +0 -51
  289. data/lib/paypal_server_sdk/models/payee.rb +0 -65
  290. data/lib/paypal_server_sdk/models/paypal_payment_token_usage_pattern.rb +0 -35
  291. data/lib/paypal_server_sdk/models/processing_instruction.rb +0 -23
  292. data/lib/paypal_server_sdk/models/token_request_type.rb +0 -23
@@ -32,263 +32,294 @@ require_relative 'paypal_server_sdk/http/auth/o_auth2'
32
32
 
33
33
  # Models
34
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'
35
38
  require_relative 'paypal_server_sdk/models/apple_pay_payment_object'
36
39
  require_relative 'paypal_server_sdk/models/apple_pay_attributes'
37
- require_relative 'paypal_server_sdk/models/assurance_details'
38
- require_relative 'paypal_server_sdk/models/card_experience_context'
39
- require_relative 'paypal_server_sdk/models/card_stored_credential'
40
- require_relative 'paypal_server_sdk/models/card_verification'
41
- require_relative 'paypal_server_sdk/models/exchange_rate'
42
- require_relative 'paypal_server_sdk/models/apple_pay_card_response'
43
- require_relative 'paypal_server_sdk/models/apple_pay_request'
44
- require_relative 'paypal_server_sdk/models/link_description'
45
- require_relative 'paypal_server_sdk/models/blik_payment_request'
46
- require_relative 'paypal_server_sdk/models/blik_level0_payment_object'
47
- require_relative 'paypal_server_sdk/models/card_attributes_response'
48
- require_relative 'paypal_server_sdk/models/card_supplementary_data'
49
- require_relative 'paypal_server_sdk/models/customer_information'
50
- require_relative 'paypal_server_sdk/models/platform_fee'
51
- require_relative 'paypal_server_sdk/models/experience_context'
52
40
  require_relative 'paypal_server_sdk/models/apple_pay_attributes_response'
53
- require_relative 'paypal_server_sdk/models/activity_timestamps'
41
+ require_relative 'paypal_server_sdk/models/apple_pay_card_response'
42
+ require_relative 'paypal_server_sdk/models/apple_pay_decrypted_token_data'
54
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'
55
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'
56
50
  require_relative 'paypal_server_sdk/models/authorization_status_details'
57
51
  require_relative 'paypal_server_sdk/models/authorization_with_additional_data'
58
52
  require_relative 'paypal_server_sdk/models/bancontact_payment_object'
59
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'
60
56
  require_relative 'paypal_server_sdk/models/blik_experience_context'
61
57
  require_relative 'paypal_server_sdk/models/blik_one_click_payment_request'
62
58
  require_relative 'paypal_server_sdk/models/blik_one_click_payment_object'
63
- require_relative 'paypal_server_sdk/models/capture'
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/callback_configuration'
62
+ require_relative 'paypal_server_sdk/models/orders_capture'
63
+ require_relative 'paypal_server_sdk/models/capture_status_with_details'
64
+ require_relative 'paypal_server_sdk/models/capture_status_details'
64
65
  require_relative 'paypal_server_sdk/models/card_attributes'
66
+ require_relative 'paypal_server_sdk/models/card_attributes_response'
65
67
  require_relative 'paypal_server_sdk/models/card_customer_information'
68
+ require_relative 'paypal_server_sdk/models/card_experience_context'
69
+ require_relative 'paypal_server_sdk/models/card_from_request'
70
+ require_relative 'paypal_server_sdk/models/card_request'
71
+ require_relative 'paypal_server_sdk/models/card_response'
72
+ require_relative 'paypal_server_sdk/models/card_stored_credential'
73
+ require_relative 'paypal_server_sdk/models/card_supplementary_data'
66
74
  require_relative 'paypal_server_sdk/models/card_vault_response'
75
+ require_relative 'paypal_server_sdk/models/card_verification'
76
+ require_relative 'paypal_server_sdk/models/cobranded_card'
67
77
  require_relative 'paypal_server_sdk/models/confirm_order_request'
78
+ require_relative 'paypal_server_sdk/models/customer_information'
79
+ require_relative 'paypal_server_sdk/models/platform_fee'
80
+ require_relative 'paypal_server_sdk/models/purchase_unit_request'
81
+ require_relative 'paypal_server_sdk/models/shipping_option'
68
82
  require_relative 'paypal_server_sdk/models/eps_payment_object'
69
83
  require_relative 'paypal_server_sdk/models/eps_payment_request'
70
84
  require_relative 'paypal_server_sdk/models/error_details'
85
+ require_relative 'paypal_server_sdk/models/exchange_rate'
86
+ require_relative 'paypal_server_sdk/models/experience_context'
87
+ require_relative 'paypal_server_sdk/models/giropay_payment_object'
71
88
  require_relative 'paypal_server_sdk/models/giropay_payment_request'
72
89
  require_relative 'paypal_server_sdk/models/google_pay_wallet_response'
73
- require_relative 'paypal_server_sdk/models/amount_breakdown'
74
- require_relative 'paypal_server_sdk/models/amount_with_breakdown'
75
- require_relative 'paypal_server_sdk/models/apple_pay_decrypted_token_data'
76
- require_relative 'paypal_server_sdk/models/authorization'
77
- require_relative 'paypal_server_sdk/models/authorization_status_with_details'
78
- require_relative 'paypal_server_sdk/models/bin_details'
79
- require_relative 'paypal_server_sdk/models/blik_payment_object'
80
- require_relative 'paypal_server_sdk/models/capture_status_with_details'
81
- require_relative 'paypal_server_sdk/models/capture_status_details'
82
- require_relative 'paypal_server_sdk/models/card_from_request'
83
- require_relative 'paypal_server_sdk/models/card_request'
84
- require_relative 'paypal_server_sdk/models/card_response'
85
- require_relative 'paypal_server_sdk/models/cobranded_card'
86
- require_relative 'paypal_server_sdk/models/giropay_payment_object'
87
90
  require_relative 'paypal_server_sdk/models/google_pay_card_response'
88
- require_relative 'paypal_server_sdk/models/ideal_payment_object'
89
- require_relative 'paypal_server_sdk/models/level3_card_processing_data'
90
- require_relative 'paypal_server_sdk/models/network_transaction_reference'
91
- require_relative 'paypal_server_sdk/models/order'
92
- require_relative 'paypal_server_sdk/models/p24_payment_request'
93
- require_relative 'paypal_server_sdk/models/payer_base'
94
- require_relative 'paypal_server_sdk/models/payment_source_response'
95
- require_relative 'paypal_server_sdk/models/paypal_wallet'
96
- require_relative 'paypal_server_sdk/models/phone_number'
97
- require_relative 'paypal_server_sdk/models/processor_response'
98
- require_relative 'paypal_server_sdk/models/purchase_unit_request'
91
+ require_relative 'paypal_server_sdk/models/google_pay_decrypted_token_data'
99
92
  require_relative 'paypal_server_sdk/models/google_pay_request'
93
+ require_relative 'paypal_server_sdk/models/ideal_payment_object'
94
+ require_relative 'paypal_server_sdk/models/ideal_payment_request'
100
95
  require_relative 'paypal_server_sdk/models/item'
96
+ require_relative 'paypal_server_sdk/models/level2_card_processing_data'
97
+ require_relative 'paypal_server_sdk/models/level3_card_processing_data'
98
+ require_relative 'paypal_server_sdk/models/line_item'
101
99
  require_relative 'paypal_server_sdk/models/money'
100
+ require_relative 'paypal_server_sdk/models/mybank_payment_object'
101
+ require_relative 'paypal_server_sdk/models/mybank_payment_request'
102
102
  require_relative 'paypal_server_sdk/models/net_amount_breakdown_item'
103
+ require_relative 'paypal_server_sdk/models/network_token'
104
+ require_relative 'paypal_server_sdk/models/network_transaction_reference'
105
+ require_relative 'paypal_server_sdk/models/order'
103
106
  require_relative 'paypal_server_sdk/models/order_application_context'
107
+ require_relative 'paypal_server_sdk/models/order_authorize_request'
108
+ require_relative 'paypal_server_sdk/models/order_authorize_response'
109
+ require_relative 'paypal_server_sdk/models/order_capture_request'
104
110
  require_relative 'paypal_server_sdk/models/order_confirm_application_context'
111
+ require_relative 'paypal_server_sdk/models/order_request'
105
112
  require_relative 'paypal_server_sdk/models/order_tracker_request'
113
+ require_relative 'paypal_server_sdk/models/order_update_callback_error_response'
114
+ require_relative 'paypal_server_sdk/models/' \
115
+ 'order_update_callback_error_response_details'
116
+ require_relative 'paypal_server_sdk/models/order_update_callback_request'
117
+ require_relative 'paypal_server_sdk/models/order_update_callback_response'
118
+ require_relative 'paypal_server_sdk/models/p24_payment_object'
119
+ require_relative 'paypal_server_sdk/models/p24_payment_request'
120
+ require_relative 'paypal_server_sdk/models/participant_metadata'
106
121
  require_relative 'paypal_server_sdk/models/patch'
107
122
  require_relative 'paypal_server_sdk/models/payee_base'
108
123
  require_relative 'paypal_server_sdk/models/payer'
124
+ require_relative 'paypal_server_sdk/models/payer_base'
109
125
  require_relative 'paypal_server_sdk/models/payment_collection'
110
- require_relative 'paypal_server_sdk/models/phone_with_type'
111
- require_relative 'paypal_server_sdk/models/purchase_unit'
112
- require_relative 'paypal_server_sdk/models/google_pay_decrypted_token_data'
113
- require_relative 'paypal_server_sdk/models/ideal_payment_request'
114
- require_relative 'paypal_server_sdk/models/network_token'
115
- require_relative 'paypal_server_sdk/models/order_authorize_request'
116
- require_relative 'paypal_server_sdk/models/order_authorize_response'
117
- require_relative 'paypal_server_sdk/models/order_capture_request'
118
- require_relative 'paypal_server_sdk/models/order_request'
119
- require_relative 'paypal_server_sdk/models/paypal_wallet_attributes'
120
- require_relative 'paypal_server_sdk/models/paypal_wallet_experience_context'
121
- require_relative 'paypal_server_sdk/models/paypal_wallet_vault_response'
122
- require_relative 'paypal_server_sdk/models/level2_card_processing_data'
123
- require_relative 'paypal_server_sdk/models/line_item'
124
- require_relative 'paypal_server_sdk/models/mybank_payment_object'
125
- require_relative 'paypal_server_sdk/models/mybank_payment_request'
126
- require_relative 'paypal_server_sdk/models/p24_payment_object'
127
- require_relative 'paypal_server_sdk/models/payee'
128
126
  require_relative 'paypal_server_sdk/models/payment_instruction'
129
127
  require_relative 'paypal_server_sdk/models/payment_method_preference'
130
128
  require_relative 'paypal_server_sdk/models/payment_source'
129
+ require_relative 'paypal_server_sdk/models/payment_source_response'
130
+ require_relative 'paypal_server_sdk/models/paypal_wallet'
131
+ require_relative 'paypal_server_sdk/models/paypal_wallet_attributes'
131
132
  require_relative 'paypal_server_sdk/models/paypal_wallet_attributes_response'
132
133
  require_relative 'paypal_server_sdk/models/paypal_wallet_customer'
134
+ require_relative 'paypal_server_sdk/models/paypal_wallet_experience_context'
133
135
  require_relative 'paypal_server_sdk/models/paypal_wallet_response'
136
+ require_relative 'paypal_server_sdk/models/paypal_wallet_stored_credential'
137
+ require_relative 'paypal_server_sdk/models/paypal_wallet_vault_response'
138
+ require_relative 'paypal_server_sdk/models/phone_number'
139
+ require_relative 'paypal_server_sdk/models/phone_with_type'
140
+ require_relative 'paypal_server_sdk/models/processor_response'
141
+ require_relative 'paypal_server_sdk/models/purchase_unit'
134
142
  require_relative 'paypal_server_sdk/models/refund'
135
143
  require_relative 'paypal_server_sdk/models/refund_status_with_details'
136
- require_relative 'paypal_server_sdk/models/seller_receivable_breakdown'
137
144
  require_relative 'paypal_server_sdk/models/refund_status_details'
145
+ require_relative 'paypal_server_sdk/models/risk_supplementary_data'
138
146
  require_relative 'paypal_server_sdk/models/seller_payable_breakdown'
139
147
  require_relative 'paypal_server_sdk/models/seller_protection'
148
+ require_relative 'paypal_server_sdk/models/seller_receivable_breakdown'
140
149
  require_relative 'paypal_server_sdk/models/shipping_details'
141
- require_relative 'paypal_server_sdk/models/shipping_option'
150
+ require_relative 'paypal_server_sdk/models/shipping_options_purchase_unit'
151
+ require_relative 'paypal_server_sdk/models/shipping_with_tracking_details'
152
+ require_relative 'paypal_server_sdk/models/sofort_payment_object'
153
+ require_relative 'paypal_server_sdk/models/sofort_payment_request'
142
154
  require_relative 'paypal_server_sdk/models/stored_payment_source'
155
+ require_relative 'paypal_server_sdk/models/supplementary_data'
156
+ require_relative 'paypal_server_sdk/models/tax_info'
157
+ require_relative 'paypal_server_sdk/models/' \
158
+ 'three_d_secure_authentication_response'
159
+ require_relative 'paypal_server_sdk/models/token'
160
+ require_relative 'paypal_server_sdk/models/order_tracker_response'
161
+ require_relative 'paypal_server_sdk/models/order_tracker_item'
162
+ require_relative 'paypal_server_sdk/models/trustly_payment_object'
163
+ require_relative 'paypal_server_sdk/models/trustly_payment_request'
164
+ require_relative 'paypal_server_sdk/models/universal_product_code'
143
165
  require_relative 'paypal_server_sdk/models/vault_instruction'
166
+ require_relative 'paypal_server_sdk/models/vault_instruction_base'
167
+ require_relative 'paypal_server_sdk/models/vault_response'
168
+ require_relative 'paypal_server_sdk/models/venmo_wallet_vault_attributes'
144
169
  require_relative 'paypal_server_sdk/models/venmo_wallet_additional_attributes'
170
+ require_relative 'paypal_server_sdk/models/venmo_wallet_attributes_response'
145
171
  require_relative 'paypal_server_sdk/models/venmo_wallet_experience_context'
146
172
  require_relative 'paypal_server_sdk/models/venmo_wallet_request'
147
173
  require_relative 'paypal_server_sdk/models/venmo_wallet_response'
174
+ require_relative 'paypal_server_sdk/models/address'
175
+ require_relative 'paypal_server_sdk/models/apple_pay_tokenized_card'
176
+ require_relative 'paypal_server_sdk/models/google_pay_card'
148
177
  require_relative 'paypal_server_sdk/models/google_pay_request_card'
149
178
  require_relative 'paypal_server_sdk/models/name'
179
+ require_relative 'paypal_server_sdk/models/' \
180
+ 'order_authorize_request_payment_source'
150
181
  require_relative 'paypal_server_sdk/models/' \
151
182
  'order_authorize_response_payment_source'
152
183
  require_relative 'paypal_server_sdk/models/order_capture_request_payment_source'
153
- require_relative 'paypal_server_sdk/models/venmo_wallet_customer_information'
154
- require_relative 'paypal_server_sdk/models/related_identifiers'
155
- require_relative 'paypal_server_sdk/models/customer_request'
156
- require_relative 'paypal_server_sdk/models/payment_token_request'
157
- require_relative 'paypal_server_sdk/models/setup_token_request'
158
- require_relative 'paypal_server_sdk/models/setup_token_response'
159
- require_relative 'paypal_server_sdk/models/payment_token_request_card'
160
- require_relative 'paypal_server_sdk/models/setup_token_card_experience_context'
161
- require_relative 'paypal_server_sdk/models/shipping_with_tracking_details'
162
- require_relative 'paypal_server_sdk/models/order_tracker_response'
163
- require_relative 'paypal_server_sdk/models/order_tracker_item'
164
- require_relative 'paypal_server_sdk/models/google_pay_card_attributes'
184
+ require_relative 'paypal_server_sdk/models/' \
185
+ 'order_update_callback_shipping_address'
186
+ require_relative 'paypal_server_sdk/models/' \
187
+ 'order_update_callback_shipping_option'
188
+ require_relative 'paypal_server_sdk/models/paypal_wallet_customer_request'
189
+ require_relative 'paypal_server_sdk/models/paypal_wallet_vault_instruction'
165
190
  require_relative 'paypal_server_sdk/models/phone_number_with_country_code'
191
+ require_relative 'paypal_server_sdk/models/shipping_name'
166
192
  require_relative 'paypal_server_sdk/models/vault_customer'
193
+ require_relative 'paypal_server_sdk/models/venmo_wallet_customer_information'
167
194
  require_relative 'paypal_server_sdk/models/payment_authorization'
195
+ require_relative 'paypal_server_sdk/models/payments_capture'
168
196
  require_relative 'paypal_server_sdk/models/captured_payment'
169
197
  require_relative 'paypal_server_sdk/models/capture_request'
170
- require_relative 'paypal_server_sdk/models/apple_pay_payment_token'
171
- require_relative 'paypal_server_sdk/models/card_verification_details'
172
- require_relative 'paypal_server_sdk/models/' \
173
- 'customer_vault_payment_tokens_response'
174
- require_relative 'paypal_server_sdk/models/vault_paypal_wallet_request'
175
- require_relative 'paypal_server_sdk/models/phone'
176
- require_relative 'paypal_server_sdk/models/apple_pay_card'
177
- require_relative 'paypal_server_sdk/models/card_authentication_response'
178
- require_relative 'paypal_server_sdk/models/card_verification_processor_response'
179
- require_relative 'paypal_server_sdk/models/setup_token_request_card'
180
- require_relative 'paypal_server_sdk/models/setup_token_response_payment_source'
181
- require_relative 'paypal_server_sdk/models/sofort_payment_object'
182
- require_relative 'paypal_server_sdk/models/' \
183
- 'three_d_secure_authentication_response'
184
- require_relative 'paypal_server_sdk/models/trustly_payment_object'
185
- require_relative 'paypal_server_sdk/models/trustly_payment_request'
186
- require_relative 'paypal_server_sdk/models/vault_instruction_base'
187
- require_relative 'paypal_server_sdk/models/vault_response'
188
- require_relative 'paypal_server_sdk/models/venmo_wallet_vault_attributes'
189
- require_relative 'paypal_server_sdk/models/address'
190
- require_relative 'paypal_server_sdk/models/paypal_wallet_customer_request'
191
- require_relative 'paypal_server_sdk/models/paypal_wallet_vault_instruction'
192
198
  require_relative 'paypal_server_sdk/models/refund_platform_fee'
193
199
  require_relative 'paypal_server_sdk/models/refund_payment_instruction'
200
+ require_relative 'paypal_server_sdk/models/payments_processor_response'
201
+ require_relative 'paypal_server_sdk/models/reauthorize_request'
194
202
  require_relative 'paypal_server_sdk/models/refund_request'
203
+ require_relative 'paypal_server_sdk/models/related_identifiers'
195
204
  require_relative 'paypal_server_sdk/models/payment_supplementary_data'
196
205
  require_relative 'paypal_server_sdk/models/supplementary_purchase_data'
197
- require_relative 'paypal_server_sdk/models/card_payment_token'
198
- require_relative 'paypal_server_sdk/models/card_response_entity'
199
- require_relative 'paypal_server_sdk/models/payment_token_request_payment_source'
200
- require_relative 'paypal_server_sdk/models/network_transaction_reference_entity'
201
- require_relative 'paypal_server_sdk/models/paypal_payment_token'
202
- require_relative 'paypal_server_sdk/models/venmo_payment_token'
203
- require_relative 'paypal_server_sdk/models/vaulted_digital_wallet'
204
- require_relative 'paypal_server_sdk/models/' \
205
- 'vaulted_digital_wallet_shipping_details'
206
- require_relative 'paypal_server_sdk/models/sofort_payment_request'
207
- require_relative 'paypal_server_sdk/models/supplementary_data'
208
- require_relative 'paypal_server_sdk/models/tax_info'
209
- require_relative 'paypal_server_sdk/models/token'
210
- require_relative 'paypal_server_sdk/models/universal_product_code'
211
- require_relative 'paypal_server_sdk/models/venmo_wallet_attributes_response'
212
- require_relative 'paypal_server_sdk/models/apple_pay_tokenized_card'
213
- require_relative 'paypal_server_sdk/models/' \
214
- 'order_authorize_request_payment_source'
215
- require_relative 'paypal_server_sdk/models/shipping_name'
216
- require_relative 'paypal_server_sdk/models/reauthorize_request'
217
206
  require_relative 'paypal_server_sdk/models/capture_payment_instruction'
218
- require_relative 'paypal_server_sdk/models/address_details'
207
+ require_relative 'paypal_server_sdk/models/apple_pay_payment_token'
208
+ require_relative 'paypal_server_sdk/models/billing_cycle'
209
+ require_relative 'paypal_server_sdk/models/card_payment_token_entity'
210
+ require_relative 'paypal_server_sdk/models/card_verification_details'
211
+ require_relative 'paypal_server_sdk/models/' \
212
+ 'customer_vault_payment_tokens_response'
213
+ require_relative 'paypal_server_sdk/models/payment_token_request_payment_source'
219
214
  require_relative 'paypal_server_sdk/models/vault_experience_context'
215
+ require_relative 'paypal_server_sdk/models/network_transaction_reference_entity'
216
+ require_relative 'paypal_server_sdk/models/one_time_charge'
220
217
  require_relative 'paypal_server_sdk/models/' \
221
218
  'payment_token_response_payment_source'
219
+ require_relative 'paypal_server_sdk/models/payment_token_request'
222
220
  require_relative 'paypal_server_sdk/models/payment_token_response'
221
+ require_relative 'paypal_server_sdk/models/vault_paypal_wallet_request'
222
+ require_relative 'paypal_server_sdk/models/paypal_payment_token'
223
+ require_relative 'paypal_server_sdk/models/phone'
224
+ require_relative 'paypal_server_sdk/models/plan'
225
+ require_relative 'paypal_server_sdk/models/pricing_scheme'
226
+ require_relative 'paypal_server_sdk/models/setup_token_request'
227
+ require_relative 'paypal_server_sdk/models/setup_token_response'
228
+ require_relative 'paypal_server_sdk/models/' \
229
+ 'three_d_secure_card_authentication_response'
223
230
  require_relative 'paypal_server_sdk/models/vault_token_request'
224
231
  require_relative 'paypal_server_sdk/models/vault_venmo_request'
232
+ require_relative 'paypal_server_sdk/models/venmo_payment_token'
233
+ require_relative 'paypal_server_sdk/models/vaulted_digital_wallet'
234
+ require_relative 'paypal_server_sdk/models/apple_pay_card'
235
+ require_relative 'paypal_server_sdk/models/card_authentication_response'
236
+ require_relative 'paypal_server_sdk/models/card_response_address'
237
+ require_relative 'paypal_server_sdk/models/card_verification_processor_response'
238
+ require_relative 'paypal_server_sdk/models/customer'
239
+ require_relative 'paypal_server_sdk/models/customer_response'
240
+ require_relative 'paypal_server_sdk/models/payment_token_request_card'
241
+ require_relative 'paypal_server_sdk/models/setup_token_card_experience_context'
242
+ require_relative 'paypal_server_sdk/models/setup_token_request_card'
225
243
  require_relative 'paypal_server_sdk/models/setup_token_request_payment_source'
226
244
  require_relative 'paypal_server_sdk/models/setup_token_response_card'
245
+ require_relative 'paypal_server_sdk/models/setup_token_response_payment_source'
246
+ require_relative 'paypal_server_sdk/models/vault_response_customer'
227
247
  require_relative 'paypal_server_sdk/models/vault_venmo_experience_context'
248
+ require_relative 'paypal_server_sdk/models/' \
249
+ 'vaulted_digital_wallet_shipping_details'
228
250
  require_relative 'paypal_server_sdk/models/o_auth_token'
229
- require_relative 'paypal_server_sdk/models/card_type'
251
+ require_relative 'paypal_server_sdk/models/callback_events'
230
252
  require_relative 'paypal_server_sdk/models/card_brand'
253
+ require_relative 'paypal_server_sdk/models/card_type'
254
+ require_relative 'paypal_server_sdk/models/usage_pattern'
231
255
  require_relative 'paypal_server_sdk/models/checkout_payment_intent'
232
- require_relative 'paypal_server_sdk/models/eci_flag'
233
- require_relative 'paypal_server_sdk/models/enrollment_status'
234
256
  require_relative 'paypal_server_sdk/models/disbursement_mode'
235
257
  require_relative 'paypal_server_sdk/models/dispute_category'
258
+ require_relative 'paypal_server_sdk/models/eci_flag'
259
+ require_relative 'paypal_server_sdk/models/enrollment_status'
236
260
  require_relative 'paypal_server_sdk/models/liability_shift_indicator'
237
- require_relative 'paypal_server_sdk/models/phone_type'
261
+ require_relative 'paypal_server_sdk/models/order_status'
238
262
  require_relative 'paypal_server_sdk/models/pa_res_status'
239
263
  require_relative 'paypal_server_sdk/models/payee_payment_method_preference'
240
- require_relative 'paypal_server_sdk/models/order_status'
241
264
  require_relative 'paypal_server_sdk/models/payment_initiator'
242
- require_relative 'paypal_server_sdk/models/processing_instruction'
265
+ require_relative 'paypal_server_sdk/models/phone_type'
243
266
  require_relative 'paypal_server_sdk/models/shipment_carrier'
267
+ require_relative 'paypal_server_sdk/models/shipping_type'
268
+ require_relative 'paypal_server_sdk/models/store_in_vault_instruction'
244
269
  require_relative 'paypal_server_sdk/models/stored_payment_source_payment_type'
270
+ require_relative 'paypal_server_sdk/models/stored_payment_source_usage_type'
271
+ require_relative 'paypal_server_sdk/models/order_tracker_status'
245
272
  require_relative 'paypal_server_sdk/models/apple_pay_payment_data_type'
273
+ require_relative 'paypal_server_sdk/models/authorization_incomplete_reason'
274
+ require_relative 'paypal_server_sdk/models/authorization_status'
275
+ require_relative 'paypal_server_sdk/models/avs_code'
246
276
  require_relative 'paypal_server_sdk/models/capture_incomplete_reason'
247
277
  require_relative 'paypal_server_sdk/models/capture_status'
248
- require_relative 'paypal_server_sdk/models/card_verification_method'
249
- require_relative 'paypal_server_sdk/models/fullfillment_type'
278
+ require_relative 'paypal_server_sdk/models/cvv_code'
279
+ require_relative 'paypal_server_sdk/models/fulfillment_type'
250
280
  require_relative 'paypal_server_sdk/models/google_pay_authentication_method'
281
+ require_relative 'paypal_server_sdk/models/google_pay_payment_method'
251
282
  require_relative 'paypal_server_sdk/models/item_category'
283
+ require_relative 'paypal_server_sdk/models/link_http_method'
252
284
  require_relative 'paypal_server_sdk/models/' \
253
285
  'order_application_context_landing_page'
254
- require_relative 'paypal_server_sdk/models/' \
255
- 'paypal_wallet_account_verification_status'
256
- require_relative 'paypal_server_sdk/models/upc_type'
257
- require_relative 'paypal_server_sdk/models/venmo_payment_token_customer_type'
258
- require_relative 'paypal_server_sdk/models/venmo_payment_token_usage_pattern'
259
- require_relative 'paypal_server_sdk/models/venmo_payment_token_usage_type'
260
- require_relative 'paypal_server_sdk/models/stored_payment_source_usage_type'
261
- require_relative 'paypal_server_sdk/models/authorization_status'
262
- require_relative 'paypal_server_sdk/models/link_http_method'
263
286
  require_relative 'paypal_server_sdk/models/' \
264
287
  'order_application_context_shipping_preference'
265
288
  require_relative 'paypal_server_sdk/models/' \
266
289
  'order_application_context_user_action'
267
- require_relative 'paypal_server_sdk/models/paypal_payment_token_usage_type'
268
- require_relative 'paypal_server_sdk/models/refund_incomplete_reason'
269
- require_relative 'paypal_server_sdk/models/seller_protection_status'
270
- require_relative 'paypal_server_sdk/models/shipping_preference'
271
- require_relative 'paypal_server_sdk/models/token_type'
272
- require_relative 'paypal_server_sdk/models/token_request_type'
273
- require_relative 'paypal_server_sdk/models/shipping_type'
290
+ require_relative 'paypal_server_sdk/models/orders_card_verification_method'
274
291
  require_relative 'paypal_server_sdk/models/patch_op'
275
- require_relative 'paypal_server_sdk/models/paypal_experience_landing_page'
276
- require_relative 'paypal_server_sdk/models/paypal_payment_token_usage_pattern'
277
- require_relative 'paypal_server_sdk/models/paypal_wallet_vault_status'
278
- require_relative 'paypal_server_sdk/models/refund_status'
279
- require_relative 'paypal_server_sdk/models/vault_status'
280
- require_relative 'paypal_server_sdk/models/store_in_vault_instruction'
281
- require_relative 'paypal_server_sdk/models/order_tracker_status'
282
- require_relative 'paypal_server_sdk/models/authorization_incomplete_reason'
283
- require_relative 'paypal_server_sdk/models/avs_code'
284
- require_relative 'paypal_server_sdk/models/cvv_code'
285
- require_relative 'paypal_server_sdk/models/google_pay_payment_method'
286
292
  require_relative 'paypal_server_sdk/models/payment_advice_code'
293
+ require_relative 'paypal_server_sdk/models/paypal_experience_landing_page'
287
294
  require_relative 'paypal_server_sdk/models/paypal_experience_user_action'
288
295
  require_relative 'paypal_server_sdk/models/paypal_payment_token_customer_type'
296
+ require_relative 'paypal_server_sdk/models/paypal_payment_token_usage_type'
297
+ require_relative 'paypal_server_sdk/models/' \
298
+ 'paypal_wallet_account_verification_status'
299
+ require_relative 'paypal_server_sdk/models/' \
300
+ 'paypal_wallet_context_shipping_preference'
301
+ require_relative 'paypal_server_sdk/models/paypal_wallet_vault_status'
289
302
  require_relative 'paypal_server_sdk/models/processor_response_code'
303
+ require_relative 'paypal_server_sdk/models/refund_incomplete_reason'
304
+ require_relative 'paypal_server_sdk/models/refund_status'
305
+ require_relative 'paypal_server_sdk/models/seller_protection_status'
306
+ require_relative 'paypal_server_sdk/models/shipping_preference'
290
307
  require_relative 'paypal_server_sdk/models/standard_entry_class_code'
291
308
  require_relative 'paypal_server_sdk/models/tax_id_type'
309
+ require_relative 'paypal_server_sdk/models/token_type'
310
+ require_relative 'paypal_server_sdk/models/upc_type'
311
+ require_relative 'paypal_server_sdk/models/vault_status'
312
+ require_relative 'paypal_server_sdk/models/venmo_payment_token_customer_type'
313
+ require_relative 'paypal_server_sdk/models/venmo_payment_token_usage_pattern'
314
+ require_relative 'paypal_server_sdk/models/venmo_payment_token_usage_type'
315
+ require_relative 'paypal_server_sdk/models/payments_payment_advice_code'
316
+ require_relative 'paypal_server_sdk/models/vault_card_verification_method'
317
+ require_relative 'paypal_server_sdk/models/card_verification_status'
318
+ require_relative 'paypal_server_sdk/models/payment_token_status'
319
+ require_relative 'paypal_server_sdk/models/vault_instruction_action'
320
+ require_relative 'paypal_server_sdk/models/pricing_model'
321
+ require_relative 'paypal_server_sdk/models/tenure_type'
322
+ require_relative 'paypal_server_sdk/models/vault_token_request_type'
292
323
  require_relative 'paypal_server_sdk/models/o_auth_provider_error'
293
324
 
294
325
  # Exceptions