Struct google_api_proto::google::ads::googleads::v15::resources::billing_setup::PaymentsAccountInfo
source · pub struct PaymentsAccountInfo {
pub payments_account_id: Option<String>,
pub payments_account_name: Option<String>,
pub payments_profile_id: Option<String>,
pub payments_profile_name: Option<String>,
pub secondary_payments_profile_id: Option<String>,
}
Expand description
Container of payments account information for this billing.
Fields§
§payments_account_id: Option<String>
Output only. A 16 digit id used to identify the payments account associated with the billing setup.
This must be passed as a string with dashes, for example, “1234-5678-9012-3456”.
payments_account_name: Option<String>
Immutable. The name of the payments account associated with the billing setup.
This enables the user to specify a meaningful name for a payments account to aid in reconciling monthly invoices.
This name will be printed in the monthly invoices.
payments_profile_id: Option<String>
Immutable. A 12 digit id used to identify the payments profile associated with the billing setup.
This must be passed in as a string with dashes, for example, “1234-5678-9012”.
payments_profile_name: Option<String>
Output only. The name of the payments profile associated with the billing setup.
secondary_payments_profile_id: Option<String>
Output only. A secondary payments profile id present in uncommon situations, for example, when a sequential liability agreement has been arranged.
Implementations§
source§impl PaymentsAccountInfo
impl PaymentsAccountInfo
sourcepub fn payments_account_id(&self) -> &str
pub fn payments_account_id(&self) -> &str
Returns the value of payments_account_id
, or the default value if payments_account_id
is unset.
sourcepub fn payments_account_name(&self) -> &str
pub fn payments_account_name(&self) -> &str
Returns the value of payments_account_name
, or the default value if payments_account_name
is unset.
sourcepub fn payments_profile_id(&self) -> &str
pub fn payments_profile_id(&self) -> &str
Returns the value of payments_profile_id
, or the default value if payments_profile_id
is unset.
sourcepub fn payments_profile_name(&self) -> &str
pub fn payments_profile_name(&self) -> &str
Returns the value of payments_profile_name
, or the default value if payments_profile_name
is unset.
sourcepub fn secondary_payments_profile_id(&self) -> &str
pub fn secondary_payments_profile_id(&self) -> &str
Returns the value of secondary_payments_profile_id
, or the default value if secondary_payments_profile_id
is unset.
Trait Implementations§
source§impl Clone for PaymentsAccountInfo
impl Clone for PaymentsAccountInfo
source§fn clone(&self) -> PaymentsAccountInfo
fn clone(&self) -> PaymentsAccountInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PaymentsAccountInfo
impl Debug for PaymentsAccountInfo
source§impl Default for PaymentsAccountInfo
impl Default for PaymentsAccountInfo
source§impl Message for PaymentsAccountInfo
impl Message for PaymentsAccountInfo
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 PaymentsAccountInfo
impl PartialEq for PaymentsAccountInfo
source§fn eq(&self, other: &PaymentsAccountInfo) -> bool
fn eq(&self, other: &PaymentsAccountInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PaymentsAccountInfo
Auto Trait Implementations§
impl Freeze for PaymentsAccountInfo
impl RefUnwindSafe for PaymentsAccountInfo
impl Send for PaymentsAccountInfo
impl Sync for PaymentsAccountInfo
impl Unpin for PaymentsAccountInfo
impl UnwindSafe for PaymentsAccountInfo
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