| Constructor and Description |
|---|
Context()
|
Context(ConformanceLevel conformanceLevel)
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBusinessProcess()
|
Profile |
getGuideline()
|
boolean |
isTest()
|
Context |
setBusinessProcess(String businessProcess)
|
Context |
setGuideline(Profile guideline)
|
Context |
setNotTest()
|
Context |
setTest()
|
public Context()
Instantiates a new context.
public Context(ConformanceLevel conformanceLevel)
Instantiates a new context with a latest version profile.
conformanceLevel - the profile@Extended public String getBusinessProcess()
Gets the business process.
EXTENDED
production Materials, other Materials, freight Invoices
@Basic public Profile getGuideline()
Gets the guideline or profile of the invoice
BASIC
urn:ferd:CrossIndustryDocument:invoice:1p0:extended
@Basic public boolean isTest()
The test indicator.
Flags the invoice such that it should not be processed in the target system.
The sales tax liability does not arise. This flag is used in particular in the introductory period of new business relationships.
BASIC
false
public Context setBusinessProcess(String businessProcess)
Sets the business process.
EXTENDED
production Materials, other Materials, freight Invoices
businessProcess - the new business processpublic Context setGuideline(Profile guideline)
Sets the guideline or profile of the invoice
BASIC
urn:ferd:CrossIndustryDocument:invoice:1p0:extended
guideline - the new profilepublic Context setNotTest()
The test indicator.
Flags the invoice such that it should not be processed in the target system.
The sales tax liability does not arise. This flag is used in particular in the introductory period of new business relationships.
BASIC
false
Copyright © 2014 Konik.io. All Rights Reserved.