Module it.auties.whatsappweb4j
Class PaymentOrderMessage.PaymentOrderMessageBuilder
java.lang.Object
it.auties.whatsapp.model.message.payment.PaymentOrderMessage.PaymentOrderMessageBuilder
- Enclosing class:
- PaymentOrderMessage
-
Method Summary
Modifier and TypeMethodDescriptionamount
(long amount) The amount of money being paid for this orderbuild()
The currency countryCode forPaymentOrderMessage.amount
.The jid of this orderitemCount
(int itemCount) The total number of items that was orderedThe message of this ordersellerId
(ContactJid sellerId) The jid of the seller associated with this orderThe status of this ordersurface
(PaymentOrderMessage.OrderSurface surface) The surface of this orderthumbnail
(byte[] thumbnail) The thumbnail of this orderThe title of this orderThe token of this ordertoString()
-
Method Details
-
id
The jid of this order- Returns:
this
.
-
thumbnail
The thumbnail of this order- Returns:
this
.
-
itemCount
The total number of items that was ordered- Returns:
this
.
-
status
public PaymentOrderMessage.PaymentOrderMessageBuilder status(PaymentOrderMessage.OrderMessageOrderStatus status) The status of this order- Returns:
this
.
-
surface
public PaymentOrderMessage.PaymentOrderMessageBuilder surface(PaymentOrderMessage.OrderSurface surface) The surface of this order- Returns:
this
.
-
message
The message of this order- Returns:
this
.
-
title
The title of this order- Returns:
this
.
-
sellerId
The jid of the seller associated with this order- Returns:
this
.
-
token
The token of this order- Returns:
this
.
-
amount
The amount of money being paid for this order- Returns:
this
.
-
currency
The currency countryCode forPaymentOrderMessage.amount
. Follows the ISO-4217 Standard. For a list of valid currency codes click here- Returns:
this
.
-
build
-
toString
-