Customer

Namespace: Babel.Licensing.Service.Management Assembly: Babel.Licensing.dll

public sealed class Customer : IMessage<Customer>, IEquatable<Customer>, IDeepCloneable<Customer>, IBufferMessage, IMessage

Inheritance

objectCustomer

Implements

IMessage<Customer>, IEquatable<Customer>, IDeepCloneable<Customer>, IBufferMessage, IMessage

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

Customer()

public Customer()

Customer(Customer)

public Customer(Customer other)

Parameters

NameDescription

other Customer

Fields

Address1FieldNumber

Field number for the "address1" field.

public const int Address1FieldNumber = 13

Field Value

int

Address2FieldNumber

Field number for the "address2" field.

public const int Address2FieldNumber = 14

Field Value

int

AddressFieldNumber

Field number for the "address" field.

public const int AddressFieldNumber = 12

Field Value

int

CityFieldNumber

Field number for the "city" field.

public const int CityFieldNumber = 17

Field Value

int

CodeFieldNumber

Field number for the "code" field.

public const int CodeFieldNumber = 6

Field Value

int

CompanyFieldNumber

Field number for the "company" field.

public const int CompanyFieldNumber = 5

Field Value

int

ContactsFieldNumber

Field number for the "contacts" field.

public const int ContactsFieldNumber = 30

Field Value

int

CountryCodeFieldNumber

Field number for the "countryCode" field.

public const int CountryCodeFieldNumber = 19

Field Value

int

CountryFieldNumber

Field number for the "country" field.

public const int CountryFieldNumber = 18

Field Value

int

CreatedAtFieldNumber

Field number for the "created_at" field.

public const int CreatedAtFieldNumber = 10

Field Value

int

EmailFieldNumber

Field number for the "email" field.

public const int EmailFieldNumber = 22

Field Value

int

FaxFieldNumber

Field number for the "fax" field.

public const int FaxFieldNumber = 25

Field Value

int

FirstNameFieldNumber

Field number for the "first_name" field.

public const int FirstNameFieldNumber = 3

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

ImageFieldNumber

Field number for the "image" field.

public const int ImageFieldNumber = 29

Field Value

int

InvoiceCodeFieldNumber

Field number for the "invoice_code" field.

public const int InvoiceCodeFieldNumber = 8

Field Value

int

IsResellerFieldNumber

Field number for the "isReseller" field.

public const int IsResellerFieldNumber = 28

Field Value

int

LastNameFieldNumber

Field number for the "last_name" field.

public const int LastNameFieldNumber = 4

Field Value

int

MapCoordinatesFieldNumber

Field number for the "map_coordinates" field.

public const int MapCoordinatesFieldNumber = 20

Field Value

int

MapZoomLevelFieldNumber

Field number for the "map_zoom_level" field.

public const int MapZoomLevelFieldNumber = 21

Field Value

int

MobileFieldNumber

Field number for the "mobile" field.

public const int MobileFieldNumber = 24

Field Value

int

NotesFieldNumber

Field number for the "notes" field.

public const int NotesFieldNumber = 27

Field Value

int

PhoneFieldNumber

Field number for the "phone" field.

public const int PhoneFieldNumber = 23

Field Value

int

PostalCodeFieldNumber

Field number for the "postalCode" field.

public const int PostalCodeFieldNumber = 15

Field Value

int

RatingFieldNumber

Field number for the "rating" field.

public const int RatingFieldNumber = 9

Field Value

int

RegionFieldNumber

Field number for the "region" field.

public const int RegionFieldNumber = 16

Field Value

int

TitleFieldNumber

Field number for the "title" field.

public const int TitleFieldNumber = 2

Field Value

int

UpdatedAtFieldNumber

Field number for the "updated_at" field.

public const int UpdatedAtFieldNumber = 11

Field Value

int

VatCodeFieldNumber

Field number for the "vat_code" field.

public const int VatCodeFieldNumber = 7

Field Value

int

WebsiteFieldNumber

Field number for the "website" field.

public const int WebsiteFieldNumber = 26

Field Value

int

Properties

Address

public string Address { get; set; }

Property Value

string

Address1

public string Address1 { get; set; }

Property Value

string

Address2

public string Address2 { get; set; }

Property Value

string

City

public string City { get; set; }

Property Value

string

Code

public string Code { get; set; }

Property Value

string

Company

public string Company { get; set; }

Property Value

string

Contacts

Collection properties are represented as repeated fields in Protobuf

public RepeatedField<Contact> Contacts { get; }

Property Value

RepeatedField<Contact>

Country

public string Country { get; set; }

Property Value

string

CountryCode

public string CountryCode { get; set; }

Property Value

string

CreatedAt

public Timestamp CreatedAt { get; set; }

Property Value

Timestamp

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Email

public string Email { get; set; }

Property Value

string

Fax

public string Fax { get; set; }

Property Value

string

FirstName

public string FirstName { get; set; }

Property Value

string

Id

public int? Id { get; set; }

Property Value

int?

Image

public ByteString Image { get; set; }

Property Value

ByteString

InvoiceCode

public string InvoiceCode { get; set; }

Property Value

string

IsReseller

public bool? IsReseller { get; set; }

Property Value

bool?

LastName

public string LastName { get; set; }

Property Value

string

MapCoordinates

public string MapCoordinates { get; set; }

Property Value

string

MapZoomLevel

public double? MapZoomLevel { get; set; }

Property Value

double?

Mobile

public string Mobile { get; set; }

Property Value

string

Notes

public string Notes { get; set; }

Property Value

string

Parser

public static MessageParser<Customer> Parser { get; }

Property Value

MessageParser<Customer>

Phone

public string Phone { get; set; }

Property Value

string

PostalCode

public string PostalCode { get; set; }

Property Value

string

Rating

public int? Rating { get; set; }

Property Value

int?

Region

public string Region { get; set; }

Property Value

string

Title

public string Title { get; set; }

Property Value

string

UpdatedAt

public Timestamp UpdatedAt { get; set; }

Property Value

Timestamp

VatCode

public string VatCode { get; set; }

Property Value

string

Website

public string Website { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

NameDescription

Clone()

public Customer Clone()

Returns

NameDescription

Equals(object)

public override bool Equals(object other)

Parameters

NameDescription

other object

Returns

NameDescription

Equals(Customer)

public bool Equals(Customer other)

Parameters

NameDescription

other Customer

Returns

NameDescription

GetHashCode()

public override int GetHashCode()

Returns

NameDescription

MergeFrom(Customer)

public void MergeFrom(Customer other)

Parameters

NameDescription

other Customer

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

NameDescription

input CodedInputStream

ToString()

public override string ToString()

Returns

NameDescription

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

NameDescription

output CodedOutputStream

Last updated