Class: EBay::CalculatedHandlingDiscountType

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

Overview

urn:ebay:apis:eBLBaseComponentsCalculatedHandlingDiscountType

discountName - EBay::HandlingNameCodeType
orderHandlingAmount - EBay::AmountType
eachAdditionalAmount - EBay::AmountType
eachAdditionalOffAmount - EBay::AmountType
eachAdditionalPercentOff - SOAP::SOAPFloat

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(discountName = nil, orderHandlingAmount = nil, eachAdditionalAmount = nil, eachAdditionalOffAmount = nil, eachAdditionalPercentOff = nil) ⇒ CalculatedHandlingDiscountType

Returns a new instance of CalculatedHandlingDiscountType.



21636
21637
21638
21639
21640
21641
21642
21643
# File 'lib/eBay.rb', line 21636

def initialize(discountName = nil, orderHandlingAmount = nil, eachAdditionalAmount = nil, eachAdditionalOffAmount = nil, eachAdditionalPercentOff = nil)
  @discountName = discountName
  @orderHandlingAmount = orderHandlingAmount
  @eachAdditionalAmount = eachAdditionalAmount
  @eachAdditionalOffAmount = eachAdditionalOffAmount
  @eachAdditionalPercentOff = eachAdditionalPercentOff
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



21630
21631
21632
# File 'lib/eBay.rb', line 21630

def __xmlele_any
  @__xmlele_any
end

#discountNameObject

Returns the value of attribute discountName.



21625
21626
21627
# File 'lib/eBay.rb', line 21625

def discountName
  @discountName
end

#eachAdditionalAmountObject

Returns the value of attribute eachAdditionalAmount.



21627
21628
21629
# File 'lib/eBay.rb', line 21627

def eachAdditionalAmount
  @eachAdditionalAmount
end

#eachAdditionalOffAmountObject

Returns the value of attribute eachAdditionalOffAmount.



21628
21629
21630
# File 'lib/eBay.rb', line 21628

def eachAdditionalOffAmount
  @eachAdditionalOffAmount
end

#eachAdditionalPercentOffObject

Returns the value of attribute eachAdditionalPercentOff.



21629
21630
21631
# File 'lib/eBay.rb', line 21629

def eachAdditionalPercentOff
  @eachAdditionalPercentOff
end

#orderHandlingAmountObject

Returns the value of attribute orderHandlingAmount.



21626
21627
21628
# File 'lib/eBay.rb', line 21626

def orderHandlingAmount
  @orderHandlingAmount
end

Instance Method Details

#set_any(elements) ⇒ Object



21632
21633
21634
# File 'lib/eBay.rb', line 21632

def set_any(elements)
  @__xmlele_any = elements
end