Struct google_api_proto::google::cloud::paymentgateway::issuerswitch::v1::Complaint
source · pub struct Complaint {
pub name: String,
pub raise_complaint_adjustment: Option<RaiseComplaintAdjustment>,
pub details: Option<CaseDetails>,
pub response: Option<CaseResponse>,
pub resolve_complaint_adjustment: Option<ResolveComplaintAdjustment>,
}
Expand description
A complaint processed by the issuer switch.
Fields§
§name: String
The name of the complaint. This uniquely identifies the complaint. Format of name is projects/{project_id}/complaints/{complaint_id}.
raise_complaint_adjustment: Option<RaiseComplaintAdjustment>
The reason for raising the complaint. This maps adjustment flag
and reason code for the complaint to reqAdjFlag
and reqAdjCode
in
complaint request respectively while raising a complaint.
details: Option<CaseDetails>
Required. Details required for raising / resolving a complaint.
response: Option<CaseResponse>
Output only. Response to the raised / resolved complaint.
resolve_complaint_adjustment: Option<ResolveComplaintAdjustment>
The reason for resolving the complaint. It provides adjustment values while
resolving and for already resolved complaints. This maps adjustment flag
and reason code for the complaint to reqAdjFlag
and reqAdjCode
in
complaint request respectively when a complete resolution is done via
Resolve Complaint API otherwise maps to respAdjFlag
and respAdjCode
in
complaint response respectively when a complaint request from UPI is
directly resolved by issuer switch.
Trait Implementations§
source§impl Message for Complaint
impl Message for Complaint
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Complaint
impl PartialEq for Complaint
impl StructuralPartialEq for Complaint
Auto Trait Implementations§
impl Freeze for Complaint
impl RefUnwindSafe for Complaint
impl Send for Complaint
impl Sync for Complaint
impl Unpin for Complaint
impl UnwindSafe for Complaint
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request