pub struct MakePayment {Show 15 fields
pub payer: Pubkey,
pub payment: Pubkey,
pub operator_authority: Pubkey,
pub buyer: Pubkey,
pub operator: Pubkey,
pub merchant: Pubkey,
pub merchant_operator_config: Pubkey,
pub mint: Pubkey,
pub buyer_ata: Pubkey,
pub merchant_escrow_ata: Pubkey,
pub merchant_settlement_ata: Pubkey,
pub token_program: Pubkey,
pub system_program: Pubkey,
pub event_authority: Pubkey,
pub commerce_program: Pubkey,
}Expand description
Accounts.
Fields§
§payer: Pubkey§payment: Pubkey§buyer: Pubkey§operator: Pubkey§merchant: PubkeyMerchant PDA
merchant_operator_config: Pubkey§mint: Pubkey§buyer_ata: Pubkey§merchant_escrow_ata: Pubkey§merchant_settlement_ata: Pubkey§token_program: Pubkey§system_program: PubkeyEvent authority PDA
commerce_program: PubkeyCommerce Program ID
Implementations§
Source§impl MakePayment
impl MakePayment
pub fn instruction(&self, args: MakePaymentInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: MakePaymentInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MakePayment
impl RefUnwindSafe for MakePayment
impl Send for MakePayment
impl Sync for MakePayment
impl Unpin for MakePayment
impl UnwindSafe for MakePayment
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