Table of Contents

Class PaymentRequirements2

Namespace
Thirdweb.Api
Assembly
Thirdweb.dll
public class PaymentRequirements2
Inheritance
PaymentRequirements2
Inherited Members

Properties

AdditionalProperties

[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }

Property Value

IDictionary<string, object>

Asset

[JsonProperty("asset", Required = Required.Always)]
public Asset2 Asset { get; set; }

Property Value

Asset2

Description

[JsonProperty("description", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Description { get; set; }

Property Value

string

Extra

[JsonProperty("extra", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public IDictionary<string, object> Extra { get; set; }

Property Value

IDictionary<string, object>

MaxAmountRequired

[JsonProperty("maxAmountRequired", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string MaxAmountRequired { get; set; }

Property Value

string

MaxTimeoutSeconds

[JsonProperty("maxTimeoutSeconds", Required = Required.Always)]
public int MaxTimeoutSeconds { get; set; }

Property Value

int

MimeType

[JsonProperty("mimeType", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string MimeType { get; set; }

Property Value

string

Network

[JsonProperty("network", Required = Required.Always)]
public Network4 Network { get; set; }

Property Value

Network4

OutputSchema

[JsonProperty("outputSchema", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public IDictionary<string, object> OutputSchema { get; set; }

Property Value

IDictionary<string, object>

PayTo

[JsonProperty("payTo", Required = Required.Always)]
public PayTo2 PayTo { get; set; }

Property Value

PayTo2

Resource

[JsonProperty("resource", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public Uri Resource { get; set; }

Property Value

Uri

Scheme

[JsonProperty("scheme", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public PaymentRequirements2Scheme Scheme { get; set; }

Property Value

PaymentRequirements2Scheme