Class: FedexWebServices::Soap::Ship::Party

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/ShipServiceDefinitions.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accountNumber = nil, tins = [], contact = nil, address = nil) ⇒ Party

Returns a new instance of Party.



2242
2243
2244
2245
2246
2247
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2242

def initialize(accountNumber = nil, tins = [], contact = nil, address = nil)
  @accountNumber = accountNumber
  @tins = tins
  @contact = contact
  @address = address
end

Instance Attribute Details

#accountNumberObject

Returns the value of attribute accountNumber.



2237
2238
2239
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2237

def accountNumber
  @accountNumber
end

#addressObject

Returns the value of attribute address.



2240
2241
2242
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2240

def address
  @address
end

#contactObject

Returns the value of attribute contact.



2239
2240
2241
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2239

def contact
  @contact
end

#tinsObject

Returns the value of attribute tins.



2238
2239
2240
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2238

def tins
  @tins
end