Method: Odfl#setCODAmount

Defined in:
lib/odfl.rb

#setCODAmount(amount) ⇒ Object

Set an amount for COD This will also automatically add the COD accessorial

Attributes

  • amount The COD amount

Usage

quote = Odfl.new
quote.setCODAmount(100.53)


212
213
214
215
# File 'lib/odfl.rb', line 212

def setCODAmount(amount)
  @codAmount = amount
  self.addAccessorial('COD')
end