pub struct UpdateCreditNoteInput {
pub refund_status: Option<CreditNoteRefundStatus>,
}Expand description
Input parameters for updating a credit note.
Fields§
§refund_status: Option<CreditNoteRefundStatus>The refund status to update
Implementations§
Source§impl UpdateCreditNoteInput
impl UpdateCreditNoteInput
Sourcepub fn with_refund_status(self, status: CreditNoteRefundStatus) -> Self
pub fn with_refund_status(self, status: CreditNoteRefundStatus) -> Self
Sets the refund status.
Trait Implementations§
Source§impl Clone for UpdateCreditNoteInput
impl Clone for UpdateCreditNoteInput
Source§fn clone(&self) -> UpdateCreditNoteInput
fn clone(&self) -> UpdateCreditNoteInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateCreditNoteInput
impl Debug for UpdateCreditNoteInput
Source§impl Default for UpdateCreditNoteInput
impl Default for UpdateCreditNoteInput
Source§impl<'de> Deserialize<'de> for UpdateCreditNoteInput
impl<'de> Deserialize<'de> for UpdateCreditNoteInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UpdateCreditNoteInput
impl RefUnwindSafe for UpdateCreditNoteInput
impl Send for UpdateCreditNoteInput
impl Sync for UpdateCreditNoteInput
impl Unpin for UpdateCreditNoteInput
impl UnwindSafe for UpdateCreditNoteInput
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