pub struct ClearPayment {Show 16 fields
pub payer: Pubkey,
pub payment: Pubkey,
pub operator_authority: Pubkey,
pub buyer: Pubkey,
pub merchant: Pubkey,
pub operator: Pubkey,
pub merchant_operator_config: Pubkey,
pub mint: Pubkey,
pub merchant_escrow_ata: Pubkey,
pub merchant_settlement_ata: Pubkey,
pub operator_settlement_ata: Pubkey,
pub token_program: Pubkey,
pub associated_token_program: Pubkey,
pub system_program: Pubkey,
pub event_authority: Pubkey,
pub commerce_program: Pubkey,
}Expand description
Accounts.
Fields§
§payer: Pubkey§payment: PubkeyNew Payment PDA being created
buyer: Pubkey§merchant: PubkeyMerchant PDA
operator: PubkeyOperator PDA
merchant_operator_config: Pubkey§mint: Pubkey§merchant_escrow_ata: PubkeyMerchant Escrow ATA (Merchant PDA is owner)
merchant_settlement_ata: PubkeyMerchant Settlement ATA (Merchant settlement wallet is owner)
operator_settlement_ata: PubkeyOperator Settlement ATA (Operator owner is owner)
token_program: Pubkey§associated_token_program: Pubkey§system_program: PubkeyEvent authority PDA
commerce_program: PubkeyCommerce Program ID
Implementations§
Source§impl ClearPayment
impl ClearPayment
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClearPayment
impl RefUnwindSafe for ClearPayment
impl Send for ClearPayment
impl Sync for ClearPayment
impl Unpin for ClearPayment
impl UnwindSafe for ClearPayment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more