Class: FedexWebServices::Soap::Rate::RateDiscount
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::RateDiscount
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13RateDiscount
rateDiscountType - FedexWebServices::Soap::Rate::RateDiscountType
description - SOAP::SOAPString
amount - FedexWebServices::Soap::Rate::Money
percent - SOAP::SOAPDecimal
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#description ⇒ Object
Returns the value of attribute description.
-
#percent ⇒ Object
Returns the value of attribute percent.
-
#rateDiscountType ⇒ Object
Returns the value of attribute rateDiscountType.
Instance Method Summary collapse
-
#initialize(rateDiscountType = nil, description = nil, amount = nil, percent = nil) ⇒ RateDiscount
constructor
A new instance of RateDiscount.
Constructor Details
#initialize(rateDiscountType = nil, description = nil, amount = nil, percent = nil) ⇒ RateDiscount
Returns a new instance of RateDiscount.
2033 2034 2035 2036 2037 2038 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2033 def initialize(rateDiscountType = nil, description = nil, amount = nil, percent = nil) @rateDiscountType = rateDiscountType @description = description @amount = amount @percent = percent end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
2030 2031 2032 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2030 def amount @amount end |
#description ⇒ Object
Returns the value of attribute description.
2029 2030 2031 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2029 def description @description end |
#percent ⇒ Object
Returns the value of attribute percent.
2031 2032 2033 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2031 def percent @percent end |
#rateDiscountType ⇒ Object
Returns the value of attribute rateDiscountType.
2028 2029 2030 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2028 def rateDiscountType @rateDiscountType end |