pub struct CreditNoteRefundParams {
pub amount_refunded: Option<i64>,
pub refund: Option<String>,
}
Fields§
§amount_refunded: Option<i64>
Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount.
refund: Option<String>
ID of an existing refund to link this credit note to. Required when type
is refund
.
Implementations§
Trait Implementations§
Source§impl Clone for CreditNoteRefundParams
impl Clone for CreditNoteRefundParams
Source§fn clone(&self) -> CreditNoteRefundParams
fn clone(&self) -> CreditNoteRefundParams
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 CreditNoteRefundParams
impl Debug for CreditNoteRefundParams
Source§impl Default for CreditNoteRefundParams
impl Default for CreditNoteRefundParams
Auto Trait Implementations§
impl Freeze for CreditNoteRefundParams
impl RefUnwindSafe for CreditNoteRefundParams
impl Send for CreditNoteRefundParams
impl Sync for CreditNoteRefundParams
impl Unpin for CreditNoteRefundParams
impl UnwindSafe for CreditNoteRefundParams
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