square_api_client/models/complete_payment_request.rs
1//! Model struct for CompletePaymentRequest type.
2
3use serde::Serialize;
4
5/// This is a model struct for CompletePaymentRequest type.
6#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
7pub struct CompletePaymentRequest {
8 /// Used for optimistic concurrency. This opaque token identifies the current [Payment] version
9 /// that the caller expects. If the server has a different version of the Payment, the update
10 /// fails and a response with a VERSION_MISMATCH error is returned.
11 pub version_token: Option<String>,
12}