Class OrderSubMerchant
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.setups.entities.order.OrderSubMerchant
-
public class OrderSubMerchant extends java.lang.ObjectSub-merchant information for order
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrderSubMerchant.OrderSubMerchantBuilder
-
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 newOrderSubMerchantinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrderSubMerchant.OrderSubMerchantBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetId()The unique identifier of the sub-merchantjava.lang.IntegergetNumberOfTrades()The number of trades or transactions the sub-merchant has conductedjava.lang.StringgetProductCategory()The category of products or services offered by the sub-merchantjava.time.InstantgetRegistrationDate()The date when the sub-merchant was registered in YYYY-MM-DD formatinthashCode()voidsetId(java.lang.String id)The unique identifier of the sub-merchantvoidsetNumberOfTrades(java.lang.Integer numberOfTrades)The number of trades or transactions the sub-merchant has conductedvoidsetProductCategory(java.lang.String productCategory)The category of products or services offered by the sub-merchantvoidsetRegistrationDate(java.time.Instant registrationDate)The date when the sub-merchant was registered in YYYY-MM-DD formatjava.lang.StringtoString()
-
-
-
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 newOrderSubMerchantinstance.- Parameters:
id- The unique identifier of the sub-merchantproductCategory- The category of products or services offered by the sub-merchantnumberOfTrades- The number of trades or transactions the sub-merchant has conductedregistrationDate- The date when the sub-merchant was registered in YYYY-MM-DD format
-
-
Method Detail
-
builder
public static OrderSubMerchant.OrderSubMerchantBuilder builder()
-
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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-