public class CustomerFormatter extends Object
Printer.Ticket, Printer.Ticket.Fiscal, Printer.TicketCopy,
Printer.TicketTotal, Printer.TicketUser, Printer.DeliveryNote, CustomerFinder.Line
Constructor and Description |
---|
CustomerFormatter(Customer customer)
Format elements for ticket printing
|
Modifier and Type | Method and Description |
---|---|
String |
getCity()
Return the customers city as string
|
String |
getCity1()
Return the customers city as string
|
String |
getCode()
Get the code
|
String |
getComment()
Get the comment
|
String |
getContactName()
Return the customers contact name as string
|
String |
getContactName1()
Return the customers contact name as string
|
double |
getCredit()
Return the customers credit as double
|
String |
getDepartment()
Return the customer department as string.
|
String |
getEmail()
Get the email
|
String |
getEmail1()
Get the email
|
String |
getFax()
Get the fax
|
String |
getFax1()
Get the fax
|
String |
getGroupName()
Get the group name
|
String |
getName()
Return the customers name as string
|
String |
getPhone()
Get the phone
|
String |
getPhone1()
Get the phone
|
String |
getPostal()
Return the customers zip code as string
|
String |
getPostal1()
Return the customers zip code as string
|
String |
getProvState()
Get the provState
|
String |
getProvState1()
Get the provState
|
String |
getStreet()
Return the customers street as string
|
String |
getStreet1()
Return the customers street as string
|
String |
getTaxIdentifier()
Get the taxidentifier
|
String |
getUser_field_1()
Get the user_field_1
|
String |
getUser_field_2()
Get the user_field_2
|
Boolean |
isAlternativeInvoiceAddress()
Return the alternate invoice address flag.
|
String |
printCredit()
Return the customers credit as currency string
|
String |
printDate1(String pattern)
Print the date1 date.
|
String |
printDate1(String pattern,
String language)
Print the date1 date.
|
String |
printDate1(String pattern,
String language,
String country)
Print the date1 date.
|
String |
printDate1(String pattern,
String language,
String country,
String variant)
Print the date1 date.
|
String |
printDate2(String pattern)
Print the date2 date.
|
String |
printDate2(String pattern,
String language)
Print the date2 date.
|
String |
printDate2(String pattern,
String language,
String country)
Print the date2 date.
|
String |
printDate2(String pattern,
String language,
String country,
String variant)
Print the date2 date.
|
String |
printsCredit()
Return the customers credit
|
String |
printTermOfPayment()
Get the termOfPayment
|
public CustomerFormatter(Customer customer)
customer
- public String getName()
public String getDepartment()
public String getPostal()
public String getPostal1()
public String getCity()
public String getCity1()
public String getStreet()
public String getStreet1()
public String getContactName()
public String getContactName1()
public double getCredit()
public String printCredit()
public String printsCredit()
public String getUser_field_1()
public String getUser_field_2()
public String getComment()
public String printDate1(String pattern)
public String printDate1(String pattern, String language)
public String printDate1(String pattern, String language, String country)
public String printDate1(String pattern, String language, String country, String variant)
public String printDate2(String pattern)
public String printDate2(String pattern, String language)
public String printDate2(String pattern, String language, String country)
public String printDate2(String pattern, String language, String country, String variant)
public String getTaxIdentifier()
public String printTermOfPayment()
public String getPhone()
public String getPhone1()
public String getFax()
public String getFax1()
public String getEmail()
public String getEmail1()
public String getProvState()
public String getProvState1()
public String getCode()
public String getGroupName()
public Boolean isAlternativeInvoiceAddress()
Copyright © 2021. All rights reserved.