Class: CombinedPaymentPreferencesType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsCombinedPaymentPreferencesType

Constant Summary collapse

@@schema_type =
"CombinedPaymentPreferencesType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["calculatedShippingPreferences", ["CalculatedShippingPreferencesType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CalculatedShippingPreferences")]],
  ["combinedPaymentOption", ["CombinedPaymentOptionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CombinedPaymentOption")]],
  ["combinedPaymentPeriod", ["CombinedPaymentPeriodCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CombinedPaymentPeriod")]],
  ["flatShippingPreferences", ["FlatShippingPreferencesType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "FlatShippingPreferences")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(calculatedShippingPreferences = nil, combinedPaymentOption = nil, combinedPaymentPeriod = nil, flatShippingPreferences = nil) ⇒ CombinedPaymentPreferencesType

Returns a new instance of CombinedPaymentPreferencesType.



16612
16613
16614
16615
16616
16617
16618
# File 'lib/eBay.rb', line 16612

def initialize(calculatedShippingPreferences = nil, combinedPaymentOption = nil, combinedPaymentPeriod = nil, flatShippingPreferences = nil)
  @calculatedShippingPreferences = calculatedShippingPreferences
  @combinedPaymentOption = combinedPaymentOption
  @combinedPaymentPeriod = combinedPaymentPeriod
  @flatShippingPreferences = flatShippingPreferences
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



16606
16607
16608
# File 'lib/eBay.rb', line 16606

def __xmlele_any
  @__xmlele_any
end

#calculatedShippingPreferencesObject

Returns the value of attribute calculatedShippingPreferences.



16602
16603
16604
# File 'lib/eBay.rb', line 16602

def calculatedShippingPreferences
  @calculatedShippingPreferences
end

#combinedPaymentOptionObject

Returns the value of attribute combinedPaymentOption.



16603
16604
16605
# File 'lib/eBay.rb', line 16603

def combinedPaymentOption
  @combinedPaymentOption
end

#combinedPaymentPeriodObject

Returns the value of attribute combinedPaymentPeriod.



16604
16605
16606
# File 'lib/eBay.rb', line 16604

def combinedPaymentPeriod
  @combinedPaymentPeriod
end

#flatShippingPreferencesObject

Returns the value of attribute flatShippingPreferences.



16605
16606
16607
# File 'lib/eBay.rb', line 16605

def flatShippingPreferences
  @flatShippingPreferences
end

Instance Method Details

#set_any(elements) ⇒ Object



16608
16609
16610
# File 'lib/eBay.rb', line 16608

def set_any(elements)
  @__xmlele_any = elements
end