Class: PayPal::SDK::Permissions::DataTypes::RequestPermissionsRequest

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/permissions/data_types.rb

Overview

Describes the request for permissions over an account. Primary element is “scope”, which lists the permissions needed.

Class Method Summary collapse

Class Method Details

.load_membersObject



121
122
123
124
125
126
127
# File 'lib/paypal-sdk/permissions/data_types.rb', line 121

def self.load_members
  object_of :requestEnvelope, RequestEnvelope
  # URI of the permissions being requested. 
  array_of :scope, String, :required => true
  # URL on the client side that will be used to communicate completion of the user flow. The URL can include query parameters. 
  object_of :callback, String, :required => true
end