Class: FedexWebServices::Soap::Ship::RateDiscount
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::RateDiscount
- Defined in:
- lib/fedex_web_services/soap/ShipServiceDefinitions.rb
Overview
http://fedex.com/ws/ship/v12RateDiscount
rateDiscountType - FedexWebServices::Soap::Ship::RateDiscountType
description - SOAP::SOAPString
amount - FedexWebServices::Soap::Ship::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.
2515 2516 2517 2518 2519 2520 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2515 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.
2512 2513 2514 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2512 def amount @amount end |
#description ⇒ Object
Returns the value of attribute description.
2511 2512 2513 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2511 def description @description end |
#percent ⇒ Object
Returns the value of attribute percent.
2513 2514 2515 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2513 def percent @percent end |
#rateDiscountType ⇒ Object
Returns the value of attribute rateDiscountType.
2510 2511 2512 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2510 def rateDiscountType @rateDiscountType end |