Module: PayPal::SDK::AdaptiveAccounts::Services
Instance Method Summary collapse
-
#AddBankAccount(options = {}, http_header = {}) ⇒ Object
(also: #add_bank_account)
Service Call: AddBankAccount.
-
#AddPaymentCard(options = {}, http_header = {}) ⇒ Object
(also: #add_payment_card)
Service Call: AddPaymentCard.
- #BuildAddBankAccount(options = {}, &block) ⇒ Object (also: #build_add_bank_account)
- #BuildAddPaymentCard(options = {}, &block) ⇒ Object (also: #build_add_payment_card)
- #BuildCheckComplianceStatus(options = {}, &block) ⇒ Object (also: #build_check_compliance_status)
- #BuildCreateAccount(options = {}, &block) ⇒ Object (also: #build_create_account)
- #BuildGetUserAgreement(options = {}, &block) ⇒ Object (also: #build_get_user_agreement)
- #BuildGetVerifiedStatus(options = {}, &block) ⇒ Object (also: #build_get_verified_status)
- #BuildSetFundingSourceConfirmed(options = {}, &block) ⇒ Object (also: #build_set_funding_source_confirmed)
-
#CheckComplianceStatus(options = {}, http_header = {}) ⇒ Object
(also: #check_compliance_status)
Service Call: CheckComplianceStatus.
-
#CreateAccount(options = {}, http_header = {}) ⇒ Object
(also: #create_account)
Service Call: CreateAccount.
-
#GetUserAgreement(options = {}, http_header = {}) ⇒ Object
(also: #get_user_agreement)
Service Call: GetUserAgreement.
-
#GetVerifiedStatus(options = {}, http_header = {}) ⇒ Object
(also: #get_verified_status)
Service Call: GetVerifiedStatus.
-
#SetFundingSourceConfirmed(options = {}, http_header = {}) ⇒ Object
(also: #set_funding_source_confirmed)
Service Call: SetFundingSourceConfirmed.
Instance Method Details
#AddBankAccount(options = {}, http_header = {}) ⇒ Object Also known as: add_bank_account
Service Call: AddBankAccount
76 77 78 79 80 81 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 76 def AddBankAccount( = {} , http_header = {}) request_object = BuildAddBankAccount() request_hash = request_object.to_hash response_hash = request("AddBankAccount", request_hash, http_header) AddBankAccountResponse.new(response_hash) end |
#AddPaymentCard(options = {}, http_header = {}) ⇒ Object Also known as: add_payment_card
Service Call: AddPaymentCard
95 96 97 98 99 100 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 95 def AddPaymentCard( = {} , http_header = {}) request_object = BuildAddPaymentCard() request_hash = request_object.to_hash response_hash = request("AddPaymentCard", request_hash, http_header) AddPaymentCardResponse.new(response_hash) end |
#BuildAddBankAccount(options = {}, &block) ⇒ Object Also known as: build_add_bank_account
84 85 86 87 88 89 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 84 def BuildAddBankAccount( = {}, &block) klass = AddBankAccountRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildAddPaymentCard(options = {}, &block) ⇒ Object Also known as: build_add_payment_card
103 104 105 106 107 108 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 103 def BuildAddPaymentCard( = {}, &block) klass = AddPaymentCardRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildCheckComplianceStatus(options = {}, &block) ⇒ Object Also known as: build_check_compliance_status
141 142 143 144 145 146 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 141 def BuildCheckComplianceStatus( = {}, &block) klass = CheckComplianceStatusRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildCreateAccount(options = {}, &block) ⇒ Object Also known as: build_create_account
27 28 29 30 31 32 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 27 def BuildCreateAccount( = {}, &block) klass = CreateAccountRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetUserAgreement(options = {}, &block) ⇒ Object Also known as: build_get_user_agreement
46 47 48 49 50 51 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 46 def BuildGetUserAgreement( = {}, &block) klass = GetUserAgreementRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetVerifiedStatus(options = {}, &block) ⇒ Object Also known as: build_get_verified_status
65 66 67 68 69 70 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 65 def BuildGetVerifiedStatus( = {}, &block) klass = GetVerifiedStatusRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildSetFundingSourceConfirmed(options = {}, &block) ⇒ Object Also known as: build_set_funding_source_confirmed
122 123 124 125 126 127 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 122 def BuildSetFundingSourceConfirmed( = {}, &block) klass = SetFundingSourceConfirmedRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#CheckComplianceStatus(options = {}, http_header = {}) ⇒ Object Also known as: check_compliance_status
Service Call: CheckComplianceStatus
133 134 135 136 137 138 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 133 def CheckComplianceStatus( = {} , http_header = {}) request_object = BuildCheckComplianceStatus() request_hash = request_object.to_hash response_hash = request("CheckComplianceStatus", request_hash, http_header) CheckComplianceStatusResponse.new(response_hash) end |
#CreateAccount(options = {}, http_header = {}) ⇒ Object Also known as: create_account
Service Call: CreateAccount
19 20 21 22 23 24 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 19 def CreateAccount( = {} , http_header = {}) request_object = BuildCreateAccount() request_hash = request_object.to_hash response_hash = request("CreateAccount", request_hash, http_header) CreateAccountResponse.new(response_hash) end |
#GetUserAgreement(options = {}, http_header = {}) ⇒ Object Also known as: get_user_agreement
Service Call: GetUserAgreement
38 39 40 41 42 43 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 38 def GetUserAgreement( = {} , http_header = {}) request_object = BuildGetUserAgreement() request_hash = request_object.to_hash response_hash = request("GetUserAgreement", request_hash, http_header) GetUserAgreementResponse.new(response_hash) end |
#GetVerifiedStatus(options = {}, http_header = {}) ⇒ Object Also known as: get_verified_status
Service Call: GetVerifiedStatus
57 58 59 60 61 62 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 57 def GetVerifiedStatus( = {} , http_header = {}) request_object = BuildGetVerifiedStatus() request_hash = request_object.to_hash response_hash = request("GetVerifiedStatus", request_hash, http_header) GetVerifiedStatusResponse.new(response_hash) end |
#SetFundingSourceConfirmed(options = {}, http_header = {}) ⇒ Object Also known as: set_funding_source_confirmed
Service Call: SetFundingSourceConfirmed
114 115 116 117 118 119 |
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 114 def SetFundingSourceConfirmed( = {} , http_header = {}) request_object = BuildSetFundingSourceConfirmed() request_hash = request_object.to_hash response_hash = request("SetFundingSourceConfirmed", request_hash, http_header) SetFundingSourceConfirmedResponse.new(response_hash) end |