Module: PayPal::SDK::AdaptivePayments::Services
Instance Method Summary collapse
- #BuildCancelPreapproval(options = {}, &block) ⇒ Object (also: #build_cancel_preapproval)
- #BuildConfirmPreapproval(options = {}, &block) ⇒ Object (also: #build_confirm_preapproval)
- #BuildConvertCurrency(options = {}, &block) ⇒ Object (also: #build_convert_currency)
- #BuildExecutePayment(options = {}, &block) ⇒ Object (also: #build_execute_payment)
- #BuildGetAllowedFundingSources(options = {}, &block) ⇒ Object (also: #build_get_allowed_funding_sources)
- #BuildGetAvailableShippingAddresses(options = {}, &block) ⇒ Object (also: #build_get_available_shipping_addresses)
- #BuildGetFundingPlans(options = {}, &block) ⇒ Object (also: #build_get_funding_plans)
- #BuildGetPaymentOptions(options = {}, &block) ⇒ Object (also: #build_get_payment_options)
- #BuildGetPrePaymentDisclosure(options = {}, &block) ⇒ Object (also: #build_get_pre_payment_disclosure)
- #BuildGetShippingAddresses(options = {}, &block) ⇒ Object (also: #build_get_shipping_addresses)
- #BuildGetUserLimits(options = {}, &block) ⇒ Object (also: #build_get_user_limits)
- #BuildPay(options = {}, &block) ⇒ Object (also: #build_pay)
- #BuildPaymentDetails(options = {}, &block) ⇒ Object (also: #build_payment_details)
- #BuildPreapproval(options = {}, &block) ⇒ Object (also: #build_preapproval)
- #BuildPreapprovalDetails(options = {}, &block) ⇒ Object (also: #build_preapproval_details)
- #BuildRefund(options = {}, &block) ⇒ Object (also: #build_refund)
- #BuildSetPaymentOptions(options = {}, &block) ⇒ Object (also: #build_set_payment_options)
-
#CancelPreapproval(options = {}, http_header = {}) ⇒ Object
(also: #cancel_preapproval)
Service Call: CancelPreapproval.
-
#ConfirmPreapproval(options = {}, http_header = {}) ⇒ Object
(also: #confirm_preapproval)
Service Call: ConfirmPreapproval.
-
#ConvertCurrency(options = {}, http_header = {}) ⇒ Object
(also: #convert_currency)
Service Call: ConvertCurrency.
-
#ExecutePayment(options = {}, http_header = {}) ⇒ Object
(also: #execute_payment)
Service Call: ExecutePayment.
-
#GetAllowedFundingSources(options = {}, http_header = {}) ⇒ Object
(also: #get_allowed_funding_sources)
Service Call: GetAllowedFundingSources.
-
#GetAvailableShippingAddresses(options = {}, http_header = {}) ⇒ Object
(also: #get_available_shipping_addresses)
Service Call: GetAvailableShippingAddresses.
-
#GetFundingPlans(options = {}, http_header = {}) ⇒ Object
(also: #get_funding_plans)
Service Call: GetFundingPlans.
-
#GetPaymentOptions(options = {}, http_header = {}) ⇒ Object
(also: #get_payment_options)
Service Call: GetPaymentOptions.
-
#GetPrePaymentDisclosure(options = {}, http_header = {}) ⇒ Object
(also: #get_pre_payment_disclosure)
Service Call: GetPrePaymentDisclosure.
-
#GetShippingAddresses(options = {}, http_header = {}) ⇒ Object
(also: #get_shipping_addresses)
Service Call: GetShippingAddresses.
-
#GetUserLimits(options = {}, http_header = {}) ⇒ Object
(also: #get_user_limits)
Service Call: GetUserLimits.
-
#Pay(options = {}, http_header = {}) ⇒ Object
(also: #pay)
Service Call: Pay.
-
#PaymentDetails(options = {}, http_header = {}) ⇒ Object
(also: #payment_details)
Service Call: PaymentDetails.
-
#Preapproval(options = {}, http_header = {}) ⇒ Object
(also: #preapproval)
Service Call: Preapproval.
-
#PreapprovalDetails(options = {}, http_header = {}) ⇒ Object
(also: #preapproval_details)
Service Call: PreapprovalDetails.
-
#Refund(options = {}, http_header = {}) ⇒ Object
(also: #refund)
Service Call: Refund.
-
#SetPaymentOptions(options = {}, http_header = {}) ⇒ Object
(also: #set_payment_options)
Service Call: SetPaymentOptions.
Instance Method Details
#BuildCancelPreapproval(options = {}, &block) ⇒ Object Also known as: build_cancel_preapproval
27 28 29 30 31 32 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 27 def BuildCancelPreapproval( = {}, &block) klass = CancelPreapprovalRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildConfirmPreapproval(options = {}, &block) ⇒ Object Also known as: build_confirm_preapproval
46 47 48 49 50 51 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 46 def BuildConfirmPreapproval( = {}, &block) klass = ConfirmPreapprovalRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildConvertCurrency(options = {}, &block) ⇒ Object Also known as: build_convert_currency
65 66 67 68 69 70 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 65 def BuildConvertCurrency( = {}, &block) klass = ConvertCurrencyRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildExecutePayment(options = {}, &block) ⇒ Object Also known as: build_execute_payment
84 85 86 87 88 89 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 84 def BuildExecutePayment( = {}, &block) klass = ExecutePaymentRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetAllowedFundingSources(options = {}, &block) ⇒ Object Also known as: build_get_allowed_funding_sources
103 104 105 106 107 108 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 103 def BuildGetAllowedFundingSources( = {}, &block) klass = GetAllowedFundingSourcesRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetAvailableShippingAddresses(options = {}, &block) ⇒ Object Also known as: build_get_available_shipping_addresses
274 275 276 277 278 279 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 274 def BuildGetAvailableShippingAddresses( = {}, &block) klass = GetAvailableShippingAddressesRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetFundingPlans(options = {}, &block) ⇒ Object Also known as: build_get_funding_plans
255 256 257 258 259 260 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 255 def BuildGetFundingPlans( = {}, &block) klass = GetFundingPlansRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetPaymentOptions(options = {}, &block) ⇒ Object Also known as: build_get_payment_options
122 123 124 125 126 127 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 122 def BuildGetPaymentOptions( = {}, &block) klass = GetPaymentOptionsRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetPrePaymentDisclosure(options = {}, &block) ⇒ Object Also known as: build_get_pre_payment_disclosure
331 332 333 334 335 336 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 331 def BuildGetPrePaymentDisclosure( = {}, &block) klass = GetPrePaymentDisclosureRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetShippingAddresses(options = {}, &block) ⇒ Object Also known as: build_get_shipping_addresses
293 294 295 296 297 298 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 293 def BuildGetShippingAddresses( = {}, &block) klass = GetShippingAddressesRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetUserLimits(options = {}, &block) ⇒ Object Also known as: build_get_user_limits
312 313 314 315 316 317 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 312 def BuildGetUserLimits( = {}, &block) klass = GetUserLimitsRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildPay(options = {}, &block) ⇒ Object Also known as: build_pay
160 161 162 163 164 165 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 160 def BuildPay( = {}, &block) klass = PayRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildPaymentDetails(options = {}, &block) ⇒ Object Also known as: build_payment_details
141 142 143 144 145 146 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 141 def BuildPaymentDetails( = {}, &block) klass = PaymentDetailsRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildPreapproval(options = {}, &block) ⇒ Object Also known as: build_preapproval
198 199 200 201 202 203 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 198 def BuildPreapproval( = {}, &block) klass = PreapprovalRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildPreapprovalDetails(options = {}, &block) ⇒ Object Also known as: build_preapproval_details
179 180 181 182 183 184 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 179 def BuildPreapprovalDetails( = {}, &block) klass = PreapprovalDetailsRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildRefund(options = {}, &block) ⇒ Object Also known as: build_refund
217 218 219 220 221 222 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 217 def BuildRefund( = {}, &block) klass = RefundRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildSetPaymentOptions(options = {}, &block) ⇒ Object Also known as: build_set_payment_options
236 237 238 239 240 241 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 236 def BuildSetPaymentOptions( = {}, &block) klass = SetPaymentOptionsRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#CancelPreapproval(options = {}, http_header = {}) ⇒ Object Also known as: cancel_preapproval
Service Call: CancelPreapproval
19 20 21 22 23 24 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 19 def CancelPreapproval( = {} , http_header = {}) request_object = BuildCancelPreapproval() request_hash = request_object.to_hash response_hash = request("CancelPreapproval", request_hash, http_header) CancelPreapprovalResponse.new(response_hash) end |
#ConfirmPreapproval(options = {}, http_header = {}) ⇒ Object Also known as: confirm_preapproval
Service Call: ConfirmPreapproval
38 39 40 41 42 43 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 38 def ConfirmPreapproval( = {} , http_header = {}) request_object = BuildConfirmPreapproval() request_hash = request_object.to_hash response_hash = request("ConfirmPreapproval", request_hash, http_header) ConfirmPreapprovalResponse.new(response_hash) end |
#ConvertCurrency(options = {}, http_header = {}) ⇒ Object Also known as: convert_currency
Service Call: ConvertCurrency
57 58 59 60 61 62 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 57 def ConvertCurrency( = {} , http_header = {}) request_object = BuildConvertCurrency() request_hash = request_object.to_hash response_hash = request("ConvertCurrency", request_hash, http_header) ConvertCurrencyResponse.new(response_hash) end |
#ExecutePayment(options = {}, http_header = {}) ⇒ Object Also known as: execute_payment
Service Call: ExecutePayment
76 77 78 79 80 81 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 76 def ExecutePayment( = {} , http_header = {}) request_object = BuildExecutePayment() request_hash = request_object.to_hash response_hash = request("ExecutePayment", request_hash, http_header) ExecutePaymentResponse.new(response_hash) end |
#GetAllowedFundingSources(options = {}, http_header = {}) ⇒ Object Also known as: get_allowed_funding_sources
Service Call: GetAllowedFundingSources
95 96 97 98 99 100 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 95 def GetAllowedFundingSources( = {} , http_header = {}) request_object = BuildGetAllowedFundingSources() request_hash = request_object.to_hash response_hash = request("GetAllowedFundingSources", request_hash, http_header) GetAllowedFundingSourcesResponse.new(response_hash) end |
#GetAvailableShippingAddresses(options = {}, http_header = {}) ⇒ Object Also known as: get_available_shipping_addresses
Service Call: GetAvailableShippingAddresses
266 267 268 269 270 271 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 266 def GetAvailableShippingAddresses( = {} , http_header = {}) request_object = BuildGetAvailableShippingAddresses() request_hash = request_object.to_hash response_hash = request("GetAvailableShippingAddresses", request_hash, http_header) GetAvailableShippingAddressesResponse.new(response_hash) end |
#GetFundingPlans(options = {}, http_header = {}) ⇒ Object Also known as: get_funding_plans
Service Call: GetFundingPlans
247 248 249 250 251 252 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 247 def GetFundingPlans( = {} , http_header = {}) request_object = BuildGetFundingPlans() request_hash = request_object.to_hash response_hash = request("GetFundingPlans", request_hash, http_header) GetFundingPlansResponse.new(response_hash) end |
#GetPaymentOptions(options = {}, http_header = {}) ⇒ Object Also known as: get_payment_options
Service Call: GetPaymentOptions
114 115 116 117 118 119 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 114 def GetPaymentOptions( = {} , http_header = {}) request_object = BuildGetPaymentOptions() request_hash = request_object.to_hash response_hash = request("GetPaymentOptions", request_hash, http_header) GetPaymentOptionsResponse.new(response_hash) end |
#GetPrePaymentDisclosure(options = {}, http_header = {}) ⇒ Object Also known as: get_pre_payment_disclosure
Service Call: GetPrePaymentDisclosure
323 324 325 326 327 328 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 323 def GetPrePaymentDisclosure( = {} , http_header = {}) request_object = BuildGetPrePaymentDisclosure() request_hash = request_object.to_hash response_hash = request("GetPrePaymentDisclosure", request_hash, http_header) GetPrePaymentDisclosureResponse.new(response_hash) end |
#GetShippingAddresses(options = {}, http_header = {}) ⇒ Object Also known as: get_shipping_addresses
Service Call: GetShippingAddresses
285 286 287 288 289 290 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 285 def GetShippingAddresses( = {} , http_header = {}) request_object = BuildGetShippingAddresses() request_hash = request_object.to_hash response_hash = request("GetShippingAddresses", request_hash, http_header) GetShippingAddressesResponse.new(response_hash) end |
#GetUserLimits(options = {}, http_header = {}) ⇒ Object Also known as: get_user_limits
Service Call: GetUserLimits
304 305 306 307 308 309 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 304 def GetUserLimits( = {} , http_header = {}) request_object = BuildGetUserLimits() request_hash = request_object.to_hash response_hash = request("GetUserLimits", request_hash, http_header) GetUserLimitsResponse.new(response_hash) end |
#Pay(options = {}, http_header = {}) ⇒ Object Also known as: pay
Service Call: Pay
152 153 154 155 156 157 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 152 def Pay( = {} , http_header = {}) request_object = BuildPay() request_hash = request_object.to_hash response_hash = request("Pay", request_hash, http_header) PayResponse.new(response_hash) end |
#PaymentDetails(options = {}, http_header = {}) ⇒ Object Also known as: payment_details
Service Call: PaymentDetails
133 134 135 136 137 138 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 133 def PaymentDetails( = {} , http_header = {}) request_object = BuildPaymentDetails() request_hash = request_object.to_hash response_hash = request("PaymentDetails", request_hash, http_header) PaymentDetailsResponse.new(response_hash) end |
#Preapproval(options = {}, http_header = {}) ⇒ Object Also known as: preapproval
Service Call: Preapproval
190 191 192 193 194 195 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 190 def Preapproval( = {} , http_header = {}) request_object = BuildPreapproval() request_hash = request_object.to_hash response_hash = request("Preapproval", request_hash, http_header) PreapprovalResponse.new(response_hash) end |
#PreapprovalDetails(options = {}, http_header = {}) ⇒ Object Also known as: preapproval_details
Service Call: PreapprovalDetails
171 172 173 174 175 176 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 171 def PreapprovalDetails( = {} , http_header = {}) request_object = BuildPreapprovalDetails() request_hash = request_object.to_hash response_hash = request("PreapprovalDetails", request_hash, http_header) PreapprovalDetailsResponse.new(response_hash) end |
#Refund(options = {}, http_header = {}) ⇒ Object Also known as: refund
Service Call: Refund
209 210 211 212 213 214 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 209 def Refund( = {} , http_header = {}) request_object = BuildRefund() request_hash = request_object.to_hash response_hash = request("Refund", request_hash, http_header) RefundResponse.new(response_hash) end |
#SetPaymentOptions(options = {}, http_header = {}) ⇒ Object Also known as: set_payment_options
Service Call: SetPaymentOptions
228 229 230 231 232 233 |
# File 'lib/paypal-sdk/adaptive_payments/services.rb', line 228 def SetPaymentOptions( = {} , http_header = {}) request_object = BuildSetPaymentOptions() request_hash = request_object.to_hash response_hash = request("SetPaymentOptions", request_hash, http_header) SetPaymentOptionsResponse.new(response_hash) end |