const _MwWrapper = require("../_mwbridge/_mw-wrapper.js");
const Unit = require("./unit");
/**
* AustralianPost barcode parameters.
*/
class AustralianPostParameters extends _MwWrapper
{
shortBarHeight;
constructor(mwObject)
{
super(mwObject);
this._initializeWrapperMembers();
}
_initializeWrapperMembers()
{
this.shortBarHeight = new Unit(this.getJavaClass().getAustralianPostShortBarHeightSync());
}
/**
* <p>
* Short bar's height of AustralianPost barcode.
* </p>
*/
getShortBarHeight()
{
return this.shortBarHeight;
}
/**
* <p>
* Short bar's height of AustralianPost barcode.
* </p>
*/
setShortBarHeight(value)
{
this.shortBarHeight = value;
this.getJavaClass().setShortBarHeightSync(value.getNativeObject());
}
/**
* Short bar's height of AustralianPost barcode.
* @deprecated This property is obsolete and will be removed in future releases. Instead, use the getShortBarHeight().
*/
getAustralianPostShortBarHeight()
{
return this.shortBarHeight;
}
/**
* Short bar's height of AustralianPost barcode.
* @deprecated This property is obsolete and will be removed in future releases. Instead, use the setShortBarHeight().
*/
setAustralianPostShortBarHeight(value)
{
this.getJavaClass().setAustralianPostShortBarHeightSync(value.getJavaClass());
this.shortBarHeight = value;
}
/**
* <p>
* Interpreting type for the Customer Information of AustralianPost, default to CustomerInformationInterpretingType.Other"
* </p>
*/
getEncodingTable()
{
return this.getJavaClass().getEncodingTableSync();
}
/**
* <p>
* Interpreting type for the Customer Information of AustralianPost, default to CustomerInformationInterpretingType.Other"
* </p>
*/
setEncodingTable(value)
{
this.getJavaClass().setEncodingTableSync(value);
}
/**
* Interpreting type for the Customer Information of AustralianPost, default to CustomerInformationInterpretingType.Other"
* @deprecated This property is obsolete and will be removed in future releases. Instead, use the getEncodingTable().
*/
getAustralianPostEncodingTable()
{
return this.getJavaClass().getAustralianPostEncodingTableSync();
}
/**
* Interpreting type for the Customer Information of AustralianPost, default to CustomerInformationInterpretingType.Other"
* @deprecated This property is obsolete and will be removed in future releases. Instead, use the setEncodingTable().
*/
setAustralianPostEncodingTable(value)
{
this.getJavaClass().setAustralianPostEncodingTableSync(value);
}
/**
* Returns a human-readable string representation of this AustralianPostParameters.<br>
* @return {string} Value that represents this AustralianPostParameters.
*/
toString()
{
return this.getJavaClass().toStringSync();
}
}
module.exports = AustralianPostParameters;