pub struct RefundPayment {Show 14 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 buyer_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: PubkeyPayment PDA being updated
buyer: PubkeyRefund destination owner
merchant: PubkeyMerchant PDA
operator: PubkeyOperator PDA
merchant_operator_config: PubkeyMerchant Operator Config PDA
mint: Pubkey§merchant_escrow_ata: PubkeyMerchant Escrow ATA (Merchant PDA is owner)
buyer_ata: Pubkey§token_program: Pubkey§system_program: PubkeyEvent authority PDA
commerce_program: PubkeyCommerce Program ID
Implementations§
Source§impl RefundPayment
impl RefundPayment
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RefundPayment
impl RefUnwindSafe for RefundPayment
impl Send for RefundPayment
impl Sync for RefundPayment
impl Unpin for RefundPayment
impl UnwindSafe for RefundPayment
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