Enum google_api_proto::google::cloud::paymentgateway::issuerswitch::v1::resolve_complaint_adjustment::ReasonCode
source · #[repr(i32)]pub enum ReasonCode {
Show 14 variants
Unspecified = 0,
ComplaintResolvedOnline = 1,
ComplaintResolvedNowOrManually = 2,
OriginalTransactionNotDone = 3,
RetAccountClosed = 4,
RetAccountDoesNotExist = 5,
RetPartyInstructions = 6,
RetNriAccount = 7,
RetCreditFreezed = 8,
RetInvalidBeneficiaryDetails = 9,
RetAnyOtherReason = 10,
RetBeneficiaryCannotCredit = 11,
RetMerchantNotReceivedConfirmation = 12,
RrcCustomerAccountCredited = 13,
}Expand description
The complaint resolution reason code.
Variants§
Unspecified = 0
Unspecified reason code.
ComplaintResolvedOnline = 1
Customer account has been reversed online for DRC dispute or beneficiary
account has been credited online for TCC dispute. This reason code maps
to the 102 reason code as defined in NPCI’s UDIR specification.
ComplaintResolvedNowOrManually = 2
Customer account has been reversed now or manually post reconciliation
for DRC dispute or beneficiary account has been credited now or manually
post reconciliation for TCC dispute. This reason code maps to the 103
reason code as defined in NPCI’s UDIR specification.
OriginalTransactionNotDone = 3
Online decline response failed. This reason code maps to the
104 reason code as defined in NPCI’s UDIR specification.
RetAccountClosed = 4
Account closed. This reason code maps to the 114 reason code for
RET dispute as defined in NPCI’s UDIR specification.
RetAccountDoesNotExist = 5
Account does not exist. This reason code maps to the 115 reason code
for RET dispute as defined in NPCI’s UDIR specification.
RetPartyInstructions = 6
Party instructions. This reason code maps to the 116 reason code for
RET dispute as defined in NPCI’s UDIR specification.
RetNriAccount = 7
NRI account. This reason code maps to the 117 reason code for RET
dispute as defined in NPCI’s UDIR specification.
RetCreditFreezed = 8
Credit freezed. This reason code maps to the 118 reason code for RET
dispute as defined in NPCI’s UDIR specification.
RetInvalidBeneficiaryDetails = 9
Invalid beneficiary details. This reason code maps to the 119 reason
code for RET dispute as defined in NPCI’s UDIR specification.
RetAnyOtherReason = 10
Any other reason. This reason code maps to the 120 reason code for RET
dispute as defined in NPCI’s UDIR specification.
RetBeneficiaryCannotCredit = 11
Beneficiary bank unable to credit their customer account.
This reason code maps to the 1094 reason code for RET dispute as
defined in NPCI’s UDIR specification.
RetMerchantNotReceivedConfirmation = 12
Account debited but transaction confirmation not received at merchant
location. This reason code maps to the 1065 reason code for Credit
adjustment and RET dispute as defined in NPCI’s UDIR specification.
RrcCustomerAccountCredited = 13
Customer account has been credited. This reason code maps to the 501
reason code for Refund reversal confirmation dispute 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