Class: EBay::SellerDiscountType

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

Overview

urn:ebay:apis:eBLBaseComponentsSellerDiscountType

campaignID - SOAP::SOAPLong
campaignDisplayName - SOAP::SOAPString
itemDiscountAmount - EBay::AmountType
shippingDiscountAmount - EBay::AmountType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(campaignID = nil, campaignDisplayName = nil, itemDiscountAmount = nil, shippingDiscountAmount = nil) ⇒ SellerDiscountType

Returns a new instance of SellerDiscountType.



31009
31010
31011
31012
31013
31014
31015
# File 'lib/eBay.rb', line 31009

def initialize(campaignID = nil, campaignDisplayName = nil, itemDiscountAmount = nil, shippingDiscountAmount = nil)
  @campaignID = campaignID
  @campaignDisplayName = campaignDisplayName
  @itemDiscountAmount = itemDiscountAmount
  @shippingDiscountAmount = shippingDiscountAmount
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



31003
31004
31005
# File 'lib/eBay.rb', line 31003

def __xmlele_any
  @__xmlele_any
end

#campaignDisplayNameObject

Returns the value of attribute campaignDisplayName.



31000
31001
31002
# File 'lib/eBay.rb', line 31000

def campaignDisplayName
  @campaignDisplayName
end

#campaignIDObject

Returns the value of attribute campaignID.



30999
31000
31001
# File 'lib/eBay.rb', line 30999

def campaignID
  @campaignID
end

#itemDiscountAmountObject

Returns the value of attribute itemDiscountAmount.



31001
31002
31003
# File 'lib/eBay.rb', line 31001

def itemDiscountAmount
  @itemDiscountAmount
end

#shippingDiscountAmountObject

Returns the value of attribute shippingDiscountAmount.



31002
31003
31004
# File 'lib/eBay.rb', line 31002

def shippingDiscountAmount
  @shippingDiscountAmount
end

Instance Method Details

#set_any(elements) ⇒ Object



31005
31006
31007
# File 'lib/eBay.rb', line 31005

def set_any(elements)
  @__xmlele_any = elements
end