Show / Hide Table of Contents

Class Payload

Class representing an EasyPost event payload.

Inheritance
System.Object
EphemeralEasyPostObject
EasyPostObject
Payload
Implements
IEasyPostObject
Inherited Members
EasyPostObject.CreatedAt
EasyPostObject.Id
EasyPostObject.UpdatedAt
EasyPostObject.Prefix
EasyPostObject.AsDictionary()
EasyPostObject.ToString()
EasyPostObject.Equals(Nullable<Object>)
EasyPostObject.GetHashCode()
EphemeralEasyPostObject.Mode
EphemeralEasyPostObject.AsJson()
Namespace: EasyPost.Models.API
Assembly: EasyPost.dll
Syntax
public class Payload : EasyPostObject, IEasyPostObject

Properties

| Improve this Doc View Source

RequestBody

The HTTP body of the request made to the RequestUrl.

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

RequestHeaders

The HTTP headers that were included in the request made to the RequestUrl.

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

RequestUrl

The URL that the request was sent to (the Webhook URL).

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

ResponseBody

The HTTP body that was received in response to the request made to the RequestUrl.

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

ResponseCode

The HTTP status code that was received in response to the request made to the RequestUrl.

Declaration
public int? ResponseCode { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

ResponseHeaders

The HTTP headers that were received in response to the request made to the RequestUrl.

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

TotalTime

The total time, in milliseconds, that it took to complete the request made to the RequestUrl.

Declaration
public int? TotalTime { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Implements

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