Module: PayPal::SDK::Permissions::Services
Instance Method Summary collapse
- #BuildCancelPermissions(options = {}, &block) ⇒ Object (also: #build_cancel_permissions)
- #BuildGetAccessToken(options = {}, &block) ⇒ Object (also: #build_get_access_token)
- #BuildGetAdvancedPersonalData(options = {}, &block) ⇒ Object (also: #build_get_advanced_personal_data)
- #BuildGetBasicPersonalData(options = {}, &block) ⇒ Object (also: #build_get_basic_personal_data)
- #BuildGetPermissions(options = {}, &block) ⇒ Object (also: #build_get_permissions)
- #BuildRequestPermissions(options = {}, &block) ⇒ Object (also: #build_request_permissions)
-
#CancelPermissions(options = {}, http_header = {}) ⇒ Object
(also: #cancel_permissions)
Service Call: CancelPermissions.
-
#GetAccessToken(options = {}, http_header = {}) ⇒ Object
(also: #get_access_token)
Service Call: GetAccessToken.
-
#GetAdvancedPersonalData(options = {}, http_header = {}) ⇒ Object
(also: #get_advanced_personal_data)
Service Call: GetAdvancedPersonalData.
-
#GetBasicPersonalData(options = {}, http_header = {}) ⇒ Object
(also: #get_basic_personal_data)
Service Call: GetBasicPersonalData.
-
#GetPermissions(options = {}, http_header = {}) ⇒ Object
(also: #get_permissions)
Service Call: GetPermissions.
-
#RequestPermissions(options = {}, http_header = {}) ⇒ Object
(also: #request_permissions)
Service Call: RequestPermissions.
Instance Method Details
#BuildCancelPermissions(options = {}, &block) ⇒ Object Also known as: build_cancel_permissions
84 85 86 87 88 89 |
# File 'lib/paypal-sdk/permissions/services.rb', line 84 def BuildCancelPermissions( = {}, &block) klass = CancelPermissionsRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetAccessToken(options = {}, &block) ⇒ Object Also known as: build_get_access_token
46 47 48 49 50 51 |
# File 'lib/paypal-sdk/permissions/services.rb', line 46 def BuildGetAccessToken( = {}, &block) klass = GetAccessTokenRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetAdvancedPersonalData(options = {}, &block) ⇒ Object Also known as: build_get_advanced_personal_data
122 123 124 125 126 127 |
# File 'lib/paypal-sdk/permissions/services.rb', line 122 def BuildGetAdvancedPersonalData( = {}, &block) klass = GetAdvancedPersonalDataRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetBasicPersonalData(options = {}, &block) ⇒ Object Also known as: build_get_basic_personal_data
103 104 105 106 107 108 |
# File 'lib/paypal-sdk/permissions/services.rb', line 103 def BuildGetBasicPersonalData( = {}, &block) klass = GetBasicPersonalDataRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildGetPermissions(options = {}, &block) ⇒ Object Also known as: build_get_permissions
65 66 67 68 69 70 |
# File 'lib/paypal-sdk/permissions/services.rb', line 65 def BuildGetPermissions( = {}, &block) klass = GetPermissionsRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#BuildRequestPermissions(options = {}, &block) ⇒ Object Also known as: build_request_permissions
27 28 29 30 31 32 |
# File 'lib/paypal-sdk/permissions/services.rb', line 27 def BuildRequestPermissions( = {}, &block) klass = RequestPermissionsRequest object = .is_a?(klass) ? : klass.new( || {}) object.instance_eval(&block) if block object end |
#CancelPermissions(options = {}, http_header = {}) ⇒ Object Also known as: cancel_permissions
Service Call: CancelPermissions
76 77 78 79 80 81 |
# File 'lib/paypal-sdk/permissions/services.rb', line 76 def CancelPermissions( = {} , http_header = {}) request_object = BuildCancelPermissions() request_hash = request_object.to_hash response_hash = request("CancelPermissions", request_hash, http_header) CancelPermissionsResponse.new(response_hash) end |
#GetAccessToken(options = {}, http_header = {}) ⇒ Object Also known as: get_access_token
Service Call: GetAccessToken
38 39 40 41 42 43 |
# File 'lib/paypal-sdk/permissions/services.rb', line 38 def GetAccessToken( = {} , http_header = {}) request_object = BuildGetAccessToken() request_hash = request_object.to_hash response_hash = request("GetAccessToken", request_hash, http_header) GetAccessTokenResponse.new(response_hash) end |
#GetAdvancedPersonalData(options = {}, http_header = {}) ⇒ Object Also known as: get_advanced_personal_data
Service Call: GetAdvancedPersonalData
114 115 116 117 118 119 |
# File 'lib/paypal-sdk/permissions/services.rb', line 114 def GetAdvancedPersonalData( = {} , http_header = {}) request_object = BuildGetAdvancedPersonalData() request_hash = request_object.to_hash response_hash = request("GetAdvancedPersonalData", request_hash, http_header) GetAdvancedPersonalDataResponse.new(response_hash) end |
#GetBasicPersonalData(options = {}, http_header = {}) ⇒ Object Also known as: get_basic_personal_data
Service Call: GetBasicPersonalData
95 96 97 98 99 100 |
# File 'lib/paypal-sdk/permissions/services.rb', line 95 def GetBasicPersonalData( = {} , http_header = {}) request_object = BuildGetBasicPersonalData() request_hash = request_object.to_hash response_hash = request("GetBasicPersonalData", request_hash, http_header) GetBasicPersonalDataResponse.new(response_hash) end |
#GetPermissions(options = {}, http_header = {}) ⇒ Object Also known as: get_permissions
Service Call: GetPermissions
57 58 59 60 61 62 |
# File 'lib/paypal-sdk/permissions/services.rb', line 57 def GetPermissions( = {} , http_header = {}) request_object = BuildGetPermissions() request_hash = request_object.to_hash response_hash = request("GetPermissions", request_hash, http_header) GetPermissionsResponse.new(response_hash) end |
#RequestPermissions(options = {}, http_header = {}) ⇒ Object Also known as: request_permissions
Service Call: RequestPermissions
19 20 21 22 23 24 |
# File 'lib/paypal-sdk/permissions/services.rb', line 19 def RequestPermissions( = {} , http_header = {}) request_object = BuildRequestPermissions() request_hash = request_object.to_hash response_hash = request("RequestPermissions", request_hash, http_header) RequestPermissionsResponse.new(response_hash) end |