Skip to main content

RecordReceipt

Represents a receipt for a record, including anchor ID, client, record, and status information.

  • Full name: \Bloock\Entity\Integrity\RecordReceipt

Properties​

anchor​

private int $anchor

client​

private string $client

record​

private string $record

status​

private string $status

Methods​

__construct​

Constructs a RecordReceipt object with the specified parameters.

public __construct(int $anchor, string $client, string $record, string $status): mixed

Parameters:

ParameterTypeDescription
$anchorint
$clientstring
$recordstring
$statusstring

fromProto​

public static fromProto(\Bloock\RecordReceipt $receipt): \Bloock\Entity\Integrity\RecordReceipt
  • This method is static.

Parameters:

ParameterTypeDescription
$receipt\Bloock\RecordReceipt

getAnchor​

Gets the anchor of the record receipt.

public getAnchor(): int

getClient​

Gets the client of the record receipt.

public getClient(): string

getRecord​

Gets the record of the record receipt.

public getRecord(): string

getStatus​

Gets the status of the record receipt.

public getStatus(): string

toProto​

public toProto(): \Bloock\RecordReceipt


Automatically generated on 2024-04-17