Class PartnerRegistration

java.lang.Object
com.dzidzi.dto.merge.EntityId
com.dzidzi.dto.partner.PartnerRegistration

public class PartnerRegistration extends EntityId
Represents partner registrations of the Api.
  • Constructor Details

  • Method Details

    • builder

      public static PartnerRegistration.Builder builder()
    • getFullname

      public String getFullname()
      The fullname of the user requesting to join. It can be the courier or the user requesting on behalf of the restaurant.
    • getEmail

      public String getEmail()
      The email of the user. It can be the personal email of the courier, the restaurants email or user requesting on behalf of the restaurant.
    • getContact

      public String getContact()
      The phone number of the user. It can be the couriers personal phone number, the restaurants phone number or the user requesting on behalf of the restaurant
    • getPartnerName

      public String getPartnerName()
      The name of the restaurant. This field is only required by restaurants.
    • getPartnerType

      public PartnerType getPartnerType()
      The type of partner. Either a courier or a restaurant.
    • getRequestedOn

      public long getRequestedOn()
      The date the request was created in millis
    • getPreferredContactMode

      public PreferredContactMode getPreferredContactMode()
      The preferred mode of contact
    • getRegistrationState

      public PartnerRegistrationState getRegistrationState()
      The state of the request
    • getResolvedOn

      public long getResolvedOn()
      The date the request was completed
    • getReviewStatement

      public String getReviewStatement()
      The reviewers' closing statement
    • getSignOffStatement

      public String getSignOffStatement()
      The admins' closing statement
    • getReviewedBy

      public EntityComposition getReviewedBy()
      The admin/customer service who reviewed the request
    • getSignedBy

      public EntityComposition getSignedBy()
      The admin who approved the request
    • getAddress

      public AddressEntityApi getAddress()
      The Address of the restaurant or the courier
    • setReviewedBy

      public void setReviewedBy(EntityComposition reviewedBy)
      The admin/customer service who reviewed the request
    • setSignedBy

      public void setSignedBy(EntityComposition signedBy)
      The admin who approved the request