Class: PayPal::SDK::ButtonManagerRails::DataTypes::BusinessInfoType

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

Overview

BusinessInfoType

Class Method Summary collapse

Class Method Details

.load_membersObject

[View source]

2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 2429

def self.load_members
  # Type of business, such as corporation or sole proprietorship
  object_of :Type, BusinessTypeType, :namespace => :ebl
  # Official name of business Character length and limitations: 75 alphanumeric characters
  object_of :Name, String, :namespace => :ebl
  # Merchantâs business postal address
  object_of :Address, AddressType, :namespace => :ebl
  # Businessâs primary telephone number Character length and limitations: 20 alphanumeric characters
  object_of :WorkPhone, String, :namespace => :ebl
  # Line of business, as defined in the enumerations
  object_of :Category, BusinessCategoryType, :namespace => :ebl
  # Business sub-category, as defined in the enumerations
  object_of :SubCategory, BusinessSubCategoryType, :namespace => :ebl
  # Average transaction price, as defined by the enumerations. Enumeration Meaning AverageTransactionPrice-Not-Applicable AverageTransactionPrice-Range1 Less than $25 USD AverageTransactionPrice-Range2 $25 USD to $50 USD AverageTransactionPrice-Range3 $50 USD to $100 USD AverageTransactionPrice-Range4 $100 USD to $250 USD AverageTransactionPrice-Range5 $250 USD to $500 USD AverageTransactionPrice-Range6 $500 USD to $1,000 USD AverageTransactionPrice-Range7 $1,000 USD to $2,000 USD AverageTransactionPrice-Range8 $2,000 USD to $5,000 USD AverageTransactionPrice-Range9 $5,000 USD to $10,000 USD AverageTransactionPrice-Range10 More than $10,000 USD 
  object_of :AveragePrice, AverageTransactionPriceType, :namespace => :ebl
  # Average monthly sales volume, as defined by the enumerations. Enumeration Meaning AverageMonthlyVolume-Not-Applicable AverageMonthlyVolume-Range1 Less than $1,000 USD AverageMonthlyVolume-Range2 $1,000 USD to $5,000 USD AverageMonthlyVolume-Range3 $5,000 USD to $25,000 USD AverageMonthlyVolume-Range4 $25,000 USD to $100,000 USD AverageMonthlyVolume-Range5 $100,000 USD to $1,000,000 USD AverageMonthlyVolume-Range6 More than $1,000,000 USD 
  object_of :AverageMonthlyVolume, AverageMonthlyVolumeType, :namespace => :ebl
  # Main sales venue, such as eBay
  object_of :SalesVenue, SalesVenueType, :namespace => :ebl
  # Primary URL of business Character length and limitations: 2,048 alphanumeric characters
  object_of :Website, String, :namespace => :ebl
  # Percentage of revenue attributable to online sales, as defined by the enumerations Enumeration Meaning PercentageRevenueFromOnlineSales-Not-Applicable PercentageRevenueFromOnlineSales-Range1 Less than 25% PercentageRevenueFromOnlineSales-Range2 25% to 50% PercentageRevenueFromOnlineSales-Range3 50% to 75% PercentageRevenueFromOnlineSales-Range4 75% to 100% 
  object_of :RevenueFromOnlineSales, PercentageRevenueFromOnlineSalesType, :namespace => :ebl
  # Date the merchantâs business was established
  object_of :BusinessEstablished, DateTime, :namespace => :ebl
  # Email address to contact businessâs customer service Character length and limitations: 127 alphanumeric characters
  object_of :CustomerServiceEmail, String, :namespace => :ebl
  # Telephone number to contact businessâs customer service Character length and limitations: 32 alphanumeric characters
  object_of :CustomerServicePhone, String, :namespace => :ebl
end