Enum google_api_proto::google::cloud::paymentgateway::issuerswitch::v1::TransactionType
source · #[repr(i32)]pub enum TransactionType {
Show 28 variants
Unspecified = 0,
Autoupdate = 1,
BalanceCheck = 2,
BalanceEnquiry = 3,
CheckStatus = 4,
CheckTransaction = 5,
Complaint = 6,
Create = 7,
Credit = 8,
Debit = 9,
Dispute = 10,
HeartBeat = 11,
ListAccounts = 12,
MandateNotification = 13,
Otp = 14,
Pause = 15,
Redeem = 16,
Refund = 17,
RegisterMobile = 18,
Reversal = 19,
Revoke = 20,
StatusUpdate = 21,
Unpause = 22,
Update = 23,
UpdateCredentials = 24,
ValidateCustomer = 25,
ActivationInternational = 26,
ActivationUpiServices = 27,
}
Expand description
The type of a transaction. Every transaction processed by the issuer switch will be one of these transaction types. Transaction types are associated with a particular API type. This associated is documented with each value.
Variants§
Unspecified = 0
Unspecified transaction type.
Autoupdate = 1
Autoupdate transaction type. This is associated with the CHECK_STATUS
API type. Maps to UPI’s AUTOUPDATE
type.
BalanceCheck = 2
Balance check transaction type. This is associated with the
BALANCE_ENQUIRY
API type. Maps to UPI’s BalChk
type.
BalanceEnquiry = 3
Balance enquiry transaction type. This is associated with the
BALANCE_ENQUIRY
API type. Maps to UPI’s BalEnq
type.
CheckStatus = 4
Check status transaction type. This is associated with the COMPLAINT
API
type. Maps to UPI’s CHECKSTATUS
type.
CheckTransaction = 5
Check transaction type. This is associated with the CHECK_STATUS
API
type. Maps to UPI’s ChkTxn
type.
Complaint = 6
Complaint transaction type. This is associated with the COMPLAINT
API
type. Maps to UPI’s COMPLAINT
type.
Create = 7
Create transaction type. This is associated with the MANDATE
API type.
Maps to UPI’s CREATE
type.
Credit = 8
Credit transaction type. This is associated with the SETTLE_PAYMENT
API
type. Maps to UPI’s CREDIT
type.
Debit = 9
Debit transaction type. This is associated with the SETTLE_PAYMENT
API
type. Maps to UPI’s DEBIT
type.
Dispute = 10
Dispute transaction type. This is associated with the COMPLAINT
API
type. Maps to UPI’s DISPUTE
type.
HeartBeat = 11
Heart beat transaction type. This is associated with HEART_BEAT
API type.
Maps to UPI’s Hbt
type.
ListAccounts = 12
List accounts transaction type. This is associated with LIST_ACCOUNTS
API
type. Maps to UPI’s ListAccount
type.
MandateNotification = 13
Mandate notification transaction type. This is associated with the
VALIDATE_CUSTOMER
API type. Maps to UPI’s MandateNotification
type.
Otp = 14
OTP transaction type. This is associated with the INITIATE_REGISTRATION
API type. Maps to UPI’s Otp
type.
Pause = 15
Pause transaction type. This is associated with the MANDATE
API type.
Maps to UPI’s PAUSE
type.
Redeem = 16
Redeem transaction type. This is associated with the VOUCHER_CONFIRMATION
API type. Maps to UPI’s REDEEM
type.
Refund = 17
Refund transaction type. This is associated with the COMPLAINT
API
type. Maps to UPI’s REFUND
type.
RegisterMobile = 18
Register mobile transaction type. This is associated with the
VALIDATE_REGISTRATION
API type. Maps to UPI’s RegMob
type.
Reversal = 19
Reversal transaction type. This is associated with the SETTLE_PAYMENT
and
COMPLAINT
API types. Maps to UPI’s REVERSAL
type.
Revoke = 20
Revoke transaction type. This is associated with the MANDATE
API type.
Maps to UPI’s REVOKE
type.
StatusUpdate = 21
Status update transaction type. This is associated with the COMPLAINT
API
type. Maps to UPI’s STATUSUPDATE
type.
Unpause = 22
Update transaction type. This is associated with the MANDATE
API type.
Maps to UPI’s UNPAUSE
type.
Update = 23
Update transaction type. This is associated with the MANDATE
API type.
Maps to UPI’s UPDATE
type.
UpdateCredentials = 24
Update credentials transaction type. This is associated with
UPDATE_CREDENTIALS
API type. Maps to UPI’s SetCre
type.
ValidateCustomer = 25
Validate customer transaction type. This is associated with
VALIDATE_CUSTOMER
API type. Maps to UPI’s ValCust
type.
ActivationInternational = 26
Activation international transaction type. This is associated with
‘ACTIVATION’ API type. Maps to UPI’s International
type.
ActivationUpiServices = 27
Activation UPI services transaction type. This is associated with
‘ACTIVATION’ API type. Maps to UPI’s UPI Services
type.
Implementations§
source§impl TransactionType
impl TransactionType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for TransactionType
impl Clone for TransactionType
source§fn clone(&self) -> TransactionType
fn clone(&self) -> TransactionType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransactionType
impl Debug for TransactionType
source§impl Default for TransactionType
impl Default for TransactionType
source§fn default() -> TransactionType
fn default() -> TransactionType
source§impl From<TransactionType> for i32
impl From<TransactionType> for i32
source§fn from(value: TransactionType) -> i32
fn from(value: TransactionType) -> i32
source§impl Hash for TransactionType
impl Hash for TransactionType
source§impl Ord for TransactionType
impl Ord for TransactionType
source§fn cmp(&self, other: &TransactionType) -> Ordering
fn cmp(&self, other: &TransactionType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for TransactionType
impl PartialEq for TransactionType
source§fn eq(&self, other: &TransactionType) -> bool
fn eq(&self, other: &TransactionType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TransactionType
impl PartialOrd for TransactionType
source§fn partial_cmp(&self, other: &TransactionType) -> Option<Ordering>
fn partial_cmp(&self, other: &TransactionType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for TransactionType
impl TryFrom<i32> for TransactionType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<TransactionType, DecodeError>
fn try_from(value: i32) -> Result<TransactionType, DecodeError>
impl Copy for TransactionType
impl Eq for TransactionType
impl StructuralPartialEq for TransactionType
Auto Trait Implementations§
impl Freeze for TransactionType
impl RefUnwindSafe for TransactionType
impl Send for TransactionType
impl Sync for TransactionType
impl Unpin for TransactionType
impl UnwindSafe for TransactionType
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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