Show / Hide Table of Contents

Class EasyPostObject

Class for any object that comes from or goes to the EasyPost API.

Inheritance
System.Object
EphemeralEasyPostObject
EasyPostObject
Address
ApiKey
ApiKeyCollection
Batch
BatchShipment
PaymentRefund
Brand
CarrierAccount
CarrierDetail
CarrierField
CarrierFields
CarrierType
Claim
CustomsInfo
CustomsItem
EndShipper
Event
Fee
Form
Insurance
Message
Options
Order
Parcel
Payload
PaymentMethod
PaymentMethodsSummary
Pickup
PostageLabel
Rate
ReferralCustomer
Refund
Report
ScanForm
Shipment
SmartRate
TaxIdentifier
Tracker
TrackingDetail
TrackingLocation
User
Verification
VerificationDetails
Verifications
Webhook
PaginatedCollection<TEntries>
Implements
IEasyPostObject
Inherited Members
EphemeralEasyPostObject.Mode
EphemeralEasyPostObject.AsJson()
Namespace: EasyPost._base
Assembly: EasyPost.dll
Syntax
public abstract class EasyPostObject : EphemeralEasyPostObject, IEasyPostObject

Properties

| Improve this Doc View Source

CreatedAt

The date and time this object was created.

Declaration
public DateTime? CreatedAt { get; }
Property Value
Type Description
System.Nullable<DateTime>
| Improve this Doc View Source

Id

The EasyPost ID for this object.

Declaration
public string? Id { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

Prefix

The prefix of the EasyPost ID for this object.

Declaration
public string? Prefix { get; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

UpdatedAt

The date and time this object was last updated.

Declaration
public DateTime? UpdatedAt { get; }
Property Value
Type Description
System.Nullable<DateTime>

Methods

| Improve this Doc View Source

AsDictionary()

Gets this object as a JSON object (dictionary).

Declaration
public virtual Dictionary<string, object> AsDictionary()
Returns
Type Description
Dictionary<System.String, System.Object>

A dictionary representation of this object's properties.

| Improve this Doc View Source

Equals(Nullable<Object>)

Class for any object that comes from or goes to the EasyPost API.

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
System.Nullable<System.Object> obj
Returns
Type Description
System.Boolean
Overrides
EphemeralEasyPostObject.Equals(Nullable<Object>)
| Improve this Doc View Source

GetHashCode()

Class for any object that comes from or goes to the EasyPost API.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
EphemeralEasyPostObject.GetHashCode()
| Improve this Doc View Source

ToString()

Class for any object that comes from or goes to the EasyPost API.

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
EphemeralEasyPostObject.ToString()

Operators

| Improve this Doc View Source

Equality(EasyPostObject, Nullable<Object>)

Class for any object that comes from or goes to the EasyPost API.

Declaration
public static bool operator ==(EasyPostObject one, object? two)
Parameters
Type Name Description
EasyPostObject one
System.Nullable<System.Object> two
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(EasyPostObject, Nullable<Object>)

Class for any object that comes from or goes to the EasyPost API.

Declaration
public static bool operator !=(EasyPostObject one, object? two)
Parameters
Type Name Description
EasyPostObject one
System.Nullable<System.Object> two
Returns
Type Description
System.Boolean

Implements

IEasyPostObject
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX