Class: EBay::PromotionalShippingDiscountDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsPromotionalShippingDiscountDetailsType

discountName - EBay::DiscountNameCodeType
shippingCost - EBay::AmountType
orderAmount - EBay::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.



29768
29769
29770
29771
29772
29773
29774
# File 'lib/eBay.rb', line 29768

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.



29762
29763
29764
# File 'lib/eBay.rb', line 29762

def __xmlele_any
  @__xmlele_any
end

#discountNameObject

Returns the value of attribute discountName.



29758
29759
29760
# File 'lib/eBay.rb', line 29758

def discountName
  @discountName
end

#itemCountObject

Returns the value of attribute itemCount.



29761
29762
29763
# File 'lib/eBay.rb', line 29761

def itemCount
  @itemCount
end

#orderAmountObject

Returns the value of attribute orderAmount.



29760
29761
29762
# File 'lib/eBay.rb', line 29760

def orderAmount
  @orderAmount
end

#shippingCostObject

Returns the value of attribute shippingCost.



29759
29760
29761
# File 'lib/eBay.rb', line 29759

def shippingCost
  @shippingCost
end

Instance Method Details

#set_any(elements) ⇒ Object



29764
29765
29766
# File 'lib/eBay.rb', line 29764

def set_any(elements)
  @__xmlele_any = elements
end