Class MECardQRCode
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.RenderElement
-
- com.cloudofficeprint.RenderElements.Codes.Code
-
- com.cloudofficeprint.RenderElements.Codes.QRCode
-
- com.cloudofficeprint.RenderElements.Codes.MECardQRCode
-
public class MECardQRCode extends QRCode
This class is a subclass of QRCode and is used to generate a MeCard QR-code element
-
-
Constructor Summary
Constructors Constructor Description MECardQRCode(java.lang.String name, java.lang.String firstName, java.lang.String lastName, java.lang.String nickname, java.lang.String email, java.lang.String contactPrimary, java.lang.String contactSecondary, java.lang.String contactTertiary, java.lang.String website, java.lang.String birthday, java.lang.String notes)
This object represents a VCF or vCard QR Code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBirthday()
java.lang.String
getContactPrimary()
java.lang.String
getContactSecondary()
java.lang.String
getContactTertiary()
java.lang.String
getEmail()
com.google.gson.JsonObject
getJSON()
java.lang.String
getLastName()
java.lang.String
getNickname()
java.lang.String
getNotes()
java.lang.String
getWebsite()
void
setBirthday(java.lang.String birthday)
void
setContactPrimary(java.lang.String contactPrimary)
void
setContactSecondary(java.lang.String contactSecondary)
void
setContactTertiary(java.lang.String contactTertiary)
void
setEmail(java.lang.String email)
void
setLastName(java.lang.String lastName)
void
setNickname(java.lang.String nickname)
void
setNotes(java.lang.String notes)
void
setWebsite(java.lang.String website)
-
Methods inherited from class com.cloudofficeprint.RenderElements.Codes.QRCode
getAutoColor, getAutoColorDark, getAutoColorLight, getBackGroundImage, getBackgroundImageAlpha, getColorDark, getColorLight, getDotScale, getHeightLogo, getLogo, getLogoBackGroundColor, getPiBLColor, getPiColor, getPiTLColor, getPiTRColor, getPoBLColor, getPoColor, getPoTLColor, getPoTRColor, getQuietZone, getQuietZoneColor, getTimingColor, getTimingHColor, getTimingVColor, getWidthLogo, setAutoColor, setAutoColorDark, setAutoColorLight, setBackGroundImage, setBackgroundImageAlpha, setBackGroundImageFromLocalFile, setColorDark, setColorLight, setDotScale, setHeightLogo, setLogo, setLogoBackGroundColor, setLogoFromLocalFile, setPiBLColor, setPiColor, setPiTLColor, setPiTRColor, setPoBLColor, setPoColor, setPoTLColor, setPoTRColor, setQuietZone, setQuietZoneColor, setTimingColor, setTimingHColor, setTimingVColor, setWidthLogo
-
Methods inherited from class com.cloudofficeprint.RenderElements.Codes.Code
getTemplateTags, getType, setType
-
Methods inherited from class com.cloudofficeprint.RenderElements.RenderElement
getName, getValue, setName, setValue
-
-
-
-
Constructor Detail
-
MECardQRCode
public MECardQRCode(java.lang.String name, java.lang.String firstName, java.lang.String lastName, java.lang.String nickname, java.lang.String email, java.lang.String contactPrimary, java.lang.String contactSecondary, java.lang.String contactTertiary, java.lang.String website, java.lang.String birthday, java.lang.String notes)
This object represents a VCF or vCard QR Code. Use null if you don't want to specify an option. Styling options can be set with the setter functions of the upper class.- Parameters:
name
- Name of this code for the tag.firstName
- First name.lastName
- Last name.nickname
- Nickname.email
- Email.contactPrimary
- First phone number.contactSecondary
- Second phone number.contactTertiary
- Third phone number.website
- Website.birthday
- Birthday.notes
- Notes.
-
-
Method Detail
-
getLastName
public java.lang.String getLastName()
- Returns:
- Last name.
-
setLastName
public void setLastName(java.lang.String lastName)
- Parameters:
lastName
- Last name.
-
getNickname
public java.lang.String getNickname()
- Returns:
- Nickname.
-
setNickname
public void setNickname(java.lang.String nickname)
- Parameters:
nickname
- Nickname.
-
getEmail
public java.lang.String getEmail()
- Returns:
- Email.
-
setEmail
public void setEmail(java.lang.String email)
- Parameters:
email
- Email.
-
getContactPrimary
public java.lang.String getContactPrimary()
- Returns:
- Phone number.
-
setContactPrimary
public void setContactPrimary(java.lang.String contactPrimary)
- Parameters:
contactPrimary
- Phone number.
-
getContactSecondary
public java.lang.String getContactSecondary()
- Returns:
- Second phone number.
-
setContactSecondary
public void setContactSecondary(java.lang.String contactSecondary)
- Parameters:
contactSecondary
- Second phone number.
-
getContactTertiary
public java.lang.String getContactTertiary()
- Returns:
- Third phone number.
-
setContactTertiary
public void setContactTertiary(java.lang.String contactTertiary)
- Parameters:
contactTertiary
- Third phone number.
-
getWebsite
public java.lang.String getWebsite()
- Returns:
- Website.
-
setWebsite
public void setWebsite(java.lang.String website)
- Parameters:
website
- Website.
-
getBirthday
public java.lang.String getBirthday()
- Returns:
- Birthday.
-
setBirthday
public void setBirthday(java.lang.String birthday)
- Parameters:
birthday
- Birthday.
-
getNotes
public java.lang.String getNotes()
- Returns:
- Notes.
-
setNotes
public void setNotes(java.lang.String notes)
- Parameters:
notes
- Notes.
-
-