Class: PromotionalShippingDiscountDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsPromotionalShippingDiscountDetailsType

discountName - DiscountNameCodeType
shippingCost - AmountType
orderAmount - AmountType
itemCount - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(discountName = nil, shippingCost = nil, orderAmount = nil, itemCount = nil) ⇒ PromotionalShippingDiscountDetailsType

Returns a new instance of PromotionalShippingDiscountDetailsType.



22860
22861
22862
22863
22864
22865
22866
# File 'lib/eBay.rb', line 22860

def initialize(discountName = nil, shippingCost = nil, orderAmount = nil, itemCount = nil)
  @discountName = discountName
  @shippingCost = shippingCost
  @orderAmount = orderAmount
  @itemCount = itemCount
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



22854
22855
22856
# File 'lib/eBay.rb', line 22854

def __xmlele_any
  @__xmlele_any
end

#discountNameObject

Returns the value of attribute discountName.



22850
22851
22852
# File 'lib/eBay.rb', line 22850

def discountName
  @discountName
end

#itemCountObject

Returns the value of attribute itemCount.



22853
22854
22855
# File 'lib/eBay.rb', line 22853

def itemCount
  @itemCount
end

#orderAmountObject

Returns the value of attribute orderAmount.



22852
22853
22854
# File 'lib/eBay.rb', line 22852

def orderAmount
  @orderAmount
end

#shippingCostObject

Returns the value of attribute shippingCost.



22851
22852
22853
# File 'lib/eBay.rb', line 22851

def shippingCost
  @shippingCost
end

Instance Method Details

#set_any(elements) ⇒ Object



22856
22857
22858
# File 'lib/eBay.rb', line 22856

def set_any(elements)
  @__xmlele_any = elements
end