Table of Contents

Class CustomerUpserted

Namespace
Integrations.Contracts.Messages
Assembly
Integrations.Contracts.dll

Customer created/changed in PVC Connect. EntityIds: every entity the customer is shared with.

public sealed record CustomerUpserted : IEquatable<CustomerUpserted>
Inheritance
CustomerUpserted
Implements
Inherited Members

Constructors

CustomerUpserted(string, IReadOnlyList<string>, UpsertPartyRequest)

Customer created/changed in PVC Connect. EntityIds: every entity the customer is shared with.

public CustomerUpserted(string Code, IReadOnlyList<string> EntityIds, UpsertPartyRequest Customer)

Parameters

Code string

Customer code.

EntityIds IReadOnlyList<string>

Entities the customer is shared with; synced to each one's AvaTax company.

Customer UpsertPartyRequest

The minimum customer data.

Properties

Code

Customer code.

public string Code { get; init; }

Property Value

string

Customer

The minimum customer data.

public UpsertPartyRequest Customer { get; init; }

Property Value

UpsertPartyRequest

EntityIds

Entities the customer is shared with; synced to each one's AvaTax company.

public IReadOnlyList<string> EntityIds { get; init; }

Property Value

IReadOnlyList<string>

Version

The customer's version in PVC Connect (e.g. a row version or update counter), increasing with every change. When set, a message older than the last one applied is ignored, so redeliveries can't put an outdated customer back.

public long? Version { get; init; }

Property Value

long?