Class Brand
Class representing an EasyPost brand.
Implements
Inherited Members
Namespace: EasyPost.Models.API
Assembly: EasyPost.dll
Syntax
public class Brand : EasyPostObject, IEasyPostObject
Properties
| Improve this Doc View SourceAd
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> |
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> |
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> |
Color
A hex code for the color of the brand.
Declaration
public string? Color { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
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> |
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> |
Name
The name of the brand associated with the User.
Declaration
public string? Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
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> |
UserId
The ID of the User associated with this brand.
Declaration
public string? UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |