Class: FedexWebServices::Soap::Rate::Rebate
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::Rebate
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13Rebate
rebateType - FedexWebServices::Soap::Rate::RebateType
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.
-
#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.
2207 2208 2209 2210 2211 2212 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2207 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.
2204 2205 2206 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2204 def amount @amount end |
#description ⇒ Object
Returns the value of attribute description.
2203 2204 2205 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2203 def description @description end |
#percent ⇒ Object
Returns the value of attribute percent.
2205 2206 2207 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2205 def percent @percent end |
#rebateType ⇒ Object
Returns the value of attribute rebateType.
2202 2203 2204 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2202 def rebateType @rebateType end |