Class PhoneNumberWithCid.Builder
- java.lang.Object
-
- pl.gsmservice.gateway.models.components.PhoneNumberWithCid.Builder
-
- Enclosing class:
- PhoneNumberWithCid
public static final class PhoneNumberWithCid.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhoneNumberWithCidbuild()PhoneNumberWithCid.Buildercid(java.lang.String cid)Custom message ID assigned by the UserPhoneNumberWithCid.Buildercid(java.util.Optional<java.lang.String> cid)Custom message ID assigned by the UserPhoneNumberWithCid.Buildernr(java.lang.String nr)A telephone number in international format (with a plus sign and the country code at the beginning, e.g.
-
-
-
Method Detail
-
nr
public PhoneNumberWithCid.Builder nr(java.lang.String nr)
A telephone number in international format (with a plus sign and the country code at the beginning, e.g. +48 for Poland)
-
cid
public PhoneNumberWithCid.Builder cid(java.lang.String cid)
Custom message ID assigned by the User
-
cid
public PhoneNumberWithCid.Builder cid(java.util.Optional<java.lang.String> cid)
Custom message ID assigned by the User
-
build
public PhoneNumberWithCid build()
-
-