Class: Eddy::Segments::TXI
- Inherits:
-
Models::Segment
- Object
- Models::Segment
- Eddy::Segments::TXI
- Defined in:
- lib/definitions/segments/generated/txi.rb
Overview
Segment Summary:
- Id: TXI
- Name: Tax Information
- Purpose: To specify tax information.
Instance Attribute Summary
Attributes inherited from Models::Segment
#elements, #id, #name, #skip, #store
Instance Method Summary collapse
- #initialize(store) ⇒ void constructor
-
#TXI01=(arg) ⇒ void
(also: #TaxTypeCode=)
TXI01.
-
#TXI02=(arg) ⇒ void
(also: #MonetaryAmount=)
TXI02.
-
#TXI03=(arg) ⇒ void
(also: #Percent=)
TXI03.
-
#TXI09=(arg) ⇒ void
(also: #TaxIdentificationNumber=)
TXI09.
Methods inherited from Models::Segment
Constructor Details
#initialize(store) ⇒ void
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# 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 |
Instance Method Details
#TXI01=(arg) ⇒ void Also known as: TaxTypeCode=
This method returns an undefined value.
TXI01
- Id: 963
- Name: Tax Type Code
- Type: ID
- Min/Max: 2/2
- Description: Code specifying the type of tax
38 39 40 |
# File 'lib/definitions/segments/generated/txi.rb', line 38 def TXI01=(arg) @txi01.value = arg end |
#TXI02=(arg) ⇒ void Also known as: MonetaryAmount=
This method returns an undefined value.
TXI02
- Id: 782
- Name: Monetary Amount
- Type: R
- Min/Max: 1/18
- Description: Monetary amount
53 54 55 |
# File 'lib/definitions/segments/generated/txi.rb', line 53 def TXI02=(arg) @txi02.value = arg end |
#TXI03=(arg) ⇒ void Also known as: Percent=
This method returns an undefined value.
TXI03
- Id: 954
- Name: Percent
- Type: R
- Min/Max: 1/10
- Description: Percentage expressed as a decimal
68 69 70 |
# File 'lib/definitions/segments/generated/txi.rb', line 68 def TXI03=(arg) @txi03.value = arg end |
#TXI09=(arg) ⇒ void Also known as: TaxIdentificationNumber=
This method returns an undefined value.
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
83 84 85 |
# File 'lib/definitions/segments/generated/txi.rb', line 83 def TXI09=(arg) @txi09.value = arg end |