Class: FedexWebServices::Soap::Ship::Rebate
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::Rebate
- Defined in:
- lib/fedex_web_services/soap/ShipServiceDefinitions.rb
Overview
http://fedex.com/ws/ship/v12Rebate
rebateType - FedexWebServices::Soap::Ship::RebateType
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.
-
#rebateType ⇒ Object
Returns the value of attribute rebateType.
Instance Method Summary collapse
-
#initialize(rebateType = nil, description = nil, amount = nil, percent = nil) ⇒ Rebate
constructor
A new instance of Rebate.
Constructor Details
#initialize(rebateType = nil, description = nil, amount = nil, percent = nil) ⇒ Rebate
Returns a new instance of Rebate.
2534 2535 2536 2537 2538 2539 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2534 def initialize(rebateType = nil, description = nil, amount = nil, percent = nil) @rebateType = rebateType @description = description @amount = amount @percent = percent end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
2531 2532 2533 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2531 def amount @amount end |
#description ⇒ Object
Returns the value of attribute description.
2530 2531 2532 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2530 def description @description end |
#percent ⇒ Object
Returns the value of attribute percent.
2532 2533 2534 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2532 def percent @percent end |
#rebateType ⇒ Object
Returns the value of attribute rebateType.
2529 2530 2531 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2529 def rebateType @rebateType end |