pub struct OrderNotesUpdateBuilder<I> { /* private fields */ }Implementations§
source§impl<I> OrderNotesUpdateBuilder<I>
impl<I> OrderNotesUpdateBuilder<I>
pub fn new() -> OrderNotesUpdateBuilder<NoId>
sourcepub fn id(self, id: i32) -> OrderNotesUpdateBuilder<WithId>
pub fn id(self, id: i32) -> OrderNotesUpdateBuilder<WithId>
Unique identifier for the resource.
sourcepub fn customer_note(self) -> Self
pub fn customer_note(self) -> Self
If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only. Default is false.
sourcepub fn added_by_user(self) -> Self
pub fn added_by_user(self) -> Self
If true, this note will be attributed to the current user. If false, the note will be attributed to the system. Default is false.
source§impl OrderNotesUpdateBuilder<WithId>
impl OrderNotesUpdateBuilder<WithId>
pub fn build(self) -> OrderNotesUpdate
Trait Implementations§
source§impl<I: Default> Default for OrderNotesUpdateBuilder<I>
impl<I: Default> Default for OrderNotesUpdateBuilder<I>
source§fn default() -> OrderNotesUpdateBuilder<I>
fn default() -> OrderNotesUpdateBuilder<I>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<I> Freeze for OrderNotesUpdateBuilder<I>where
I: Freeze,
impl<I> RefUnwindSafe for OrderNotesUpdateBuilder<I>where
I: RefUnwindSafe,
impl<I> Send for OrderNotesUpdateBuilder<I>where
I: Send,
impl<I> Sync for OrderNotesUpdateBuilder<I>where
I: Sync,
impl<I> Unpin for OrderNotesUpdateBuilder<I>where
I: Unpin,
impl<I> UnwindSafe for OrderNotesUpdateBuilder<I>where
I: UnwindSafe,
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