Skip to main content

Customer.proto#

path Customer.proto

package com.example

This file has messages for describing a customer.


Messages#

Address#

Represents a mail address.

NameTypeDescription
address_line_1stringFirst address line.
address_line_2stringSecond address line.
address_line_3stringSecond address line.
townstringAddress town.
countystringAddress county, if applicable.
countrystringAddress country.

Customer#

Represents a customer.

NameTypeDescription
idint32Unique customer ID.
first_namestringCustomer first name.
last_namestringCustomer last name.
detailsstringCustomer details.
email_addressstringCustomer e-mail address.
phone_numberstringCustomer phone numbers, primary first.
mail_addressesAddressCustomer mail addresses, primary first.