class Google::Apis::CloudcommerceprocurementV1::Account
Represents an account that was established by the customer on the service provider's system.
Attributes
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. Corresponds to the JSON property `approvals` @return [Array<Google::Apis::CloudcommerceprocurementV1::Approval>]
Output only. The creation timestamp. Corresponds to the JSON property `createTime` @return [String]
Output only. The custom properties that were collected from the user to create this account. Corresponds to the JSON property `inputProperties` @return [Hash<String,Object>]
Output only. The resource name of the account. Account
names have the form ` accounts/`account_id“. Corresponds to the JSON property `name` @return [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. Corresponds to the JSON property `provider` @return [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. Corresponds to the JSON property `state` @return [String]
Output only. The last update timestamp. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/cloudcommerceprocurement_v1/classes.rb, line 75 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudcommerceprocurement_v1/classes.rb, line 80 def update!(**args) @approvals = args[:approvals] if args.key?(:approvals) @create_time = args[:create_time] if args.key?(:create_time) @input_properties = args[:input_properties] if args.key?(:input_properties) @name = args[:name] if args.key?(:name) @provider = args[:provider] if args.key?(:provider) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end