Class OrderSubMerchant


  • public class OrderSubMerchant
    extends java.lang.Object
    Sub-merchant information for order
    • Constructor Summary

      Constructors 
      Constructor Description
      OrderSubMerchant()  
      OrderSubMerchant​(java.lang.String id, java.lang.String productCategory, java.lang.Integer numberOfTrades, java.time.Instant registrationDate)
      Creates a new OrderSubMerchant instance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static OrderSubMerchant.OrderSubMerchantBuilder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getId()
      The unique identifier of the sub-merchant
      java.lang.Integer getNumberOfTrades()
      The number of trades or transactions the sub-merchant has conducted
      java.lang.String getProductCategory()
      The category of products or services offered by the sub-merchant
      java.time.Instant getRegistrationDate()
      The date when the sub-merchant was registered in YYYY-MM-DD format
      int hashCode()  
      void setId​(java.lang.String id)
      The unique identifier of the sub-merchant
      void setNumberOfTrades​(java.lang.Integer numberOfTrades)
      The number of trades or transactions the sub-merchant has conducted
      void setProductCategory​(java.lang.String productCategory)
      The category of products or services offered by the sub-merchant
      void setRegistrationDate​(java.time.Instant registrationDate)
      The date when the sub-merchant was registered in YYYY-MM-DD format
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OrderSubMerchant

        public OrderSubMerchant()
      • OrderSubMerchant

        public OrderSubMerchant​(java.lang.String id,
                                java.lang.String productCategory,
                                java.lang.Integer numberOfTrades,
                                java.time.Instant registrationDate)
        Creates a new OrderSubMerchant instance.
        Parameters:
        id - The unique identifier of the sub-merchant
        productCategory - The category of products or services offered by the sub-merchant
        numberOfTrades - The number of trades or transactions the sub-merchant has conducted
        registrationDate - The date when the sub-merchant was registered in YYYY-MM-DD format
    • Method Detail

      • getId

        public java.lang.String getId()
        The unique identifier of the sub-merchant
      • getProductCategory

        public java.lang.String getProductCategory()
        The category of products or services offered by the sub-merchant
      • getNumberOfTrades

        public java.lang.Integer getNumberOfTrades()
        The number of trades or transactions the sub-merchant has conducted
      • getRegistrationDate

        public java.time.Instant getRegistrationDate()
        The date when the sub-merchant was registered in YYYY-MM-DD format
      • setId

        public void setId​(java.lang.String id)
        The unique identifier of the sub-merchant
      • setProductCategory

        public void setProductCategory​(java.lang.String productCategory)
        The category of products or services offered by the sub-merchant
      • setNumberOfTrades

        public void setNumberOfTrades​(java.lang.Integer numberOfTrades)
        The number of trades or transactions the sub-merchant has conducted
      • setRegistrationDate

        public void setRegistrationDate​(java.time.Instant registrationDate)
        The date when the sub-merchant was registered in YYYY-MM-DD format
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object