Module: PayPal::SDK::AdaptiveAccounts::Services

Includes:
DataTypes
Included in:
API
Defined in:
lib/paypal-sdk/adaptive_accounts/services.rb

Instance Method Summary collapse

Instance Method Details

#AddBankAccount(options = {}, http_header = {}) ⇒ Object Also known as: add_bank_account

Service Call: AddBankAccount

Parameters:

  • AddBankAccountRequest

Returns:

  • AddBankAccountResponse



76
77
78
79
80
81
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 76

def AddBankAccount(options = {} , http_header = {})
  request_object  = BuildAddBankAccount(options)
  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

Parameters:

  • AddPaymentCardRequest

Returns:

  • AddPaymentCardResponse



95
96
97
98
99
100
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 95

def AddPaymentCard(options = {} , http_header = {})
  request_object  = BuildAddPaymentCard(options)
  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(options = {}, &block)
  klass     = AddBankAccountRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  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(options = {}, &block)
  klass     = AddPaymentCardRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  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(options = {}, &block)
  klass     = CheckComplianceStatusRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  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(options = {}, &block)
  klass     = CreateAccountRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  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(options = {}, &block)
  klass     = GetUserAgreementRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  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(options = {}, &block)
  klass     = GetVerifiedStatusRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  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(options = {}, &block)
  klass     = SetFundingSourceConfirmedRequest
  object = options.is_a?(klass) ? options : klass.new(options || {})
  object.instance_eval(&block) if block
  object
end

#CheckComplianceStatus(options = {}, http_header = {}) ⇒ Object Also known as: check_compliance_status

Service Call: CheckComplianceStatus

Parameters:

  • CheckComplianceStatusRequest

Returns:

  • CheckComplianceStatusResponse



133
134
135
136
137
138
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 133

def CheckComplianceStatus(options = {} , http_header = {})
  request_object  = BuildCheckComplianceStatus(options)
  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

Parameters:

  • CreateAccountRequest

Returns:

  • CreateAccountResponse



19
20
21
22
23
24
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 19

def CreateAccount(options = {} , http_header = {})
  request_object  = BuildCreateAccount(options)
  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

Parameters:

  • GetUserAgreementRequest

Returns:

  • GetUserAgreementResponse



38
39
40
41
42
43
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 38

def GetUserAgreement(options = {} , http_header = {})
  request_object  = BuildGetUserAgreement(options)
  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

Parameters:

  • GetVerifiedStatusRequest

Returns:

  • GetVerifiedStatusResponse



57
58
59
60
61
62
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 57

def GetVerifiedStatus(options = {} , http_header = {})
  request_object  = BuildGetVerifiedStatus(options)
  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

Parameters:

  • SetFundingSourceConfirmedRequest

Returns:

  • SetFundingSourceConfirmedResponse



114
115
116
117
118
119
# File 'lib/paypal-sdk/adaptive_accounts/services.rb', line 114

def SetFundingSourceConfirmed(options = {} , http_header = {})
  request_object  = BuildSetFundingSourceConfirmed(options)
  request_hash    = request_object.to_hash
  response_hash   = request("SetFundingSourceConfirmed", request_hash, http_header)
  SetFundingSourceConfirmedResponse.new(response_hash)
end