pub struct BookingPatchRequest {
pub external_ref: Option<Option<String>>,
pub place_selections: Option<Vec<PlaceSelection>>,
pub requested_fulfillment_type: Option<String>,
pub preferred_fulfillment_media: Option<String>,
pub used_payment_methods: Option<Vec<PaymentMethod>>,
}Expand description
BookingPatchRequest : Allows setting the required fulfillment type, e.g. value paper or e-ticket and preferred fulfillment media. The latter is optional and relevant in some cases only.
Fields§
§external_ref: Option<Option<String>>The unique booking reference in the distributor/retailer system. Usually refers to an order number or PNR.
place_selections: Option<Vec<PlaceSelection>>§requested_fulfillment_type: Option<String>Values from the Fulfillment Type Code List Listed values here are examples.
preferred_fulfillment_media: Option<String>Fulfillment types. RCT2, RCCST and UIC_PDF are official UIC standards. Notice:ALLOCATOR_APP is deprecated and should not be used anymore. The ALLOCATOR_APP type is replaced by the RETAILER_APP type. DISTRIBUTOR_APP was introduced to distinguish between the different types of apps that can be used to fulfill a booking. Values from the Fulfillment Media Type Code List Listed values here are examples.
used_payment_methods: Option<Vec<PaymentMethod>>Implementations§
Source§impl BookingPatchRequest
impl BookingPatchRequest
Sourcepub fn new() -> BookingPatchRequest
pub fn new() -> BookingPatchRequest
Allows setting the required fulfillment type, e.g. value paper or e-ticket and preferred fulfillment media. The latter is optional and relevant in some cases only.
Trait Implementations§
Source§impl Clone for BookingPatchRequest
impl Clone for BookingPatchRequest
Source§fn clone(&self) -> BookingPatchRequest
fn clone(&self) -> BookingPatchRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BookingPatchRequest
impl Debug for BookingPatchRequest
Source§impl Default for BookingPatchRequest
impl Default for BookingPatchRequest
Source§fn default() -> BookingPatchRequest
fn default() -> BookingPatchRequest
Source§impl<'de> Deserialize<'de> for BookingPatchRequest
impl<'de> Deserialize<'de> for BookingPatchRequest
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>,
Source§impl PartialEq for BookingPatchRequest
impl PartialEq for BookingPatchRequest
Source§fn eq(&self, other: &BookingPatchRequest) -> bool
fn eq(&self, other: &BookingPatchRequest) -> bool
self and other values to be equal, and is used by ==.