Class: PayPal::SDK::Merchant::DataTypes::RefreshTokenStatusDetailsType

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

Overview

Response information resulting from opt-in operation or current login bypass status.

Class Method Summary collapse

Class Method Details

.load_membersObject



3179
3180
3181
3182
3183
3184
3185
3186
# File 'lib/paypal-sdk/merchant/data_types.rb', line 3179

def self.load_members
  # Required field that reports status of opt-in or login bypass attempt.  0 = Success, successful opt-in or RefreshToken corresponding to AccessToken specified  in SetExpressCheckout is valid (user is still opted in).  1 = New RefreshToken was generated (user is still opted in).  2 = Invalid ID, RefreshToken corresponding to AccessToken specified in SetExpressCheckout  is invalid (user is opted out). -2 = Internal Error, system error or outage during opt-in or login bypass. Can retry  opt-in or login bypass next time. Flow will force full authentication and allow  buyer to complete transaction. -1 = None, the field does not represent any valid value of the status. 
  object_of :RefreshTokenStatus, Integer, :namespace => :ebl, :required => true
  # Identifier returned on external-remember-me-opt-in to allow the merchant to request bypass of PayPal login 
  object_of :RefreshToken, String, :namespace => :ebl
  # The immutable_id is the user's unique value per merchant that should never ever change for that account. This would be the key used to uniquely identify the user 
  object_of :ImmutableID, String, :namespace => :ebl
end