Struct google_api_proto::google::cloud::paymentgateway::issuerswitch::v1::MerchantAdditionalInfo
source · pub struct MerchantAdditionalInfo {
pub category_code: String,
pub store_id: String,
pub terminal_id: String,
pub type: i32,
pub genre: i32,
pub onboarding_type: i32,
pub ownership_type: i32,
}
Expand description
Additional merchant information specific to India’s UPI requirements.
Fields§
§category_code: String
Merchant Category Code (MCC) as specified by UPI. This is a four-digit number listed in ISO 18245 for retail financial services.
store_id: String
A unique identifier for the merchant store where the payment settlement transaction occurred.
terminal_id: String
A unique identifier for the POS terminal in the store where the payment settlement transaction occurred.
type: i32
Indicates the type of merchant.
genre: i32
Indicates the genre of the merchant.
onboarding_type: i32
Indicates the merchant’s onboarding type.
ownership_type: i32
Indicates the merchant’s owner type.
Implementations§
source§impl MerchantAdditionalInfo
impl MerchantAdditionalInfo
sourcepub fn type(&self) -> Type
pub fn type(&self) -> Type
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn genre(&self) -> Genre
pub fn genre(&self) -> Genre
Returns the enum value of genre
, or the default if the field is set to an invalid enum value.
sourcepub fn onboarding_type(&self) -> OnboardingType
pub fn onboarding_type(&self) -> OnboardingType
Returns the enum value of onboarding_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_onboarding_type(&mut self, value: OnboardingType)
pub fn set_onboarding_type(&mut self, value: OnboardingType)
Sets onboarding_type
to the provided enum value.
sourcepub fn ownership_type(&self) -> OwnershipType
pub fn ownership_type(&self) -> OwnershipType
Returns the enum value of ownership_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_ownership_type(&mut self, value: OwnershipType)
pub fn set_ownership_type(&mut self, value: OwnershipType)
Sets ownership_type
to the provided enum value.
Trait Implementations§
source§impl Clone for MerchantAdditionalInfo
impl Clone for MerchantAdditionalInfo
source§fn clone(&self) -> MerchantAdditionalInfo
fn clone(&self) -> MerchantAdditionalInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MerchantAdditionalInfo
impl Debug for MerchantAdditionalInfo
source§impl Default for MerchantAdditionalInfo
impl Default for MerchantAdditionalInfo
source§impl Message for MerchantAdditionalInfo
impl Message for MerchantAdditionalInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for MerchantAdditionalInfo
impl PartialEq for MerchantAdditionalInfo
source§fn eq(&self, other: &MerchantAdditionalInfo) -> bool
fn eq(&self, other: &MerchantAdditionalInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MerchantAdditionalInfo
Auto Trait Implementations§
impl Freeze for MerchantAdditionalInfo
impl RefUnwindSafe for MerchantAdditionalInfo
impl Send for MerchantAdditionalInfo
impl Sync for MerchantAdditionalInfo
impl Unpin for MerchantAdditionalInfo
impl UnwindSafe for MerchantAdditionalInfo
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