pub struct ComplaintPatchRequest {
pub reason: Option<String>,
pub compensation_amount: Option<Box<Price>>,
pub claim_manager: Option<Box<PersonDetail>>,
pub affected_passengers: Option<Vec<Passenger>>,
pub supporting_documents: Option<Vec<SupportingDocument>>,
pub bank_account: Option<Box<BankAccountReference>>,
}Expand description
ComplaintPatchRequest : Changes to a claim already made. This covers upload of additional supporting documents, changes to the passenger and claim manager data. The patch of the compensation amount requires an agreement between the involved parties and is used in case the legal time line for deciding the claim is passed.
Fields§
§reason: Option<String>Known Values: - ‘BANK_ACCOUNT’ - ‘SETTLED_TIME_LIMIT_EXCEEDED’: A distributor settled the claim as the fare provided did not reply in due time. The compensation amount debited is provided. - ‘PASSENGER_CHANGE’
compensation_amount: Option<Box<Price>>§claim_manager: Option<Box<PersonDetail>>§affected_passengers: Option<Vec<Passenger>>§supporting_documents: Option<Vec<SupportingDocument>>§bank_account: Option<Box<BankAccountReference>>Implementations§
Source§impl ComplaintPatchRequest
impl ComplaintPatchRequest
Sourcepub fn new() -> ComplaintPatchRequest
pub fn new() -> ComplaintPatchRequest
Changes to a claim already made. This covers upload of additional supporting documents, changes to the passenger and claim manager data. The patch of the compensation amount requires an agreement between the involved parties and is used in case the legal time line for deciding the claim is passed.
Trait Implementations§
Source§impl Clone for ComplaintPatchRequest
impl Clone for ComplaintPatchRequest
Source§fn clone(&self) -> ComplaintPatchRequest
fn clone(&self) -> ComplaintPatchRequest
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 ComplaintPatchRequest
impl Debug for ComplaintPatchRequest
Source§impl Default for ComplaintPatchRequest
impl Default for ComplaintPatchRequest
Source§fn default() -> ComplaintPatchRequest
fn default() -> ComplaintPatchRequest
Source§impl<'de> Deserialize<'de> for ComplaintPatchRequest
impl<'de> Deserialize<'de> for ComplaintPatchRequest
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 ComplaintPatchRequest
impl PartialEq for ComplaintPatchRequest
Source§fn eq(&self, other: &ComplaintPatchRequest) -> bool
fn eq(&self, other: &ComplaintPatchRequest) -> bool
self and other values to be equal, and is used by ==.