Module it.auties.whatsapp4j
Class SendPaymentMessage
java.lang.Object
it.auties.whatsapp.model.message.payment.SendPaymentMessage
- All Implemented Interfaces:
it.auties.protobuf.base.ProtobufMessage
,Message
,PaymentMessage
A model class that represents a message to confirm a
RequestPaymentMessage
.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PaymentBackground
private MessageContainer
The caption message, that is the message below the payment confirmationprivate MessageKey
The key of the originalRequestPaymentMessage
that this message confirms -
Constructor Summary
ConstructorsConstructorDescriptionSendPaymentMessage
(MessageContainer noteMessage, MessageKey requestMessageKey, PaymentBackground background) -
Method Summary
Modifier and TypeMethodDescriptionbackground
(PaymentBackground background) builder()
boolean
int
hashCode()
The caption message, that is the message below the payment confirmationnoteMessage
(MessageContainer noteMessage) The caption message, that is the message below the payment confirmationThe key of the originalRequestPaymentMessage
that this message confirmsrequestMessageKey
(MessageKey requestMessageKey) The key of the originalRequestPaymentMessage
that this message confirmstoString()
type()
Return message typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface it.auties.whatsapp.model.message.model.PaymentMessage
category
-
Field Details
-
noteMessage
The caption message, that is the message below the payment confirmation -
requestMessageKey
The key of the originalRequestPaymentMessage
that this message confirms -
background
-
-
Constructor Details
-
SendPaymentMessage
public SendPaymentMessage(MessageContainer noteMessage, MessageKey requestMessageKey, PaymentBackground background) -
SendPaymentMessage
public SendPaymentMessage()
-
-
Method Details
-
type
Description copied from interface:Message
Return message type -
builder
-
noteMessage
The caption message, that is the message below the payment confirmation -
requestMessageKey
The key of the originalRequestPaymentMessage
that this message confirms -
background
-
noteMessage
The caption message, that is the message below the payment confirmation- Returns:
this
.
-
requestMessageKey
The key of the originalRequestPaymentMessage
that this message confirms- Returns:
this
.
-
background
- Returns:
this
.
-
equals
-
hashCode
public int hashCode() -
toString
-