class Eddy::Segments::TXI

### Segment Summary:

Public Class Methods

new(store) click to toggle source

@param store [Eddy::Data::Store] @return [void]

Calls superclass method Eddy::Models::Segment::new
# File lib/definitions/segments/generated/txi.rb, line 12
def initialize(store)
  @id = "TXI"
  @name = "Tax Information"
  @txi01 = Eddy::Elements::E963.new(ref: "TXI01", req: "M")
  @txi02 = Eddy::Elements::E782.new(ref: "TXI02", req: "X")
  @txi03 = Eddy::Elements::E954.new(ref: "TXI03", req: "X")
  @txi09 = Eddy::Elements::E325.new(ref: "TXI09", req: "O")
  super(
    store,
    @txi01,
    @txi02,
    @txi03,
    @txi09,
  )
end

Public Instance Methods

MonetaryAmount=(arg)
Alias for: TXI02=
Percent=(arg)
Alias for: TXI03=
TXI01=(arg) click to toggle source

### TXI01

  • Id: 963

  • Name: Tax Type Code

  • Type: ID

  • Min/Max: 2/2

  • Description: Code specifying the type of tax

@param arg [String] @return [void]

# File lib/definitions/segments/generated/txi.rb, line 38
def TXI01=(arg)
  @txi01.value = arg
end
Also aliased as: TaxTypeCode=
TXI02=(arg) click to toggle source

### TXI02

  • Id: 782

  • Name: Monetary Amount

  • Type: R

  • Min/Max: 1/18

  • Description: Monetary amount

@param arg [Float] @return [void]

# File lib/definitions/segments/generated/txi.rb, line 53
def TXI02=(arg)
  @txi02.value = arg
end
Also aliased as: MonetaryAmount=
TXI03=(arg) click to toggle source

### TXI03

  • Id: 954

  • Name: Percent

  • Type: R

  • Min/Max: 1/10

  • Description: Percentage expressed as a decimal

@param arg [Float] @return [void]

# File lib/definitions/segments/generated/txi.rb, line 68
def TXI03=(arg)
  @txi03.value = arg
end
Also aliased as: Percent=
TXI09=(arg) click to toggle source

### TXI09

  • Id: 325

  • Name: Tax Identification Number

  • Type: AN

  • Min/Max: 1/20

  • Description: Number assigned to a purchaser (buyer, orderer) by a taxing jurisdiction (state, county, etc.); often called a tax exemption number or certificate number

@param arg [String] @return [void]

# File lib/definitions/segments/generated/txi.rb, line 83
def TXI09=(arg)
  @txi09.value = arg
end
Also aliased as: TaxIdentificationNumber=
TaxIdentificationNumber=(arg)
Alias for: TXI09=
TaxTypeCode=(arg)
Alias for: TXI01=