Enum google_api_proto::google::cloud::paymentgateway::issuerswitch::v1::raise_complaint_adjustment::ReasonCode
source · #[repr(i32)]pub enum ReasonCode {
Unspecified = 0,
CustomerAccountNotReversed = 1,
GoodsServicesNotProvided = 2,
CustomerAccountNotCreditedBack = 3,
BeneficiaryAccountNotCredited = 4,
GoodsServicesCreditNotProcessed = 5,
MerchantNotReceivedConfirmation = 6,
PaidByAlternateMeans = 7,
}
Expand description
The reason for raising complaint.
Variants§
Unspecified = 0
Unspecified reason code.
CustomerAccountNotReversed = 1
Customer account has not yet reversed for a declined pay transaction.
This reason code maps to the U005
reason code as defined in NPCI’s
UDIR
specification.
GoodsServicesNotProvided = 2
Goods / services are not provided for approved transaction.
This reason code maps to the U008
reason code as defined in NPCI’s
UDIR
specification.
CustomerAccountNotCreditedBack = 3
Customer account not credited back for declined transaction. This
reason code maps to the U009
reason code as defined in NPCI’s UDIR
specification.
BeneficiaryAccountNotCredited = 4
Beneficiary account is not credited for successful pay transaction. This
reason code maps to the U010
reason code as defined in NPCI’s UDIR
specification.
GoodsServicesCreditNotProcessed = 5
Credit not processed for cancelled or returned goods and services.
This reason code maps to the U021
reason code as defined in NPCI’s
UDIR
specification.
MerchantNotReceivedConfirmation = 6
Account debited but transaction confirmation not received at merchant
location. This reason code maps to the U022
reason code as defined in
NPCI’s UDIR
specification.
PaidByAlternateMeans = 7
Paid by alternate means / Duplicate payment. This reason code maps to the
U023
reason code as defined in NPCI’s UDIR
specification.
Implementations§
source§impl ReasonCode
impl ReasonCode
source§impl ReasonCode
impl ReasonCode
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 ReasonCode
impl Clone for ReasonCode
source§fn clone(&self) -> ReasonCode
fn clone(&self) -> ReasonCode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReasonCode
impl Debug for ReasonCode
source§impl Default for ReasonCode
impl Default for ReasonCode
source§fn default() -> ReasonCode
fn default() -> ReasonCode
source§impl From<ReasonCode> for i32
impl From<ReasonCode> for i32
source§fn from(value: ReasonCode) -> i32
fn from(value: ReasonCode) -> i32
source§impl Hash for ReasonCode
impl Hash for ReasonCode
source§impl Ord for ReasonCode
impl Ord for ReasonCode
source§fn cmp(&self, other: &ReasonCode) -> Ordering
fn cmp(&self, other: &ReasonCode) -> 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 ReasonCode
impl PartialEq for ReasonCode
source§fn eq(&self, other: &ReasonCode) -> bool
fn eq(&self, other: &ReasonCode) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ReasonCode
impl PartialOrd for ReasonCode
source§fn partial_cmp(&self, other: &ReasonCode) -> Option<Ordering>
fn partial_cmp(&self, other: &ReasonCode) -> 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 ReasonCode
impl TryFrom<i32> for ReasonCode
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ReasonCode, UnknownEnumValue>
fn try_from(value: i32) -> Result<ReasonCode, UnknownEnumValue>
impl Copy for ReasonCode
impl Eq for ReasonCode
impl StructuralPartialEq for ReasonCode
Auto Trait Implementations§
impl Freeze for ReasonCode
impl RefUnwindSafe for ReasonCode
impl Send for ReasonCode
impl Sync for ReasonCode
impl Unpin for ReasonCode
impl UnwindSafe for ReasonCode
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