Class: FedexWebServices::Soap::Ship::Rebate

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

Instance Method Summary collapse

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

#amountObject

Returns the value of attribute amount.



2531
2532
2533
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2531

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



2530
2531
2532
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2530

def description
  @description
end

#percentObject

Returns the value of attribute percent.



2532
2533
2534
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2532

def percent
  @percent
end

#rebateTypeObject

Returns the value of attribute rebateType.



2529
2530
2531
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2529

def rebateType
  @rebateType
end