Class: PayPal::SDK::Merchant::DataTypes::BusinessInfoType

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

Overview

BusinessInfoType

Class Method Summary collapse

Class Method Details

.load_membersObject



2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'lib/paypal-sdk/merchant/data_types.rb', line 2495

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