Struct google_api_proto::google::cloud::paymentgateway::issuerswitch::accountmanager::v1::account_manager_transactions_client::AccountManagerTransactionsClient
source · pub struct AccountManagerTransactionsClient<T> { /* private fields */ }
Expand description
Lists and exports transactions processed by the account manager.
Implementations§
source§impl<T> AccountManagerTransactionsClient<T>where
T: GrpcService<BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> AccountManagerTransactionsClient<T>where
T: GrpcService<BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn new(inner: T) -> Self
pub fn with_origin(inner: T, origin: Uri) -> Self
pub fn with_interceptor<F>(
inner: T,
interceptor: F
) -> AccountManagerTransactionsClient<InterceptedService<T, F>>where
F: Interceptor,
T::ResponseBody: Default,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
sourcepub fn send_compressed(self, encoding: CompressionEncoding) -> Self
pub fn send_compressed(self, encoding: CompressionEncoding) -> Self
Compress requests with the given encoding.
This requires the server to support it otherwise it might respond with an error.
sourcepub fn accept_compressed(self, encoding: CompressionEncoding) -> Self
pub fn accept_compressed(self, encoding: CompressionEncoding) -> Self
Enable decompressing responses.
sourcepub fn max_decoding_message_size(self, limit: usize) -> Self
pub fn max_decoding_message_size(self, limit: usize) -> Self
Limits the maximum size of a decoded message.
Default: 4MB
sourcepub fn max_encoding_message_size(self, limit: usize) -> Self
pub fn max_encoding_message_size(self, limit: usize) -> Self
Limits the maximum size of an encoded message.
Default: usize::MAX
sourcepub async fn export_account_manager_transactions(
&mut self,
request: impl IntoRequest<ExportAccountManagerTransactionsRequest>
) -> Result<Response<Operation>, Status>
pub async fn export_account_manager_transactions( &mut self, request: impl IntoRequest<ExportAccountManagerTransactionsRequest> ) -> Result<Response<Operation>, Status>
Export transactions received within the specified time range as a
file into a configured target location. The returned Operation
type has
the following method-specific fields:
metadata
: [ExportAccountManagerTransactionsMetadata][google.cloud.paymentgateway.issuerswitch.accountmanager.v1.ExportAccountManagerTransactionsMetadata]response
: [ExportAccountManagerTransactionsResponse][google.cloud.paymentgateway.issuerswitch.accountmanager.v1.ExportAccountManagerTransactionsResponse]
The exported file will be in the standard CSV format where each row in the file represents a transaction. The file has the following fields in order:
TransactionID
- Min Length - 35 characters
- Max Length - 35 characters
- Description - Account manager transaction ID.
TransactionType
- Min Length - 22 characters
- Max Length - 25 characters
- Description - Type of the transaction. This will be one of
TRANSACTION_TYPE_CREDIT
,TRANSACTION_TYPE_CREDIT_REVERSAL
,TRANSACTION_TYPE_DEBIT
orTRANSACTION_TYPE_DEBIT_REVERSAL
. When account manager is used for managing UPI Lite transactions, the CREDIT transactions would be for Lite account top-ups and DEBIT transactions could be either for a Lite account disablement where balance is transferred back the underlying bank account or for a Lite account financial transaction which happened offline.
AccountID
- Min Length - 35 characters
- Max Length - 35 characters
- Description - Account ID. When account manager is used for managing UPI Lite transactions, this column will contain the Lite Reference Number (LRN) of the UPI Lite account.
State
- Min Length - 6 characters
- Max Length - 12 characters
- Description - State of the transaction. This will be one of
SUCCEEDED
orFAILED
.
RRN
- Min Length - 12 characters
- Max Length - 12 characters
- Description - Retrieval reference number associated with the transaction.
PayerVPA
- Min Length - 3 characters
- Max Length - 255 characters
- Description - Virtual Payment Address (VPA) of the payer.
PayerIFSC
- Min Length - 11 characters
- Max Length - 11 characters
- Description - IFSC of the payer’s bank account.
PayerAccountNumber
- Min Length - 1 characters
- Max Length - 30 characters
- Description - Payer’s bank account number.
PayeeVPA
- Min Length - 3 characters
- Max Length - 255 characters
- Description - Virtual Payment Address (VPA) of the payee.
PayeeIFSC
- Min Length - 11 characters
- Max Length - 11 characters
- Description - IFSC of the payee’s bank account.
PayeeAccountNumber
- Min Length - 1 characters
- Max Length - 30 characters
- Description - Payee’s bank account number.
PayeeMCC
- Min Length - 4 characters
- Max Length - 4 characters
- Description - Payee’s Merchant Category Code (MCC), only if the payee is a merchant.
PayeeMerchantID
- Min Length - 4 characters
- Max Length - 4 characters
- Description - Payee’s merchant ID, only if the payee is a merchant.
Currency
- Min Length - 3 characters
- Max Length - 3 characters
- Description - Currency of the amount involved in the transaction. The currency codes are defined in ISO 4217.
Amount
- Description - Amount involved in the transaction.
Purpose
- Min Length - 1 characters
- Max Length - 4 characters
- Description - Purpose code associated with the transaction. When
account manager is used for managing UPI Lite transactions, this column
will contain one of the values from
41
(Lite account creation with initial topup),42
(Lite account topup),43
(Lite account disablement with balance transfer) or44
(Lite account online transaction).
TransactionTime
- Min Length - 20 characters
- Max Length - 20 characters
- Description - Timestamp (in UTC) indicating the timestamp at which the transaction took place. The format will be as per RFC-3339. Example : 2022-11-22T23:00:05Z
sourcepub async fn list_account_manager_transactions(
&mut self,
request: impl IntoRequest<ListAccountManagerTransactionsRequest>
) -> Result<Response<ListAccountManagerTransactionsResponse>, Status>
pub async fn list_account_manager_transactions( &mut self, request: impl IntoRequest<ListAccountManagerTransactionsRequest> ) -> Result<Response<ListAccountManagerTransactionsResponse>, Status>
List account manager transactions that satisfy specified filter criteria.
sourcepub async fn batch_reconcile_account_manager_transactions(
&mut self,
request: impl IntoRequest<BatchReconcileAccountManagerTransactionsRequest>
) -> Result<Response<BatchReconcileAccountManagerTransactionsResponse>, Status>
pub async fn batch_reconcile_account_manager_transactions( &mut self, request: impl IntoRequest<BatchReconcileAccountManagerTransactionsRequest> ) -> Result<Response<BatchReconcileAccountManagerTransactionsResponse>, Status>
Batch reconcile account manager transactions and return status for each transaction.
Trait Implementations§
source§impl<T: Clone> Clone for AccountManagerTransactionsClient<T>
impl<T: Clone> Clone for AccountManagerTransactionsClient<T>
source§fn clone(&self) -> AccountManagerTransactionsClient<T>
fn clone(&self) -> AccountManagerTransactionsClient<T>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl<T> !Freeze for AccountManagerTransactionsClient<T>
impl<T> RefUnwindSafe for AccountManagerTransactionsClient<T>where
T: RefUnwindSafe,
impl<T> Send for AccountManagerTransactionsClient<T>where
T: Send,
impl<T> Sync for AccountManagerTransactionsClient<T>where
T: Sync,
impl<T> Unpin for AccountManagerTransactionsClient<T>where
T: Unpin,
impl<T> UnwindSafe for AccountManagerTransactionsClient<T>where
T: UnwindSafe,
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