Class: CalculatedShippingDiscountType

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

Overview

urn:ebay:apis:eBLBaseComponentsCalculatedShippingDiscountType

discountName - DiscountNameCodeType
discountProfile - DiscountProfileType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CalculatedShippingDiscountType.



17429
17430
17431
17432
17433
# File 'lib/eBay.rb', line 17429

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.



17423
17424
17425
# File 'lib/eBay.rb', line 17423

def __xmlele_any
  @__xmlele_any
end

#discountNameObject

Returns the value of attribute discountName.



17421
17422
17423
# File 'lib/eBay.rb', line 17421

def discountName
  @discountName
end

#discountProfileObject

Returns the value of attribute discountProfile.



17422
17423
17424
# File 'lib/eBay.rb', line 17422

def discountProfile
  @discountProfile
end

Instance Method Details

#set_any(elements) ⇒ Object



17425
17426
17427
# File 'lib/eBay.rb', line 17425

def set_any(elements)
  @__xmlele_any = elements
end