Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::CreateClearinghouse.
Creates a new clearinghouse. The sender must be a currency operator.
If the transaction is successful, the ID of the newly created account is returned as an event in the TransactionCertificate of the finalized transaction.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#account_comment
def account_comment() -> ::String- (::String) — Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable.
#account_comment=
def account_comment=(value) -> ::String- value (::String) — Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable.
- (::String) — Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable.
#key_format
def key_format() -> ::Google::Cloud::UniversalLedger::V1::KeyFormat- (::Google::Cloud::UniversalLedger::V1::KeyFormat) — Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in Tink wire format. Considered public information.
#key_format=
def key_format=(value) -> ::Google::Cloud::UniversalLedger::V1::KeyFormat- value (::Google::Cloud::UniversalLedger::V1::KeyFormat) — Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in Tink wire format. Considered public information.
- (::Google::Cloud::UniversalLedger::V1::KeyFormat) — Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in Tink wire format. Considered public information.
#public_key
def public_key() -> ::String-
(::String) — Required. The public key of the new clearinghouse. Note that this is not
the public key of the operator. This public key will be associated with the
clearinghouse and stored on the ledger. It will be used to validate
signature of the transactions emanating from the clearinghouse's account.
The format of the public key is defined by the
key_formatfield. Considered public information.
#public_key=
def public_key=(value) -> ::String-
value (::String) — Required. The public key of the new clearinghouse. Note that this is not
the public key of the operator. This public key will be associated with the
clearinghouse and stored on the ledger. It will be used to validate
signature of the transactions emanating from the clearinghouse's account.
The format of the public key is defined by the
key_formatfield. Considered public information.
-
(::String) — Required. The public key of the new clearinghouse. Note that this is not
the public key of the operator. This public key will be associated with the
clearinghouse and stored on the ledger. It will be used to validate
signature of the transactions emanating from the clearinghouse's account.
The format of the public key is defined by the
key_formatfield. Considered public information.
#settlement_mode
def settlement_mode() -> ::Google::Cloud::UniversalLedger::V1::SettlementMode- (::Google::Cloud::UniversalLedger::V1::SettlementMode) — Required. The settlement mode for this clearinghouse. Required. Considered public information.
#settlement_mode=
def settlement_mode=(value) -> ::Google::Cloud::UniversalLedger::V1::SettlementMode- value (::Google::Cloud::UniversalLedger::V1::SettlementMode) — Required. The settlement mode for this clearinghouse. Required. Considered public information.
- (::Google::Cloud::UniversalLedger::V1::SettlementMode) — Required. The settlement mode for this clearinghouse. Required. Considered public information.