Class: Eddy::Segments::BIG

Inherits:
Models::Segment show all
Defined in:
lib/definitions/segments/generated/big.rb

Overview

Segment Summary:

  • Id: BIG
  • Name: Beginning Segment for Invoice
  • Purpose: To indicate the beginning of an invoice transaction set and transmit identifying numbers and dates.

Instance Attribute Summary

Attributes inherited from Models::Segment

#elements, #id, #name, #skip, #store

Instance Method Summary collapse

Methods inherited from Models::Segment

#render

Constructor Details

#initialize(store) ⇒ void

Parameters:



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/definitions/segments/generated/big.rb', line 12

def initialize(store)
  @id = "BIG"
  @name = "Beginning Segment for Invoice"
  @big01 = Eddy::Elements::E373.new(ref: "BIG01", req: "M")
  @big02 = Eddy::Elements::E76.new(ref: "BIG02", req: "M")
  @big03 = Eddy::Elements::E373.new(ref: "BIG03", req: "O")
  @big04 = Eddy::Elements::E324.new(ref: "BIG04", req: "O")
  @big05 = Eddy::Elements::E328.new(ref: "BIG05", req: "O")
  super(
    store,
    @big01,
    @big02,
    @big03,
    @big04,
    @big05,
  )
end

Instance Method Details

#BIG01=(arg) ⇒ void Also known as: Date1=

This method returns an undefined value.

BIG01

  • Id: 373
  • Name: Date
  • Type: DT
  • Min/Max: 8/8
  • Description: Date expressed as CCYYMMDD

Parameters:

  • arg (Time)


40
41
42
# File 'lib/definitions/segments/generated/big.rb', line 40

def BIG01=(arg)
  @big01.value = arg
end

#BIG02=(arg) ⇒ void Also known as: InvoiceNumber=

This method returns an undefined value.

BIG02

  • Id: 76
  • Name: Invoice Number
  • Type: AN
  • Min/Max: 1/22
  • Description: Identifying number assigned by issuer

Parameters:

  • arg (String)


55
56
57
# File 'lib/definitions/segments/generated/big.rb', line 55

def BIG02=(arg)
  @big02.value = arg
end

#BIG03=(arg) ⇒ void Also known as: Date2=

This method returns an undefined value.

BIG03

  • Id: 373
  • Name: Date
  • Type: DT
  • Min/Max: 8/8
  • Description: Date expressed as CCYYMMDD

Parameters:

  • arg (Time)


70
71
72
# File 'lib/definitions/segments/generated/big.rb', line 70

def BIG03=(arg)
  @big03.value = arg
end

#BIG04=(arg) ⇒ void Also known as: PurchaseOrderNumber=

This method returns an undefined value.

BIG04

  • Id: 324
  • Name: Purchase Order Number
  • Type: AN
  • Min/Max: 1/22
  • Description: Identifying number for Purchase Order assigned by the orderer/purchaser

Parameters:

  • arg (String)


85
86
87
# File 'lib/definitions/segments/generated/big.rb', line 85

def BIG04=(arg)
  @big04.value = arg
end

#BIG05=(arg) ⇒ void Also known as: ReleaseNumber=

This method returns an undefined value.

BIG05

  • Id: 328
  • Name: Release Number
  • Type: AN
  • Min/Max: 1/30
  • Description: Number identifying a release against a Purchase Order previously placed by the parties involved in the transaction

Parameters:

  • arg (String)


100
101
102
# File 'lib/definitions/segments/generated/big.rb', line 100

def BIG05=(arg)
  @big05.value = arg
end