it.auties.whatsapp.model.button.template.hydrated.HydratedCallButtonBuilder Maven / Gradle / Ivy
package it.auties.whatsapp.model.button.template.hydrated;
public class HydratedCallButtonBuilder {
private java.lang.String text;
private java.lang.String phoneNumber;
public HydratedCallButtonBuilder() {
text = null;
phoneNumber = null;
}
public HydratedCallButtonBuilder text(java.lang.String text) {
this.text = text;
return this;
}
public HydratedCallButtonBuilder phoneNumber(java.lang.String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
public it.auties.whatsapp.model.button.template.hydrated.HydratedCallButton build() {
return new it.auties.whatsapp.model.button.template.hydrated.HydratedCallButton(text, phoneNumber);
}
}