Class Courier


public class Courier extends EntityComposition
Represents a courier of the Api.
  • Constructor Details

  • Method Details

    • builder

      public static Courier.Builder builder()
    • getAddress

      public AddressEntityApi getAddress()
      The Address of the courier
    • getStatus

      public CourierStatus getStatus()
      The courier status, that is setting online(true) or offline(false)
    • getAverageRating

      public float getAverageRating()
      The average ratings of the courier
    • getCredential

      public CredentialEntityApi getCredential()
      The Credential of the courier
    • getAvatar

      public Image getAvatar()
      An image/avatar of the courier
    • setStatus

      public void setStatus(CourierStatus status)
      The courier status, that is setting online(true) or offline(false)
    • setAvatar

      public void setAvatar(Image avatar)
      An image/avatar of the courier