Class: PayPal::SDK::ButtonManagerRails::DataTypes::APICredentialsType
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::ButtonManagerRails::DataTypes::APICredentialsType
- Defined in:
- lib/paypal-sdk/button_manager_rails/data_types.rb
Overview
APICredentialsType
Class Method Summary collapse
Class Method Details
.load_members ⇒ Object
2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 |
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 2532 def self.load_members # Merchantâs PayPal API usernameCharacter length and limitations: 128 alphanumeric characters object_of :Username, String, :namespace => :ebl # Merchantâs PayPal API passwordCharacter length and limitations: 40 alphanumeric characters object_of :Password, String, :namespace => :ebl # Merchantâs PayPal API signature, if one exists. Character length and limitations: 256 alphanumeric characters object_of :Signature, String, :namespace => :ebl # Merchantâs PayPal API certificate in PEM format, if one exists The certificate consists of two parts: the private key (2,048 bytes) and the certificate proper (4,000 bytes). Character length and limitations: 6,048 alphanumeric characters object_of :Certificate, String, :namespace => :ebl # Merchantâs PayPal API authentication mechanism. Auth-None: no authentication mechanism on file Cert: API certificate Sign: API signature Character length and limitations: 9 alphanumeric characters object_of :Type, APIAuthenticationType, :namespace => :ebl end |