pub struct Instructions {
pub account_number: Option<String>,
pub qr_string: Option<String>,
pub url: Option<String>,
pub payment_code: Option<String>,
}Expand description
What the customer needs in order to pay. Which fields are set depends on the channel.
Fields§
§account_number: Option<String>The virtual account number, for a VA charge.
qr_string: Option<String>The QR content, for QRIS. Render it; do not show the string.
url: Option<String>Where to send the customer, for an e-wallet or a hosted page.
payment_code: Option<String>The code to read out at a retail counter.
Trait Implementations§
Source§impl Clone for Instructions
impl Clone for Instructions
Source§impl Debug for Instructions
impl Debug for Instructions
Source§impl Default for Instructions
impl Default for Instructions
impl Eq for Instructions
Source§impl PartialEq for Instructions
impl PartialEq for Instructions
impl StructuralPartialEq for Instructions
Auto Trait Implementations§
impl Freeze for Instructions
impl RefUnwindSafe for Instructions
impl Send for Instructions
impl Sync for Instructions
impl Unpin for Instructions
impl UnsafeUnpin for Instructions
impl UnwindSafe for Instructions
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