Enum google_api_proto::google::cloud::paymentgateway::issuerswitch::v1::ApiType
source · #[repr(i32)]pub enum ApiType {
Show 16 variants
Unspecified = 0,
Balance = 1,
CheckStatus = 2,
Complaint = 3,
HeartBeat = 4,
InitiateRegistration = 5,
ListAccounts = 6,
Mandate = 7,
MandateConfirmation = 8,
SettlePayment = 9,
UpdateCredentials = 10,
ValidateRegistration = 11,
ValidateCustomer = 12,
Voucher = 13,
VoucherConfirmation = 14,
Activation = 15,
}
Expand description
The API type for a transaction. Every transaction processed by the issuer switch will be one of these API types.
Variants§
Unspecified = 0
Unspecified API type.
Balance = 1
Balance API. Maps to UPI’s BalEnq
API. This is a metadata
transaction API.
CheckStatus = 2
Check transaction status API. Maps to UPI’s ChkTxn
API. This is a
metadata transaction API.
Complaint = 3
Complaint API. Maps to UPI’s Complaint
API. This is a dispute and issue
resolution API.
HeartBeat = 4
Heart beat API. Maps to UPI’s Hbt
API. This is a metadata transaction
API.
InitiateRegistration = 5
Initiate registration API. Maps to UPI’s Otp
API. This is a metadata
transaction API.
ListAccounts = 6
List accounts API. Maps to UPI’s ListAccount
API. This is a metadata
transaction API.
Mandate = 7
Mandate API. Maps to UPI’s Mandate
API. This is a metadata transaction
API.
MandateConfirmation = 8
Mandate confirmation API. Maps to UPI’s MandateConfirmation
API. This is
a metadata transaction API.
SettlePayment = 9
Payment settlement API. Maps to UPI’s Pay
API. This is a financial
transaction API.
UpdateCredentials = 10
Update credentials API. Maps to UPI’s SetCre
API. This is a metadata
transaction API.
ValidateRegistration = 11
Validate registration API. Maps to UPI’s RegMob
API. This is a metadata
transaction API.
ValidateCustomer = 12
Validate customer API. Maps to UPI’s ValCust
API. This is a validation
API.
Voucher = 13
Voucher API. Maps to UPI’s Voucher
API.
VoucherConfirmation = 14
Voucher confirmation API. Maps to UPI’s VoucherConfirmation
API.
Activation = 15
Activation API. Maps to UPI’s Activation
API.
Implementations§
source§impl ApiType
impl ApiType
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 Ord for ApiType
impl Ord for ApiType
source§impl PartialEq for ApiType
impl PartialEq for ApiType
source§impl PartialOrd for ApiType
impl PartialOrd for ApiType
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 ApiType
impl TryFrom<i32> for ApiType
§type Error = DecodeError
type Error = DecodeError
impl Copy for ApiType
impl Eq for ApiType
impl StructuralPartialEq for ApiType
Auto Trait Implementations§
impl Freeze for ApiType
impl RefUnwindSafe for ApiType
impl Send for ApiType
impl Sync for ApiType
impl Unpin for ApiType
impl UnwindSafe for ApiType
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