module PayPal::SDK::AdaptivePayments::Services

Public Instance Methods

BuildCancelPreapproval(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 27
def BuildCancelPreapproval(options = {}, &block)
  klass     = CancelPreapprovalRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_cancel_preapproval
BuildConfirmPreapproval(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 46
def BuildConfirmPreapproval(options = {}, &block)
  klass     = ConfirmPreapprovalRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_confirm_preapproval
BuildConvertCurrency(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 65
def BuildConvertCurrency(options = {}, &block)
  klass     = ConvertCurrencyRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_convert_currency
BuildExecutePayment(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 84
def BuildExecutePayment(options = {}, &block)
  klass     = ExecutePaymentRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_execute_payment
BuildGetAllowedFundingSources(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 103
def BuildGetAllowedFundingSources(options = {}, &block)
  klass     = GetAllowedFundingSourcesRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
BuildGetAvailableShippingAddresses(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 274
def BuildGetAvailableShippingAddresses(options = {}, &block)
  klass     = GetAvailableShippingAddressesRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
BuildGetFundingPlans(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 255
def BuildGetFundingPlans(options = {}, &block)
  klass     = GetFundingPlansRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_get_funding_plans
BuildGetPaymentOptions(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 122
def BuildGetPaymentOptions(options = {}, &block)
  klass     = GetPaymentOptionsRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_get_payment_options
BuildGetPrePaymentDisclosure(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 331
def BuildGetPrePaymentDisclosure(options = {}, &block)
  klass     = GetPrePaymentDisclosureRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
BuildGetShippingAddresses(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 293
def BuildGetShippingAddresses(options = {}, &block)
  klass     = GetShippingAddressesRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_get_shipping_addresses
BuildGetUserLimits(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 312
def BuildGetUserLimits(options = {}, &block)
  klass     = GetUserLimitsRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_get_user_limits
BuildPay(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 160
def BuildPay(options = {}, &block)
  klass     = PayRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_pay
BuildPaymentDetails(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 141
def BuildPaymentDetails(options = {}, &block)
  klass     = PaymentDetailsRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_payment_details
BuildPreapproval(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 198
def BuildPreapproval(options = {}, &block)
  klass     = PreapprovalRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_preapproval
BuildPreapprovalDetails(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 179
def BuildPreapprovalDetails(options = {}, &block)
  klass     = PreapprovalDetailsRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_preapproval_details
BuildRefund(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 217
def BuildRefund(options = {}, &block)
  klass     = RefundRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_refund
BuildSetPaymentOptions(options = {}, &block) click to toggle source
# File lib/paypal-sdk/adaptive_payments/services.rb, line 236
def BuildSetPaymentOptions(options = {}, &block)
  klass     = SetPaymentOptionsRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end
Also aliased as: build_set_payment_options
CancelPreapproval(options = {} , http_header = {}) click to toggle source

Service Call: CancelPreapproval @param CancelPreapprovalRequest @return CancelPreapprovalResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 19
def CancelPreapproval(options = {} , http_header = {})
  request_object  = BuildCancelPreapproval(options)
  request_hash    = request_object.to_hash
  response_hash   = request("CancelPreapproval", request_hash, http_header)
  CancelPreapprovalResponse.new(response_hash)
end
Also aliased as: cancel_preapproval
ConfirmPreapproval(options = {} , http_header = {}) click to toggle source

Service Call: ConfirmPreapproval @param ConfirmPreapprovalRequest @return ConfirmPreapprovalResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 38
def ConfirmPreapproval(options = {} , http_header = {})
  request_object  = BuildConfirmPreapproval(options)
  request_hash    = request_object.to_hash
  response_hash   = request("ConfirmPreapproval", request_hash, http_header)
  ConfirmPreapprovalResponse.new(response_hash)
end
Also aliased as: confirm_preapproval
ConvertCurrency(options = {} , http_header = {}) click to toggle source

Service Call: ConvertCurrency @param ConvertCurrencyRequest @return ConvertCurrencyResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 57
def ConvertCurrency(options = {} , http_header = {})
  request_object  = BuildConvertCurrency(options)
  request_hash    = request_object.to_hash
  response_hash   = request("ConvertCurrency", request_hash, http_header)
  ConvertCurrencyResponse.new(response_hash)
end
Also aliased as: convert_currency
ExecutePayment(options = {} , http_header = {}) click to toggle source

Service Call: ExecutePayment @param ExecutePaymentRequest @return ExecutePaymentResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 76
def ExecutePayment(options = {} , http_header = {})
  request_object  = BuildExecutePayment(options)
  request_hash    = request_object.to_hash
  response_hash   = request("ExecutePayment", request_hash, http_header)
  ExecutePaymentResponse.new(response_hash)
end
Also aliased as: execute_payment
GetAllowedFundingSources(options = {} , http_header = {}) click to toggle source

Service Call: GetAllowedFundingSources @param GetAllowedFundingSourcesRequest @return GetAllowedFundingSourcesResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 95
def GetAllowedFundingSources(options = {} , http_header = {})
  request_object  = BuildGetAllowedFundingSources(options)
  request_hash    = request_object.to_hash
  response_hash   = request("GetAllowedFundingSources", request_hash, http_header)
  GetAllowedFundingSourcesResponse.new(response_hash)
end
Also aliased as: get_allowed_funding_sources
GetAvailableShippingAddresses(options = {} , http_header = {}) click to toggle source

Service Call: GetAvailableShippingAddresses @param GetAvailableShippingAddressesRequest @return GetAvailableShippingAddressesResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 266
def GetAvailableShippingAddresses(options = {} , http_header = {})
  request_object  = BuildGetAvailableShippingAddresses(options)
  request_hash    = request_object.to_hash
  response_hash   = request("GetAvailableShippingAddresses", request_hash, http_header)
  GetAvailableShippingAddressesResponse.new(response_hash)
end
GetFundingPlans(options = {} , http_header = {}) click to toggle source

Service Call: GetFundingPlans @param GetFundingPlansRequest @return GetFundingPlansResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 247
def GetFundingPlans(options = {} , http_header = {})
  request_object  = BuildGetFundingPlans(options)
  request_hash    = request_object.to_hash
  response_hash   = request("GetFundingPlans", request_hash, http_header)
  GetFundingPlansResponse.new(response_hash)
end
Also aliased as: get_funding_plans
GetPaymentOptions(options = {} , http_header = {}) click to toggle source

Service Call: GetPaymentOptions @param GetPaymentOptionsRequest @return GetPaymentOptionsResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 114
def GetPaymentOptions(options = {} , http_header = {})
  request_object  = BuildGetPaymentOptions(options)
  request_hash    = request_object.to_hash
  response_hash   = request("GetPaymentOptions", request_hash, http_header)
  GetPaymentOptionsResponse.new(response_hash)
end
Also aliased as: get_payment_options
GetPrePaymentDisclosure(options = {} , http_header = {}) click to toggle source

Service Call: GetPrePaymentDisclosure @param GetPrePaymentDisclosureRequest @return GetPrePaymentDisclosureResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 323
def GetPrePaymentDisclosure(options = {} , http_header = {})
  request_object  = BuildGetPrePaymentDisclosure(options)
  request_hash    = request_object.to_hash
  response_hash   = request("GetPrePaymentDisclosure", request_hash, http_header)
  GetPrePaymentDisclosureResponse.new(response_hash)
end
Also aliased as: get_pre_payment_disclosure
GetShippingAddresses(options = {} , http_header = {}) click to toggle source

Service Call: GetShippingAddresses @param GetShippingAddressesRequest @return GetShippingAddressesResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 285
def GetShippingAddresses(options = {} , http_header = {})
  request_object  = BuildGetShippingAddresses(options)
  request_hash    = request_object.to_hash
  response_hash   = request("GetShippingAddresses", request_hash, http_header)
  GetShippingAddressesResponse.new(response_hash)
end
Also aliased as: get_shipping_addresses
GetUserLimits(options = {} , http_header = {}) click to toggle source

Service Call: GetUserLimits @param GetUserLimitsRequest @return GetUserLimitsResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 304
def GetUserLimits(options = {} , http_header = {})
  request_object  = BuildGetUserLimits(options)
  request_hash    = request_object.to_hash
  response_hash   = request("GetUserLimits", request_hash, http_header)
  GetUserLimitsResponse.new(response_hash)
end
Also aliased as: get_user_limits
Pay(options = {} , http_header = {}) click to toggle source

Service Call: Pay @param PayRequest @return PayResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 152
def Pay(options = {} , http_header = {})
  request_object  = BuildPay(options)
  request_hash    = request_object.to_hash
  response_hash   = request("Pay", request_hash, http_header)
  PayResponse.new(response_hash)
end
Also aliased as: pay
PaymentDetails(options = {} , http_header = {}) click to toggle source

Service Call: PaymentDetails @param PaymentDetailsRequest @return PaymentDetailsResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 133
def PaymentDetails(options = {} , http_header = {})
  request_object  = BuildPaymentDetails(options)
  request_hash    = request_object.to_hash
  response_hash   = request("PaymentDetails", request_hash, http_header)
  PaymentDetailsResponse.new(response_hash)
end
Also aliased as: payment_details
Preapproval(options = {} , http_header = {}) click to toggle source

Service Call: Preapproval @param PreapprovalRequest @return PreapprovalResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 190
def Preapproval(options = {} , http_header = {})
  request_object  = BuildPreapproval(options)
  request_hash    = request_object.to_hash
  response_hash   = request("Preapproval", request_hash, http_header)
  PreapprovalResponse.new(response_hash)
end
Also aliased as: preapproval
PreapprovalDetails(options = {} , http_header = {}) click to toggle source

Service Call: PreapprovalDetails @param PreapprovalDetailsRequest @return PreapprovalDetailsResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 171
def PreapprovalDetails(options = {} , http_header = {})
  request_object  = BuildPreapprovalDetails(options)
  request_hash    = request_object.to_hash
  response_hash   = request("PreapprovalDetails", request_hash, http_header)
  PreapprovalDetailsResponse.new(response_hash)
end
Also aliased as: preapproval_details
Refund(options = {} , http_header = {}) click to toggle source

Service Call: Refund @param RefundRequest @return RefundResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 209
def Refund(options = {} , http_header = {})
  request_object  = BuildRefund(options)
  request_hash    = request_object.to_hash
  response_hash   = request("Refund", request_hash, http_header)
  RefundResponse.new(response_hash)
end
Also aliased as: refund
SetPaymentOptions(options = {} , http_header = {}) click to toggle source

Service Call: SetPaymentOptions @param SetPaymentOptionsRequest @return SetPaymentOptionsResponse

# File lib/paypal-sdk/adaptive_payments/services.rb, line 228
def SetPaymentOptions(options = {} , http_header = {})
  request_object  = BuildSetPaymentOptions(options)
  request_hash    = request_object.to_hash
  response_hash   = request("SetPaymentOptions", request_hash, http_header)
  SetPaymentOptionsResponse.new(response_hash)
end
Also aliased as: set_payment_options
build_cancel_preapproval(options = {}, &block)
build_confirm_preapproval(options = {}, &block)
build_convert_currency(options = {}, &block)
build_execute_payment(options = {}, &block)
Alias for: BuildExecutePayment
build_get_allowed_funding_sources(options = {}, &block)
build_get_available_shipping_addresses(options = {}, &block)
build_get_funding_plans(options = {}, &block)
build_get_payment_options(options = {}, &block)
build_get_pre_payment_disclosure(options = {}, &block)
build_get_shipping_addresses(options = {}, &block)
build_get_user_limits(options = {}, &block)
Alias for: BuildGetUserLimits
build_pay(options = {}, &block)
Alias for: BuildPay
build_payment_details(options = {}, &block)
Alias for: BuildPaymentDetails
build_preapproval(options = {}, &block)
Alias for: BuildPreapproval
build_preapproval_details(options = {}, &block)
build_refund(options = {}, &block)
Alias for: BuildRefund
build_set_payment_options(options = {}, &block)
cancel_preapproval(options = {} , http_header = {})
Alias for: CancelPreapproval
confirm_preapproval(options = {} , http_header = {})
Alias for: ConfirmPreapproval
convert_currency(options = {} , http_header = {})
Alias for: ConvertCurrency
execute_payment(options = {} , http_header = {})
Alias for: ExecutePayment
get_allowed_funding_sources(options = {} , http_header = {})
get_available_shipping_addresses(options = {} , http_header = {})
get_funding_plans(options = {} , http_header = {})
Alias for: GetFundingPlans
get_payment_options(options = {} , http_header = {})
Alias for: GetPaymentOptions
get_pre_payment_disclosure(options = {} , http_header = {})
get_shipping_addresses(options = {} , http_header = {})
get_user_limits(options = {} , http_header = {})
Alias for: GetUserLimits
pay(options = {} , http_header = {})
Alias for: Pay
payment_details(options = {} , http_header = {})
Alias for: PaymentDetails
preapproval(options = {} , http_header = {})
Alias for: Preapproval
preapproval_details(options = {} , http_header = {})
Alias for: PreapprovalDetails
refund(options = {} , http_header = {})
Alias for: Refund
set_payment_options(options = {} , http_header = {})
Alias for: SetPaymentOptions