Class: EBay::SellerDiscountsType

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

Overview

urn:ebay:apis:eBLBaseComponentsSellerDiscountsType

originalItemPrice - EBay::AmountType
originalItemShippingCost - EBay::AmountType
originalShippingService - SOAP::SOAPToken
sellerDiscount - EBay::SellerDiscountType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(originalItemPrice = nil, originalItemShippingCost = nil, originalShippingService = nil, sellerDiscount = []) ⇒ SellerDiscountsType

Returns a new instance of SellerDiscountsType.



30984
30985
30986
30987
30988
30989
30990
# File 'lib/eBay.rb', line 30984

def initialize(originalItemPrice = nil, originalItemShippingCost = nil, originalShippingService = nil, sellerDiscount = [])
  @originalItemPrice = originalItemPrice
  @originalItemShippingCost = originalItemShippingCost
  @originalShippingService = originalShippingService
  @sellerDiscount = sellerDiscount
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



30978
30979
30980
# File 'lib/eBay.rb', line 30978

def __xmlele_any
  @__xmlele_any
end

#originalItemPriceObject

Returns the value of attribute originalItemPrice.



30974
30975
30976
# File 'lib/eBay.rb', line 30974

def originalItemPrice
  @originalItemPrice
end

#originalItemShippingCostObject

Returns the value of attribute originalItemShippingCost.



30975
30976
30977
# File 'lib/eBay.rb', line 30975

def originalItemShippingCost
  @originalItemShippingCost
end

#originalShippingServiceObject

Returns the value of attribute originalShippingService.



30976
30977
30978
# File 'lib/eBay.rb', line 30976

def originalShippingService
  @originalShippingService
end

#sellerDiscountObject

Returns the value of attribute sellerDiscount.



30977
30978
30979
# File 'lib/eBay.rb', line 30977

def sellerDiscount
  @sellerDiscount
end

Instance Method Details

#set_any(elements) ⇒ Object



30980
30981
30982
# File 'lib/eBay.rb', line 30980

def set_any(elements)
  @__xmlele_any = elements
end