Struct google_api_proto::google::ads::googleads::v16::resources::PaymentsAccount
source · pub struct PaymentsAccount {
pub resource_name: String,
pub payments_account_id: Option<String>,
pub name: Option<String>,
pub currency_code: Option<String>,
pub payments_profile_id: Option<String>,
pub secondary_payments_profile_id: Option<String>,
pub paying_manager_customer: Option<String>,
}
Expand description
A payments account, which can be used to set up billing for an Ads customer.
Fields§
§resource_name: String
Output only. The resource name of the payments account. PaymentsAccount resource names have the form:
customers/{customer_id}/paymentsAccounts/{payments_account_id}
payments_account_id: Option<String>
Output only. A 16 digit ID used to identify a payments account.
name: Option<String>
Output only. The name of the payments account.
currency_code: Option<String>
Output only. The currency code of the payments account. A subset of the currency codes derived from the ISO 4217 standard is supported.
payments_profile_id: Option<String>
Output only. A 12 digit ID used to identify the payments profile associated with the payments account.
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.
paying_manager_customer: Option<String>
Output only. Paying manager of this payment account.
Implementations§
source§impl PaymentsAccount
impl PaymentsAccount
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 currency_code(&self) -> &str
pub fn currency_code(&self) -> &str
Returns the value of currency_code
, or the default value if currency_code
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 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.
sourcepub fn paying_manager_customer(&self) -> &str
pub fn paying_manager_customer(&self) -> &str
Returns the value of paying_manager_customer
, or the default value if paying_manager_customer
is unset.
Trait Implementations§
source§impl Clone for PaymentsAccount
impl Clone for PaymentsAccount
source§fn clone(&self) -> PaymentsAccount
fn clone(&self) -> PaymentsAccount
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PaymentsAccount
impl Debug for PaymentsAccount
source§impl Default for PaymentsAccount
impl Default for PaymentsAccount
source§impl Message for PaymentsAccount
impl Message for PaymentsAccount
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 PaymentsAccount
impl PartialEq for PaymentsAccount
source§fn eq(&self, other: &PaymentsAccount) -> bool
fn eq(&self, other: &PaymentsAccount) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PaymentsAccount
Auto Trait Implementations§
impl Freeze for PaymentsAccount
impl RefUnwindSafe for PaymentsAccount
impl Send for PaymentsAccount
impl Sync for PaymentsAccount
impl Unpin for PaymentsAccount
impl UnwindSafe for PaymentsAccount
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