paypal-server-sdk 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -17
- data/lib/paypal_server_sdk/controllers/base_controller.rb +1 -1
- data/lib/paypal_server_sdk/controllers/orders_controller.rb +192 -153
- data/lib/paypal_server_sdk/controllers/payments_controller.rb +83 -56
- data/lib/paypal_server_sdk/controllers/vault_controller.rb +50 -50
- data/lib/paypal_server_sdk/models/card_verification_details.rb +15 -2
- data/lib/paypal_server_sdk/models/confirm_order_request.rb +5 -8
- data/lib/paypal_server_sdk/models/{fullfillment_type.rb → fulfillment_type.rb} +2 -2
- data/lib/paypal_server_sdk/models/google_pay_card.rb +114 -0
- data/lib/paypal_server_sdk/models/google_pay_decrypted_token_data.rb +11 -2
- data/lib/paypal_server_sdk/models/order.rb +12 -12
- data/lib/paypal_server_sdk/models/order_authorize_response.rb +10 -10
- data/lib/paypal_server_sdk/models/portable_postal_address_medium_grained.rb +116 -0
- data/lib/paypal_server_sdk/models/shipment_carrier.rb +325 -1
- data/lib/paypal_server_sdk/models/shipping_details.rb +1 -1
- data/lib/paypal_server_sdk/models/shipping_with_tracking_details.rb +1 -1
- data/lib/paypal_server_sdk/models/vaulted_digital_wallet_shipping_details.rb +1 -1
- data/lib/paypal_server_sdk.rb +149 -147
- metadata +5 -4
- data/lib/paypal_server_sdk/models/processing_instruction.rb +0 -23
data/lib/paypal_server_sdk.rb
CHANGED
@@ -32,263 +32,265 @@ 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/
|
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'
|
59
|
+
require_relative 'paypal_server_sdk/models/blik_payment_request'
|
60
|
+
require_relative 'paypal_server_sdk/models/blik_level0_payment_object'
|
63
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
64
|
require_relative 'paypal_server_sdk/models/card_attributes'
|
65
|
+
require_relative 'paypal_server_sdk/models/card_attributes_response'
|
65
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'
|
66
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'
|
67
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'
|
68
79
|
require_relative 'paypal_server_sdk/models/eps_payment_object'
|
69
80
|
require_relative 'paypal_server_sdk/models/eps_payment_request'
|
70
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'
|
71
85
|
require_relative 'paypal_server_sdk/models/giropay_payment_request'
|
72
86
|
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
87
|
require_relative 'paypal_server_sdk/models/google_pay_card_response'
|
88
|
-
require_relative 'paypal_server_sdk/models/
|
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'
|
88
|
+
require_relative 'paypal_server_sdk/models/google_pay_decrypted_token_data'
|
99
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'
|
100
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'
|
101
96
|
require_relative 'paypal_server_sdk/models/money'
|
97
|
+
require_relative 'paypal_server_sdk/models/mybank_payment_object'
|
98
|
+
require_relative 'paypal_server_sdk/models/mybank_payment_request'
|
102
99
|
require_relative 'paypal_server_sdk/models/net_amount_breakdown_item'
|
103
|
-
require_relative 'paypal_server_sdk/models/order_application_context'
|
104
|
-
require_relative 'paypal_server_sdk/models/order_confirm_application_context'
|
105
|
-
require_relative 'paypal_server_sdk/models/order_tracker_request'
|
106
|
-
require_relative 'paypal_server_sdk/models/patch'
|
107
|
-
require_relative 'paypal_server_sdk/models/payee_base'
|
108
|
-
require_relative 'paypal_server_sdk/models/payer'
|
109
|
-
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
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'
|
115
104
|
require_relative 'paypal_server_sdk/models/order_authorize_request'
|
116
105
|
require_relative 'paypal_server_sdk/models/order_authorize_response'
|
117
106
|
require_relative 'paypal_server_sdk/models/order_capture_request'
|
107
|
+
require_relative 'paypal_server_sdk/models/order_confirm_application_context'
|
118
108
|
require_relative 'paypal_server_sdk/models/order_request'
|
119
|
-
require_relative 'paypal_server_sdk/models/
|
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'
|
109
|
+
require_relative 'paypal_server_sdk/models/order_tracker_request'
|
126
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'
|
127
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'
|
128
118
|
require_relative 'paypal_server_sdk/models/payment_instruction'
|
129
119
|
require_relative 'paypal_server_sdk/models/payment_method_preference'
|
130
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/paypal_wallet'
|
123
|
+
require_relative 'paypal_server_sdk/models/paypal_wallet_attributes'
|
131
124
|
require_relative 'paypal_server_sdk/models/paypal_wallet_attributes_response'
|
132
125
|
require_relative 'paypal_server_sdk/models/paypal_wallet_customer'
|
126
|
+
require_relative 'paypal_server_sdk/models/paypal_wallet_experience_context'
|
133
127
|
require_relative 'paypal_server_sdk/models/paypal_wallet_response'
|
128
|
+
require_relative 'paypal_server_sdk/models/paypal_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
134
|
require_relative 'paypal_server_sdk/models/refund'
|
135
135
|
require_relative 'paypal_server_sdk/models/refund_status_with_details'
|
136
|
-
require_relative 'paypal_server_sdk/models/seller_receivable_breakdown'
|
137
136
|
require_relative 'paypal_server_sdk/models/refund_status_details'
|
138
137
|
require_relative 'paypal_server_sdk/models/seller_payable_breakdown'
|
139
138
|
require_relative 'paypal_server_sdk/models/seller_protection'
|
139
|
+
require_relative 'paypal_server_sdk/models/seller_receivable_breakdown'
|
140
140
|
require_relative 'paypal_server_sdk/models/shipping_details'
|
141
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'
|
142
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'
|
143
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'
|
144
160
|
require_relative 'paypal_server_sdk/models/venmo_wallet_additional_attributes'
|
161
|
+
require_relative 'paypal_server_sdk/models/venmo_wallet_attributes_response'
|
145
162
|
require_relative 'paypal_server_sdk/models/venmo_wallet_experience_context'
|
146
163
|
require_relative 'paypal_server_sdk/models/venmo_wallet_request'
|
147
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'
|
168
|
+
require_relative 'paypal_server_sdk/models/google_pay_card_attributes'
|
148
169
|
require_relative 'paypal_server_sdk/models/google_pay_request_card'
|
149
170
|
require_relative 'paypal_server_sdk/models/name'
|
171
|
+
require_relative 'paypal_server_sdk/models/' \
|
172
|
+
'order_authorize_request_payment_source'
|
150
173
|
require_relative 'paypal_server_sdk/models/' \
|
151
174
|
'order_authorize_response_payment_source'
|
152
175
|
require_relative 'paypal_server_sdk/models/order_capture_request_payment_source'
|
153
|
-
require_relative 'paypal_server_sdk/models/
|
154
|
-
require_relative 'paypal_server_sdk/models/
|
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'
|
176
|
+
require_relative 'paypal_server_sdk/models/paypal_wallet_customer_request'
|
177
|
+
require_relative 'paypal_server_sdk/models/paypal_wallet_vault_instruction'
|
165
178
|
require_relative 'paypal_server_sdk/models/phone_number_with_country_code'
|
179
|
+
require_relative 'paypal_server_sdk/models/' \
|
180
|
+
'portable_postal_address_medium_grained'
|
181
|
+
require_relative 'paypal_server_sdk/models/shipping_name'
|
166
182
|
require_relative 'paypal_server_sdk/models/vault_customer'
|
183
|
+
require_relative 'paypal_server_sdk/models/venmo_wallet_customer_information'
|
167
184
|
require_relative 'paypal_server_sdk/models/payment_authorization'
|
168
185
|
require_relative 'paypal_server_sdk/models/captured_payment'
|
169
186
|
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
187
|
require_relative 'paypal_server_sdk/models/refund_platform_fee'
|
193
188
|
require_relative 'paypal_server_sdk/models/refund_payment_instruction'
|
189
|
+
require_relative 'paypal_server_sdk/models/reauthorize_request'
|
194
190
|
require_relative 'paypal_server_sdk/models/refund_request'
|
191
|
+
require_relative 'paypal_server_sdk/models/related_identifiers'
|
195
192
|
require_relative 'paypal_server_sdk/models/payment_supplementary_data'
|
196
193
|
require_relative 'paypal_server_sdk/models/supplementary_purchase_data'
|
194
|
+
require_relative 'paypal_server_sdk/models/capture_payment_instruction'
|
195
|
+
require_relative 'paypal_server_sdk/models/address_details'
|
196
|
+
require_relative 'paypal_server_sdk/models/apple_pay_payment_token'
|
197
197
|
require_relative 'paypal_server_sdk/models/card_payment_token'
|
198
198
|
require_relative 'paypal_server_sdk/models/card_response_entity'
|
199
|
-
require_relative 'paypal_server_sdk/models/
|
200
|
-
require_relative 'paypal_server_sdk/models/
|
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'
|
199
|
+
require_relative 'paypal_server_sdk/models/card_verification_details'
|
200
|
+
require_relative 'paypal_server_sdk/models/customer_request'
|
213
201
|
require_relative 'paypal_server_sdk/models/' \
|
214
|
-
'
|
215
|
-
require_relative 'paypal_server_sdk/models/
|
216
|
-
require_relative 'paypal_server_sdk/models/reauthorize_request'
|
217
|
-
require_relative 'paypal_server_sdk/models/capture_payment_instruction'
|
218
|
-
require_relative 'paypal_server_sdk/models/address_details'
|
202
|
+
'customer_vault_payment_tokens_response'
|
203
|
+
require_relative 'paypal_server_sdk/models/payment_token_request_payment_source'
|
219
204
|
require_relative 'paypal_server_sdk/models/vault_experience_context'
|
205
|
+
require_relative 'paypal_server_sdk/models/network_transaction_reference_entity'
|
220
206
|
require_relative 'paypal_server_sdk/models/' \
|
221
207
|
'payment_token_response_payment_source'
|
208
|
+
require_relative 'paypal_server_sdk/models/payment_token_request'
|
222
209
|
require_relative 'paypal_server_sdk/models/payment_token_response'
|
210
|
+
require_relative 'paypal_server_sdk/models/vault_paypal_wallet_request'
|
211
|
+
require_relative 'paypal_server_sdk/models/paypal_payment_token'
|
212
|
+
require_relative 'paypal_server_sdk/models/phone'
|
213
|
+
require_relative 'paypal_server_sdk/models/setup_token_request'
|
214
|
+
require_relative 'paypal_server_sdk/models/setup_token_response'
|
223
215
|
require_relative 'paypal_server_sdk/models/vault_token_request'
|
224
216
|
require_relative 'paypal_server_sdk/models/vault_venmo_request'
|
217
|
+
require_relative 'paypal_server_sdk/models/venmo_payment_token'
|
218
|
+
require_relative 'paypal_server_sdk/models/vaulted_digital_wallet'
|
219
|
+
require_relative 'paypal_server_sdk/models/apple_pay_card'
|
220
|
+
require_relative 'paypal_server_sdk/models/card_authentication_response'
|
221
|
+
require_relative 'paypal_server_sdk/models/card_verification_processor_response'
|
222
|
+
require_relative 'paypal_server_sdk/models/payment_token_request_card'
|
223
|
+
require_relative 'paypal_server_sdk/models/setup_token_card_experience_context'
|
224
|
+
require_relative 'paypal_server_sdk/models/setup_token_request_card'
|
225
225
|
require_relative 'paypal_server_sdk/models/setup_token_request_payment_source'
|
226
226
|
require_relative 'paypal_server_sdk/models/setup_token_response_card'
|
227
|
+
require_relative 'paypal_server_sdk/models/setup_token_response_payment_source'
|
227
228
|
require_relative 'paypal_server_sdk/models/vault_venmo_experience_context'
|
229
|
+
require_relative 'paypal_server_sdk/models/' \
|
230
|
+
'vaulted_digital_wallet_shipping_details'
|
228
231
|
require_relative 'paypal_server_sdk/models/o_auth_token'
|
229
|
-
require_relative 'paypal_server_sdk/models/card_type'
|
230
232
|
require_relative 'paypal_server_sdk/models/card_brand'
|
233
|
+
require_relative 'paypal_server_sdk/models/card_type'
|
231
234
|
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
235
|
require_relative 'paypal_server_sdk/models/disbursement_mode'
|
235
236
|
require_relative 'paypal_server_sdk/models/dispute_category'
|
237
|
+
require_relative 'paypal_server_sdk/models/eci_flag'
|
238
|
+
require_relative 'paypal_server_sdk/models/enrollment_status'
|
236
239
|
require_relative 'paypal_server_sdk/models/liability_shift_indicator'
|
237
|
-
require_relative 'paypal_server_sdk/models/
|
240
|
+
require_relative 'paypal_server_sdk/models/order_status'
|
238
241
|
require_relative 'paypal_server_sdk/models/pa_res_status'
|
239
242
|
require_relative 'paypal_server_sdk/models/payee_payment_method_preference'
|
240
|
-
require_relative 'paypal_server_sdk/models/order_status'
|
241
243
|
require_relative 'paypal_server_sdk/models/payment_initiator'
|
242
|
-
require_relative 'paypal_server_sdk/models/
|
244
|
+
require_relative 'paypal_server_sdk/models/phone_type'
|
243
245
|
require_relative 'paypal_server_sdk/models/shipment_carrier'
|
246
|
+
require_relative 'paypal_server_sdk/models/shipping_type'
|
247
|
+
require_relative 'paypal_server_sdk/models/store_in_vault_instruction'
|
244
248
|
require_relative 'paypal_server_sdk/models/stored_payment_source_payment_type'
|
249
|
+
require_relative 'paypal_server_sdk/models/stored_payment_source_usage_type'
|
250
|
+
require_relative 'paypal_server_sdk/models/order_tracker_status'
|
245
251
|
require_relative 'paypal_server_sdk/models/apple_pay_payment_data_type'
|
252
|
+
require_relative 'paypal_server_sdk/models/authorization_incomplete_reason'
|
253
|
+
require_relative 'paypal_server_sdk/models/authorization_status'
|
254
|
+
require_relative 'paypal_server_sdk/models/avs_code'
|
246
255
|
require_relative 'paypal_server_sdk/models/capture_incomplete_reason'
|
247
256
|
require_relative 'paypal_server_sdk/models/capture_status'
|
248
257
|
require_relative 'paypal_server_sdk/models/card_verification_method'
|
249
|
-
require_relative 'paypal_server_sdk/models/
|
258
|
+
require_relative 'paypal_server_sdk/models/cvv_code'
|
259
|
+
require_relative 'paypal_server_sdk/models/fulfillment_type'
|
250
260
|
require_relative 'paypal_server_sdk/models/google_pay_authentication_method'
|
261
|
+
require_relative 'paypal_server_sdk/models/google_pay_payment_method'
|
251
262
|
require_relative 'paypal_server_sdk/models/item_category'
|
263
|
+
require_relative 'paypal_server_sdk/models/link_http_method'
|
252
264
|
require_relative 'paypal_server_sdk/models/' \
|
253
265
|
'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
266
|
require_relative 'paypal_server_sdk/models/' \
|
264
267
|
'order_application_context_shipping_preference'
|
265
268
|
require_relative 'paypal_server_sdk/models/' \
|
266
269
|
'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'
|
274
270
|
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
271
|
require_relative 'paypal_server_sdk/models/payment_advice_code'
|
272
|
+
require_relative 'paypal_server_sdk/models/paypal_experience_landing_page'
|
287
273
|
require_relative 'paypal_server_sdk/models/paypal_experience_user_action'
|
288
274
|
require_relative 'paypal_server_sdk/models/paypal_payment_token_customer_type'
|
275
|
+
require_relative 'paypal_server_sdk/models/paypal_payment_token_usage_pattern'
|
276
|
+
require_relative 'paypal_server_sdk/models/paypal_payment_token_usage_type'
|
277
|
+
require_relative 'paypal_server_sdk/models/' \
|
278
|
+
'paypal_wallet_account_verification_status'
|
279
|
+
require_relative 'paypal_server_sdk/models/paypal_wallet_vault_status'
|
289
280
|
require_relative 'paypal_server_sdk/models/processor_response_code'
|
281
|
+
require_relative 'paypal_server_sdk/models/refund_incomplete_reason'
|
282
|
+
require_relative 'paypal_server_sdk/models/refund_status'
|
283
|
+
require_relative 'paypal_server_sdk/models/seller_protection_status'
|
284
|
+
require_relative 'paypal_server_sdk/models/shipping_preference'
|
290
285
|
require_relative 'paypal_server_sdk/models/standard_entry_class_code'
|
291
286
|
require_relative 'paypal_server_sdk/models/tax_id_type'
|
287
|
+
require_relative 'paypal_server_sdk/models/token_type'
|
288
|
+
require_relative 'paypal_server_sdk/models/upc_type'
|
289
|
+
require_relative 'paypal_server_sdk/models/vault_status'
|
290
|
+
require_relative 'paypal_server_sdk/models/venmo_payment_token_customer_type'
|
291
|
+
require_relative 'paypal_server_sdk/models/venmo_payment_token_usage_pattern'
|
292
|
+
require_relative 'paypal_server_sdk/models/venmo_payment_token_usage_type'
|
293
|
+
require_relative 'paypal_server_sdk/models/token_request_type'
|
292
294
|
require_relative 'paypal_server_sdk/models/o_auth_provider_error'
|
293
295
|
|
294
296
|
# Exceptions
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paypal-server-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PayPal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apimatic_core_interfaces
|
@@ -158,10 +158,11 @@ files:
|
|
158
158
|
- lib/paypal_server_sdk/models/error_details.rb
|
159
159
|
- lib/paypal_server_sdk/models/exchange_rate.rb
|
160
160
|
- lib/paypal_server_sdk/models/experience_context.rb
|
161
|
-
- lib/paypal_server_sdk/models/
|
161
|
+
- lib/paypal_server_sdk/models/fulfillment_type.rb
|
162
162
|
- lib/paypal_server_sdk/models/giropay_payment_object.rb
|
163
163
|
- lib/paypal_server_sdk/models/giropay_payment_request.rb
|
164
164
|
- lib/paypal_server_sdk/models/google_pay_authentication_method.rb
|
165
|
+
- lib/paypal_server_sdk/models/google_pay_card.rb
|
165
166
|
- lib/paypal_server_sdk/models/google_pay_card_attributes.rb
|
166
167
|
- lib/paypal_server_sdk/models/google_pay_card_response.rb
|
167
168
|
- lib/paypal_server_sdk/models/google_pay_decrypted_token_data.rb
|
@@ -254,7 +255,7 @@ files:
|
|
254
255
|
- lib/paypal_server_sdk/models/phone_type.rb
|
255
256
|
- lib/paypal_server_sdk/models/phone_with_type.rb
|
256
257
|
- lib/paypal_server_sdk/models/platform_fee.rb
|
257
|
-
- lib/paypal_server_sdk/models/
|
258
|
+
- lib/paypal_server_sdk/models/portable_postal_address_medium_grained.rb
|
258
259
|
- lib/paypal_server_sdk/models/processor_response.rb
|
259
260
|
- lib/paypal_server_sdk/models/processor_response_code.rb
|
260
261
|
- lib/paypal_server_sdk/models/purchase_unit.rb
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# paypal_server_sdk
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module PaypalServerSdk
|
7
|
-
# The instruction to process an order.
|
8
|
-
class ProcessingInstruction
|
9
|
-
PROCESSING_INSTRUCTION = [
|
10
|
-
# TODO: Write general description for ORDER_COMPLETE_ON_PAYMENT_APPROVAL
|
11
|
-
ORDER_COMPLETE_ON_PAYMENT_APPROVAL = 'ORDER_COMPLETE_ON_PAYMENT_APPROVAL'.freeze,
|
12
|
-
|
13
|
-
# TODO: Write general description for NO_INSTRUCTION
|
14
|
-
NO_INSTRUCTION = 'NO_INSTRUCTION'.freeze
|
15
|
-
].freeze
|
16
|
-
|
17
|
-
def self.validate(value)
|
18
|
-
return false if value.nil?
|
19
|
-
|
20
|
-
true
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|