Class: PayPal::SDK::ButtonManager::DataTypes::BusinessInfoType

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

Overview

BusinessInfoType

Class Method Summary collapse

Class Method Details

.load_membersObject



2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
# File 'lib/paypal-sdk/button_manager/data_types.rb', line 2394

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