Class: PayPal::SDK::Permissions::DataTypes::GetAccessTokenResponse

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

Overview

Permanent access token and token secret that can be used to make requests for protected resources owned by another account.

Class Method Summary collapse

Class Method Details

.load_membersObject



162
163
164
165
166
167
168
169
170
171
172
# File 'lib/paypal-sdk/permissions/data_types.rb', line 162

def self.load_members
  include ResponseStatus
  object_of :responseEnvelope, ResponseEnvelope, :required => true
  # Identifier for the permissions approved for this relationship. 
  array_of :scope, String
  # Permanent access token that identifies the relationship that the user authorized. 
  object_of :token, String
  # The token secret/password that will need to be used when generating the signature. 
  object_of :tokenSecret, String
  array_of :error, ErrorData
end