Class CardOrder


  • public class CardOrder
    extends Object
    CardOrder
    • Constructor Detail

      • CardOrder

        public CardOrder()
    • Method Detail

      • beginDate

        public CardOrder beginDate​(OffsetDateTime beginDate)
        The date when the card order is created.
        Parameters:
        beginDate -
        Returns:
        the current CardOrder instance, allowing for method chaining
      • getBeginDate

        public OffsetDateTime getBeginDate()
        The date when the card order is created.
        Returns:
        beginDate
      • setBeginDate

        public void setBeginDate​(OffsetDateTime beginDate)
        The date when the card order is created.
        Parameters:
        beginDate -
      • cardManufacturingProfileId

        public CardOrder cardManufacturingProfileId​(String cardManufacturingProfileId)
        The unique identifier of the card manufacturer profile.
        Parameters:
        cardManufacturingProfileId -
        Returns:
        the current CardOrder instance, allowing for method chaining
      • getCardManufacturingProfileId

        public String getCardManufacturingProfileId()
        The unique identifier of the card manufacturer profile.
        Returns:
        cardManufacturingProfileId
      • setCardManufacturingProfileId

        public void setCardManufacturingProfileId​(String cardManufacturingProfileId)
        The unique identifier of the card manufacturer profile.
        Parameters:
        cardManufacturingProfileId -
      • closedDate

        public CardOrder closedDate​(OffsetDateTime closedDate)
        The date when the card order processing ends.
        Parameters:
        closedDate -
        Returns:
        the current CardOrder instance, allowing for method chaining
      • getClosedDate

        public OffsetDateTime getClosedDate()
        The date when the card order processing ends.
        Returns:
        closedDate
      • setClosedDate

        public void setClosedDate​(OffsetDateTime closedDate)
        The date when the card order processing ends.
        Parameters:
        closedDate -
      • endDate

        public CardOrder endDate​(OffsetDateTime endDate)
        The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`.
        Parameters:
        endDate -
        Returns:
        the current CardOrder instance, allowing for method chaining
      • getEndDate

        public OffsetDateTime getEndDate()
        The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`.
        Returns:
        endDate
      • setEndDate

        public void setEndDate​(OffsetDateTime endDate)
        The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`.
        Parameters:
        endDate -
      • id

        public CardOrder id​(String id)
        The unique identifier of the card order.
        Parameters:
        id -
        Returns:
        the current CardOrder instance, allowing for method chaining
      • getId

        public String getId()
        The unique identifier of the card order.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the card order.
        Parameters:
        id -
      • lockDate

        public CardOrder lockDate​(OffsetDateTime lockDate)
        The date when the card order processing begins.
        Parameters:
        lockDate -
        Returns:
        the current CardOrder instance, allowing for method chaining
      • getLockDate

        public OffsetDateTime getLockDate()
        The date when the card order processing begins.
        Returns:
        lockDate
      • setLockDate

        public void setLockDate​(OffsetDateTime lockDate)
        The date when the card order processing begins.
        Parameters:
        lockDate -
      • serviceCenter

        public CardOrder serviceCenter​(String serviceCenter)
        The service center.
        Parameters:
        serviceCenter -
        Returns:
        the current CardOrder instance, allowing for method chaining
      • getServiceCenter

        public String getServiceCenter()
        The service center.
        Returns:
        serviceCenter
      • setServiceCenter

        public void setServiceCenter​(String serviceCenter)
        The service center.
        Parameters:
        serviceCenter -
      • status

        public CardOrder status​(CardOrder.StatusEnum status)
        The status of the card order. Possible values: **Open**, **Closed**.
        Parameters:
        status -
        Returns:
        the current CardOrder instance, allowing for method chaining
      • getStatus

        public CardOrder.StatusEnum getStatus()
        The status of the card order. Possible values: **Open**, **Closed**.
        Returns:
        status
      • setStatus

        public void setStatus​(CardOrder.StatusEnum status)
        The status of the card order. Possible values: **Open**, **Closed**.
        Parameters:
        status -
      • equals

        public boolean equals​(Object o)
        Return true if this CardOrder object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static CardOrder fromJson​(String jsonString)
                                  throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CardOrder given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CardOrder
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CardOrder
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CardOrder to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException