pub struct PreAuthClosureRequest {
pub amount_cents: i64,
pub original_pre_auth_code: String,
pub cash_register_id: Option<String>,
pub receipt_text: Option<String>,
}Expand description
Pre-auth closure request (c).
Fields§
§amount_cents: i64Amount in cents.
original_pre_auth_code: StringUnique pre-authorization code from the original pre-auth response.
cash_register_id: Option<String>Overrides the configured cash-register id when set.
receipt_text: Option<String>Receipt text.
Trait Implementations§
Source§impl Clone for PreAuthClosureRequest
impl Clone for PreAuthClosureRequest
Source§fn clone(&self) -> PreAuthClosureRequest
fn clone(&self) -> PreAuthClosureRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PreAuthClosureRequest
impl Debug for PreAuthClosureRequest
Source§impl<'de> Deserialize<'de> for PreAuthClosureRequest
impl<'de> Deserialize<'de> for PreAuthClosureRequest
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
impl Eq for PreAuthClosureRequest
Source§impl PartialEq for PreAuthClosureRequest
impl PartialEq for PreAuthClosureRequest
Source§impl Serialize for PreAuthClosureRequest
impl Serialize for PreAuthClosureRequest
impl StructuralPartialEq for PreAuthClosureRequest
Auto Trait Implementations§
impl Freeze for PreAuthClosureRequest
impl RefUnwindSafe for PreAuthClosureRequest
impl Send for PreAuthClosureRequest
impl Sync for PreAuthClosureRequest
impl Unpin for PreAuthClosureRequest
impl UnsafeUnpin for PreAuthClosureRequest
impl UnwindSafe for PreAuthClosureRequest
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