Struct PaymentMethodStatus
Status of the payment method.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Billing.dll
Syntax
public struct PaymentMethodStatus : IEquatable<Azure.ResourceManager.Billing.Models.PaymentMethodStatus>
Constructors
PaymentMethodStatus(String)
Initializes a new instance of PaymentMethodStatus.
Declaration
public PaymentMethodStatus (string value);
Parameters
System.String
value
|
Exceptions
System.ArgumentNullException
|
Properties
Active
active.
Declaration
public static Azure.ResourceManager.Billing.Models.PaymentMethodStatus Active { get; }
Property Value
PaymentMethodStatus
|
Inactive
inactive.
Declaration
public static Azure.ResourceManager.Billing.Models.PaymentMethodStatus Inactive { get; }
Property Value
PaymentMethodStatus
|
Methods
Equals(PaymentMethodStatus)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.ResourceManager.Billing.Models.PaymentMethodStatus other);
Parameters
PaymentMethodStatus
other
An object to compare with this object. |
Returns
System.Boolean
|
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object
obj
The object to compare with the current instance. |
Returns
System.Boolean
|
GetHashCode()
Returns the hash code for this instance.
Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32
A 32-bit signed integer that is the hash code for this instance. |
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString ();
Returns
System.String
The fully qualified type name. |
Operators
Equality(PaymentMethodStatus, PaymentMethodStatus)
Determines if two PaymentMethodStatus values are the same.
Declaration
public static bool operator == (Azure.ResourceManager.Billing.Models.PaymentMethodStatus left, Azure.ResourceManager.Billing.Models.PaymentMethodStatus right);
Parameters
PaymentMethodStatus
left
|
PaymentMethodStatus
right
|
Returns
System.Boolean
|
Implicit(String to PaymentMethodStatus)
Converts a System.String to a PaymentMethodStatus.
Declaration
public static implicit operator Azure.ResourceManager.Billing.Models.PaymentMethodStatus (string value);
Parameters
System.String
value
|
Returns
PaymentMethodStatus
|
Inequality(PaymentMethodStatus, PaymentMethodStatus)
Determines if two PaymentMethodStatus values are not the same.
Declaration
public static bool operator != (Azure.ResourceManager.Billing.Models.PaymentMethodStatus left, Azure.ResourceManager.Billing.Models.PaymentMethodStatus right);
Parameters
PaymentMethodStatus
left
|
PaymentMethodStatus
right
|
Returns
System.Boolean
|