Class: EBay::DiscountProfileType

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

Overview

urn:ebay:apis:eBLBaseComponentsDiscountProfileType

discountProfileID - SOAP::SOAPString
discountProfileName - SOAP::SOAPString
eachAdditionalAmount - EBay::AmountType
eachAdditionalAmountOff - EBay::AmountType
eachAdditionalPercentOff - SOAP::SOAPFloat
weightOff - EBay::MeasureType
mappedDiscountProfileID - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(discountProfileID = nil, discountProfileName = nil, eachAdditionalAmount = nil, eachAdditionalAmountOff = nil, eachAdditionalPercentOff = nil, weightOff = nil, mappedDiscountProfileID = nil) ⇒ DiscountProfileType

Returns a new instance of DiscountProfileType.



23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
# File 'lib/eBay.rb', line 23497

def initialize(discountProfileID = nil, discountProfileName = nil, eachAdditionalAmount = nil, eachAdditionalAmountOff = nil, eachAdditionalPercentOff = nil, weightOff = nil, mappedDiscountProfileID = nil)
  @discountProfileID = discountProfileID
  @discountProfileName = discountProfileName
  @eachAdditionalAmount = eachAdditionalAmount
  @eachAdditionalAmountOff = eachAdditionalAmountOff
  @eachAdditionalPercentOff = eachAdditionalPercentOff
  @weightOff = weightOff
  @mappedDiscountProfileID = mappedDiscountProfileID
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



23491
23492
23493
# File 'lib/eBay.rb', line 23491

def __xmlele_any
  @__xmlele_any
end

#discountProfileIDObject

Returns the value of attribute discountProfileID.



23484
23485
23486
# File 'lib/eBay.rb', line 23484

def discountProfileID
  @discountProfileID
end

#discountProfileNameObject

Returns the value of attribute discountProfileName.



23485
23486
23487
# File 'lib/eBay.rb', line 23485

def discountProfileName
  @discountProfileName
end

#eachAdditionalAmountObject

Returns the value of attribute eachAdditionalAmount.



23486
23487
23488
# File 'lib/eBay.rb', line 23486

def eachAdditionalAmount
  @eachAdditionalAmount
end

#eachAdditionalAmountOffObject

Returns the value of attribute eachAdditionalAmountOff.



23487
23488
23489
# File 'lib/eBay.rb', line 23487

def eachAdditionalAmountOff
  @eachAdditionalAmountOff
end

#eachAdditionalPercentOffObject

Returns the value of attribute eachAdditionalPercentOff.



23488
23489
23490
# File 'lib/eBay.rb', line 23488

def eachAdditionalPercentOff
  @eachAdditionalPercentOff
end

#mappedDiscountProfileIDObject

Returns the value of attribute mappedDiscountProfileID.



23490
23491
23492
# File 'lib/eBay.rb', line 23490

def mappedDiscountProfileID
  @mappedDiscountProfileID
end

#weightOffObject

Returns the value of attribute weightOff.



23489
23490
23491
# File 'lib/eBay.rb', line 23489

def weightOff
  @weightOff
end

Instance Method Details

#set_any(elements) ⇒ Object



23493
23494
23495
# File 'lib/eBay.rb', line 23493

def set_any(elements)
  @__xmlele_any = elements
end