Class: PayPal::SDK::ButtonManagerRails::DataTypes::RefreshTokenStatusDetailsType

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/button_manager_rails/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



3105
3106
3107
3108
3109
3110
3111
3112
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 3105

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