pub fn with_stored_versioned_payment_contract_by_name(
        mut self,
        key_name: &str,
        version: Option<ContractVersion>,
        entry_point: &str,
        args: RuntimeArgs,
    ) -> Self {
        self.deploy_item.payment_code = Some(ExecutableDeployItem::StoredVersionedContractByName {
            name: key_name.to_owned(),
            version,
            entry_point: entry_point.to_owned(),
            args,
        });
        self
    }
/// Sets the payment code of the deploy with a versioned contract stored under a named key.
Sets the payment code of the deploy with a versioned contract stored under a named key.
Sets the payment code of the deploy with a versioned contract stored under a named key .
pub fn with_stored_versioned_payment_contract_by_name(
        mut self,
        key_name: &str,
        version: Option<ContractVersion>,
        entry_point: &str,
        args: RuntimeArgs,
    ) -> Self {
        self.deploy_item.payment_code = Some(ExecutableDeployItem::StoredVersionedContractByName {
            name: key_name.to_owned(),
            version,
            entry_point: entry_point.to_owned(),
            args,
        });
        self
    }
pub fn with_stored_versioned_payment_contract_by_name ( mut self , key_name : & str , version : Option < ContractVersion > , entry_point : & str , args : RuntimeArgs , ) -> Self { self . deploy_item . payment_code = Some ( ExecutableDeployItem :: StoredVersionedContractByName { name : key_name . to_owned ( ) , version , entry_point : entry_point . to_owned ( ) , args , } ) ; self }
Sets the payment code of the deploy with a versioned contract stored under a named key.
Sets the payment code of the deploy with a versioned contract stored under a named key .
mut self
key_name
&str
version
Option<ContractVersion>
entry_point
&str
args
RuntimeArgs
mut self
key_name
&str
version
Option<ContractVersion>
entry_point
&str
args
RuntimeArgs