Table of Contents

Class PaymentRequirements

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

Properties

AdditionalProperties

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

Property Value

IDictionary<string, object>

Asset

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

Property Value

Asset

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 Network2 Network { get; set; }

Property Value

Network2

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 PayTo PayTo { get; set; }

Property Value

PayTo

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 PaymentRequirementsScheme Scheme { get; set; }

Property Value

PaymentRequirementsScheme