Class: BusinessInfoType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsBusinessInfoType

Constant Summary collapse

@@schema_type =
"BusinessInfoType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["type", ["BusinessTypeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Type")]],
  ["name", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Name")]],
  ["address", ["AddressType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Address")]],
  ["workPhone", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "WorkPhone")]],
  ["category", ["BusinessCategoryType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Category")]],
  ["subCategory", ["BusinessSubCategoryType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SubCategory")]],
  ["averagePrice", ["AverageTransactionPriceType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AveragePrice")]],
  ["averageMonthlyVolume", ["AverageMonthlyVolumeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AverageMonthlyVolume")]],
  ["salesVenue", ["SalesVenueType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SalesVenue")]],
  ["website", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Website")]],
  ["revenueFromOnlineSales", ["PercentageRevenueFromOnlineSalesType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "RevenueFromOnlineSales")]],
  ["businessEstablished", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BusinessEstablished")]],
  ["customerServiceEmail", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CustomerServiceEmail")]],
  ["customerServicePhone", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CustomerServicePhone")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, name = nil, address = nil, workPhone = nil, category = nil, subCategory = nil, averagePrice = nil, averageMonthlyVolume = nil, salesVenue = nil, website = nil, revenueFromOnlineSales = nil, businessEstablished = nil, customerServiceEmail = nil, customerServicePhone = nil) ⇒ BusinessInfoType

Returns a new instance of BusinessInfoType.



4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
# File 'lib/paypal-business/default.rb', line 4172

def initialize(type = nil, name = nil, address = nil, workPhone = nil, category = nil, subCategory = nil, averagePrice = nil, averageMonthlyVolume = nil, salesVenue = nil, website = nil, revenueFromOnlineSales = nil, businessEstablished = nil, customerServiceEmail = nil, customerServicePhone = nil)
  @type = type
  @name = name
  @address = address
  @workPhone = workPhone
  @category = category
  @subCategory = subCategory
  @averagePrice = averagePrice
  @averageMonthlyVolume = averageMonthlyVolume
  @salesVenue = salesVenue
  @website = website
  @revenueFromOnlineSales = revenueFromOnlineSales
  @businessEstablished = businessEstablished
  @customerServiceEmail = customerServiceEmail
  @customerServicePhone = customerServicePhone
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



4159
4160
4161
# File 'lib/paypal-business/default.rb', line 4159

def address
  @address
end

#averageMonthlyVolumeObject

Returns the value of attribute averageMonthlyVolume.



4164
4165
4166
# File 'lib/paypal-business/default.rb', line 4164

def averageMonthlyVolume
  @averageMonthlyVolume
end

#averagePriceObject

Returns the value of attribute averagePrice.



4163
4164
4165
# File 'lib/paypal-business/default.rb', line 4163

def averagePrice
  @averagePrice
end

#businessEstablishedObject

Returns the value of attribute businessEstablished.



4168
4169
4170
# File 'lib/paypal-business/default.rb', line 4168

def businessEstablished
  @businessEstablished
end

#categoryObject

Returns the value of attribute category.



4161
4162
4163
# File 'lib/paypal-business/default.rb', line 4161

def category
  @category
end

#customerServiceEmailObject

Returns the value of attribute customerServiceEmail.



4169
4170
4171
# File 'lib/paypal-business/default.rb', line 4169

def customerServiceEmail
  @customerServiceEmail
end

#customerServicePhoneObject

Returns the value of attribute customerServicePhone.



4170
4171
4172
# File 'lib/paypal-business/default.rb', line 4170

def customerServicePhone
  @customerServicePhone
end

#nameObject

Returns the value of attribute name.



4158
4159
4160
# File 'lib/paypal-business/default.rb', line 4158

def name
  @name
end

#revenueFromOnlineSalesObject

Returns the value of attribute revenueFromOnlineSales.



4167
4168
4169
# File 'lib/paypal-business/default.rb', line 4167

def revenueFromOnlineSales
  @revenueFromOnlineSales
end

#salesVenueObject

Returns the value of attribute salesVenue.



4165
4166
4167
# File 'lib/paypal-business/default.rb', line 4165

def salesVenue
  @salesVenue
end

#subCategoryObject

Returns the value of attribute subCategory.



4162
4163
4164
# File 'lib/paypal-business/default.rb', line 4162

def subCategory
  @subCategory
end

#typeObject

Returns the value of attribute type.



4157
4158
4159
# File 'lib/paypal-business/default.rb', line 4157

def type
  @type
end

#websiteObject

Returns the value of attribute website.



4166
4167
4168
# File 'lib/paypal-business/default.rb', line 4166

def website
  @website
end

#workPhoneObject

Returns the value of attribute workPhone.



4160
4161
4162
# File 'lib/paypal-business/default.rb', line 4160

def workPhone
  @workPhone
end