Show / Hide Table of Contents

Class Brand

Class representing an EasyPost brand.

Inheritance
System.Object
EphemeralEasyPostObject
EasyPostObject
Brand
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 Brand : EasyPostObject, IEasyPostObject

Properties

| Improve this Doc View Source

Ad

A base64-encoded string for a PNG, JPEG, GIF or SVG image.

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

AdHref

A URL to link to when the ad is clicked. Maximum length is 255 characters.

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

BackgroundColor

A hex code for the background color of the brand.

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

Color

A hex code for the color of the brand.

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

Logo

A base64-encoded string for a PNG, JPEG, GIF or SVG image.

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

LogoHref

A URL to link to when the logo is clicked.

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

Name

The name of the brand associated with the User.

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

Theme

A name to store this brand preset as. Either "theme1" or "theme2".

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

UserId

The ID of the User associated with this brand.

Declaration
public string? UserId { get; set; }
Property Value
Type Description
System.Nullable<System.String>

Implements

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