Class: FedexWebServices::Soap::Rate::Rebate

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#amountObject

Returns the value of attribute amount.



2204
2205
2206
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2204

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



2203
2204
2205
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2203

def description
  @description
end

#percentObject

Returns the value of attribute percent.



2205
2206
2207
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2205

def percent
  @percent
end

#rebateTypeObject

Returns the value of attribute rebateType.



2202
2203
2204
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2202

def rebateType
  @rebateType
end