pub struct Account {
pub approvals: Option<Vec<Approval>>,
pub create_time: Option<DateTime<Utc>>,
pub input_properties: Option<HashMap<String, Value>>,
pub name: Option<String>,
pub provider: Option<String>,
pub reseller_parent_billing_account: Option<String>,
pub state: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
Represents an account that was established by the customer on the service provider’s system.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- accounts get providers (response)
Fields§
§approvals: Option<Vec<Approval>>Output only. The approvals for this account. These approvals are used to track actions that are permitted or have been completed by a customer within the context of the provider. This might include a sign up flow or a provisioning step, for example, that the provider can admit to having happened.
create_time: Option<DateTime<Utc>>Output only. The creation timestamp.
input_properties: Option<HashMap<String, Value>>Output only. The custom properties that were collected from the user to create this account.
name: Option<String>Output only. The resource name of the account. Account names have the form accounts/{account_id}.
provider: Option<String>Output only. The identifier of the service provider that this account was created against. Each service provider is assigned a unique provider value when they onboard with Cloud Commerce platform.
reseller_parent_billing_account: Option<String>Output only. The reseller parent billing account of the account’s corresponding billing account, applicable only when the corresponding billing account is a subaccount of a reseller. Included in responses only for view: ACCOUNT_VIEW_FULL. Format: billingAccounts/{billing_account_id}
state: Option<String>Output only. The state of the account. This is used to decide whether the customer is in good standing with the provider and is able to make purchases. An account might not be able to make a purchase if the billing account is suspended, for example.
update_time: Option<DateTime<Utc>>Output only. The last update timestamp.