Class: PaymentACK

bip70.PaymentACK

new PaymentACK(optionsnullable)

Represents a BIP70 payment ack.

Parameters:
Name Type Attributes Description
options Object <nullable>
Properties:
Name Type Description
payment Payment
memo String | null
Source:

Methods

(static) fromOptions(options) → {PaymentACK}

Instantiate payment ack from options.

Parameters:
Name Type Description
options Object
Source:
Returns:
Type
PaymentACK

(static) fromRaw(data) → {PaymentACK}

Instantiate payment ack from serialized data.

Parameters:
Name Type Description
data Buffer
Source:
Returns:
Type
PaymentACK

(private) fromOptions(options) → {PaymentACK}

Inject properties from options.

Parameters:
Name Type Description
options Object
Source:
Returns:
Type
PaymentACK

(private) fromRaw(data) → {PaymentACK}

Inject properties from serialized data.

Parameters:
Name Type Description
data Buffer
Source:
Returns:
Type
PaymentACK

toRaw() → {Buffer}

Serialize the payment ack (protobuf).

Source:
Returns:
Type
Buffer