class Google::Apis::ResellerV1::Customer

JSON template for a customer.

Attributes

alternate_email[RW]

The alternate email of the customer. Corresponds to the JSON property `alternateEmail` @return [String]

customer_domain[RW]

The domain name of the customer. Corresponds to the JSON property `customerDomain` @return [String]

customer_domain_verified[RW]

Whether the customer's primary domain has been verified. Corresponds to the JSON property `customerDomainVerified` @return [Boolean]

customer_domain_verified?[RW]

Whether the customer's primary domain has been verified. Corresponds to the JSON property `customerDomainVerified` @return [Boolean]

customer_id[RW]

The id of the customer. Corresponds to the JSON property `customerId` @return [String]

kind[RW]

Identifies the resource as a customer. Corresponds to the JSON property `kind` @return [String]

phone_number[RW]

The phone number of the customer. Corresponds to the JSON property `phoneNumber` @return [String]

postal_address[RW]

JSON template for address of a customer. Corresponds to the JSON property `postalAddress` @return [Google::Apis::ResellerV1::Address]

resource_ui_url[RW]

Ui url for customer resource. Corresponds to the JSON property `resourceUiUrl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/reseller_v1/classes.rb, line 190
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/reseller_v1/classes.rb, line 195
def update!(**args)
  @alternate_email = args[:alternate_email] if args.key?(:alternate_email)
  @customer_domain = args[:customer_domain] if args.key?(:customer_domain)
  @customer_domain_verified = args[:customer_domain_verified] if args.key?(:customer_domain_verified)
  @customer_id = args[:customer_id] if args.key?(:customer_id)
  @kind = args[:kind] if args.key?(:kind)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
  @postal_address = args[:postal_address] if args.key?(:postal_address)
  @resource_ui_url = args[:resource_ui_url] if args.key?(:resource_ui_url)
end