Struct google_api_proto::google::cloud::paymentgateway::issuerswitch::v1::ListComplaintTransactionsRequest
source · pub struct ListComplaintTransactionsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
Request for the ListComplaintTransactions
method. Callers can request for
transactions to be filtered by the given filter criteria and specified
pagination parameters.
Fields§
§parent: String
Required. The parent resource. The format is projects/{project}
.
page_size: i32
The maximum number of transactions to return. The service may return fewer than this value. If unspecified or if the specified value is less than 1, at most 50 transactions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. While paginating, you can specify a new page size parameter for each page of transactions to be listed.
page_token: String
A page token, received from a previous ListComplaintTransactions
call.
Specify this parameter to retrieve the next page of transactions.
When paginating, you must specify only the page_token
parameter. The
filter that was specified in the initial call to the
ListComplaintTransactions
method that returned the page token will be
reused for all further calls where the page token parameter is specified.
filter: String
An expression that filters the list of complaint transactions.
A filter expression consists of a field name, a comparison operator, and
a value for filtering. The value must be a string, a number, or a
boolean. The comparison operator must be one of: <
, >
, or =
.
Filters are not case sensitive.
The following fields in the Complaint
are eligible for
filtering:
transactionID
- The transaction ID of the complaint transaction. Allowed comparison operators:=
.transactionType
- The transaction type of the complaint transaction. Must be one of [TransactionType][google.cloud.paymentgateway.issuerswitch.v1.TransactionType] values. For complaint transactions, only valid transaction types areTRANSACTION_TYPE_CHECK_STATUS
,TRANSACTION_TYPE_COMPLAINT
,TRANSACTION_TYPE_REVERSAL
,TRANSACTION_TYPE_DISPUTE
,TRANSACTION_TYPE_REFUND
orTRANSACTION_TYPE_STATUS_UPDATE
. Allowed comparison operators:=
.originalRRN
- The retrieval reference number of the original transaction for which complaint / dispute was raised / resolved. Allowed comparison operators:=
.createTime
- The time at which the transaction was created (received) by the issuer switch. The value should be in the formatYYYY-MM-DDTHH:MM:SSZ
. Allowed comparison operators:>
,<
.state
- The state of the transaction. Must be one of [TransactionInfo.State][google.cloud.paymentgateway.issuerswitch.v1.TransactionInfo.State] values. Allowed comparison operators:=
.errorCode
- Use this filter to list complaint transactions which have failed a particular error code. Allowed comparison operators:=
. You can combine multiple expressions by enclosing each expression in parentheses. Expressions are combined with AND logic. No other logical operators are supported.
Here are a few examples:
state = SUCCEEDED
- The transaction’s state is SUCCEEDED.- (createTime < “2021-08-15T14:50:00Z”)`
- The transaction was received before 2021-08-15 14:50:00 UTC.
createTime > "2021-08-15T14:50:00Z" AND createTime < "2021-08-16T14:50:00Z"
- The transaction was received between 2021-08-15 14:50:00 UTC and 2021-08-16 14:50:00 UTC.
Trait Implementations§
source§impl Clone for ListComplaintTransactionsRequest
impl Clone for ListComplaintTransactionsRequest
source§fn clone(&self) -> ListComplaintTransactionsRequest
fn clone(&self) -> ListComplaintTransactionsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for ListComplaintTransactionsRequest
impl Message for ListComplaintTransactionsRequest
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 ListComplaintTransactionsRequest
impl PartialEq for ListComplaintTransactionsRequest
source§fn eq(&self, other: &ListComplaintTransactionsRequest) -> bool
fn eq(&self, other: &ListComplaintTransactionsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListComplaintTransactionsRequest
Auto Trait Implementations§
impl Freeze for ListComplaintTransactionsRequest
impl RefUnwindSafe for ListComplaintTransactionsRequest
impl Send for ListComplaintTransactionsRequest
impl Sync for ListComplaintTransactionsRequest
impl Unpin for ListComplaintTransactionsRequest
impl UnwindSafe for ListComplaintTransactionsRequest
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