Table of Contents

Class AppsECPayCreateOrderV1Request

Namespace
SKIT.FlurlHttpClient.ByteDance.MicroApp.Models
Assembly
DH.SKIT.FlurlHttpClient.ByteDance.MicroApp.dll

表示 [POST] /apps/ecpay/v1/create_order 接口的请求。

public class AppsECPayCreateOrderV1Request : ByteDanceMicroAppRequest, ICommonRequest
Inheritance
AppsECPayCreateOrderV1Request
Implements
ICommonRequest
Inherited Members

Constructors

AppsECPayCreateOrderV1Request()

public AppsECPayCreateOrderV1Request()

Properties

AppId

获取或设置小程序 AppId。如果不指定将使用构造 ByteDanceMicroAppClient 时的 AppId 参数。

[JsonPropertyName("app_id")]
public string? AppId { get; set; }

Property Value

string

Body

获取或设置商品详情。

[JsonPropertyName("body")]
public string Body { get; set; }

Property Value

string

ComponentAppId

获取或设置小程序第三方平台应用 ID。

[JsonPropertyName("thirdparty_id")]
public string? ComponentAppId { get; set; }

Property Value

string

Extra

获取或设置自定义字段。

[JsonPropertyName("cp_extra")]
public string? Extra { get; set; }

Property Value

string

IsMessageDisabled

获取或设置是否屏蔽担保支付的推送消息。

[JsonPropertyName("disable_msg")]
[JsonConverter(typeof(NumericalNullableBooleanConverter))]
public bool? IsMessageDisabled { get; set; }

Property Value

bool?

MessagePagePath

获取或设置担保支付消息跳转页面。

[JsonPropertyName("msg_page")]
public string? MessagePagePath { get; set; }

Property Value

string

NotifyUrl

获取或设置回调通知地址。

[JsonPropertyName("notify_url")]
public string? NotifyUrl { get; set; }

Property Value

string

OutTradeNumber

获取或设置商户订单号。

[JsonPropertyName("out_order_no")]
public string OutTradeNumber { get; set; }

Property Value

string

Signature

获取或设置签名。如果不指定将由系统自动生成。

[JsonPropertyName("sign")]
public string? Signature { get; set; }

Property Value

string

StoreMerchantId

获取或设置门店收款商户号。

[JsonPropertyName("store_uid")]
public string? StoreMerchantId { get; set; }

Property Value

string

Subject

获取或设置商品描述。

[JsonPropertyName("subject")]
public string Subject { get; set; }

Property Value

string

TotalAmount

获取或设置订单价格(单位:分)。

[JsonPropertyName("total_amount")]
public int TotalAmount { get; set; }

Property Value

int

ValidTime

获取或设置有效期(单位:秒)。

[JsonPropertyName("valid_time")]
public int ValidTime { get; set; }

Property Value

int