Class: EBay::FlatShippingDiscountType

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

Overview

urn:ebay:apis:eBLBaseComponentsFlatShippingDiscountType

discountName - EBay::DiscountNameCodeType
discountProfile - EBay::DiscountProfileType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(discountName = nil, discountProfile = []) ⇒ FlatShippingDiscountType

Returns a new instance of FlatShippingDiscountType.



24700
24701
24702
24703
24704
# File 'lib/eBay.rb', line 24700

def initialize(discountName = nil, discountProfile = [])
  @discountName = discountName
  @discountProfile = discountProfile
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



24694
24695
24696
# File 'lib/eBay.rb', line 24694

def __xmlele_any
  @__xmlele_any
end

#discountNameObject

Returns the value of attribute discountName.



24692
24693
24694
# File 'lib/eBay.rb', line 24692

def discountName
  @discountName
end

#discountProfileObject

Returns the value of attribute discountProfile.



24693
24694
24695
# File 'lib/eBay.rb', line 24693

def discountProfile
  @discountProfile
end

Instance Method Details

#set_any(elements) ⇒ Object



24696
24697
24698
# File 'lib/eBay.rb', line 24696

def set_any(elements)
  @__xmlele_any = elements
end