Package com.chrt.api.types
Class CourierOrgProfile1.Builder
- java.lang.Object
-
- com.chrt.api.types.CourierOrgProfile1.Builder
-
- All Implemented Interfaces:
CourierOrgProfile1._FinalStage,CourierOrgProfile1.DescriptionStage,CourierOrgProfile1.EmailAddressPrimaryStage,CourierOrgProfile1.IdStage,CourierOrgProfile1.OrgIdStage,CourierOrgProfile1.PhoneNumberPrimaryStage,CourierOrgProfile1.SchemaVersionStage
- Enclosing class:
- CourierOrgProfile1
public static final class CourierOrgProfile1.Builder extends java.lang.Object implements CourierOrgProfile1.SchemaVersionStage, CourierOrgProfile1.DescriptionStage, CourierOrgProfile1.EmailAddressPrimaryStage, CourierOrgProfile1.PhoneNumberPrimaryStage, CourierOrgProfile1.OrgIdStage, CourierOrgProfile1.IdStage, CourierOrgProfile1._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CourierOrgProfile1build()CourierOrgProfile1.EmailAddressPrimaryStagedescription(java.lang.String description)CourierOrgProfile1.PhoneNumberPrimaryStageemailAddressPrimary(java.lang.String emailAddressPrimary)CourierOrgProfile1.Builderfrom(CourierOrgProfile1 other)CourierOrgProfile1._FinalStageid(java.lang.String id)CourierOrgProfile1.IdStageorgId(java.lang.String orgId)Must be a string starting withorg_CourierOrgProfile1.OrgIdStagephoneNumberPrimary(java.lang.String phoneNumberPrimary)CourierOrgProfile1.DescriptionStageschemaVersion(int schemaVersion)
-
-
-
Method Detail
-
from
public CourierOrgProfile1.Builder from(CourierOrgProfile1 other)
- Specified by:
fromin interfaceCourierOrgProfile1.SchemaVersionStage
-
schemaVersion
public CourierOrgProfile1.DescriptionStage schemaVersion(int schemaVersion)
- Specified by:
schemaVersionin interfaceCourierOrgProfile1.SchemaVersionStage
-
description
public CourierOrgProfile1.EmailAddressPrimaryStage description(@NotNull java.lang.String description)
- Specified by:
descriptionin interfaceCourierOrgProfile1.DescriptionStage
-
emailAddressPrimary
public CourierOrgProfile1.PhoneNumberPrimaryStage emailAddressPrimary(@NotNull java.lang.String emailAddressPrimary)
- Specified by:
emailAddressPrimaryin interfaceCourierOrgProfile1.EmailAddressPrimaryStage
-
phoneNumberPrimary
public CourierOrgProfile1.OrgIdStage phoneNumberPrimary(@NotNull java.lang.String phoneNumberPrimary)
- Specified by:
phoneNumberPrimaryin interfaceCourierOrgProfile1.PhoneNumberPrimaryStage
-
orgId
public CourierOrgProfile1.IdStage orgId(@NotNull java.lang.String orgId)
Must be a string starting with
org_Must be a string starting with
org_- Specified by:
orgIdin interfaceCourierOrgProfile1.OrgIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
public CourierOrgProfile1._FinalStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceCourierOrgProfile1.IdStage
-
build
public CourierOrgProfile1 build()
- Specified by:
buildin interfaceCourierOrgProfile1._FinalStage
-
-