Table of Contents

Class OrderAddressType

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Data container for OrderAddressType to represent value of OrderAddressType.

public record OrderAddressType
Inheritance
object
OrderAddressType
Extension Methods

Constructors

OrderAddressType(OrderAddressType)

protected OrderAddressType(OrderAddressType original)

Parameters

original OrderAddressType

OrderAddressType(string)

Initializes a new instance of the OrderAddressType class.

public OrderAddressType(string name)

Parameters

name string

Properties

Billing

Billing order address type.

public static OrderAddressType Billing { get; }

Property Value

OrderAddressType

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Name

Name of the order address type.

public string Name { get; }

Property Value

string

Shipping

Shippping order address type.

public static OrderAddressType Shipping { get; }

Property Value

OrderAddressType

Methods

Equals(OrderAddressType)

Checks if order address type equal to a specified other order address type.

public virtual bool Equals(OrderAddressType other)

Parameters

other OrderAddressType

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

Get hash code based on order address type.

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

String representation of order address type.

public override string ToString()

Returns

string

Operators

operator ==(OrderAddressType?, OrderAddressType?)

public static bool operator ==(OrderAddressType? left, OrderAddressType? right)

Parameters

left OrderAddressType
right OrderAddressType

Returns

bool

operator !=(OrderAddressType?, OrderAddressType?)

public static bool operator !=(OrderAddressType? left, OrderAddressType? right)

Parameters

left OrderAddressType
right OrderAddressType

Returns

bool