Class MerpayAuthorizeRequestDto
決済サービスタイプ:merpay、コマンド名:決済申込の要求Dtoクラス
Implements
Inherited Members
Namespace: jp.veritrans.tercerog.mdk.dto
Assembly: cg-mdk-dto.dll
Syntax
public class MerpayAuthorizeRequestDto : AbstractPaymentRequestDto, IRequestDto
Properties
AccountingType
課金種別
半角数字 最大桁数:1
- 0:都度
- 1:随時
serviceOptionType="barcode"(バーコード決済) : 指定できません
serviceOptionType="online"(オンライン決済) : 指定任意※
※オンライン決済で未指定の場合、"0"都度決済になります。
Declaration
[JsonProperty("accountingType")]
public string AccountingType { get; set; }
Property Value
Type | Description |
---|---|
string |
Amount
決済金額
半角数字 最大桁数:7
決済金額を指定します。
- バーコード決済:1以上かつ 1000000(7桁) 以下
- オンライン決済:1以上かつ 1000000(7桁) 以下 ※
※accountingTypeが"1:随時" かつconsentAuthTypeが"0:承諾のみ"の場合は、0または未設定のみ許容する。
Declaration
[JsonProperty("amount")]
public string Amount { get; set; }
Property Value
Type | Description |
---|---|
string |
Brand
ブランド名
全半角かな英数字記号 最大桁数:40
Declaration
[JsonProperty("brand")]
public string Brand { get; set; }
Property Value
Type | Description |
---|---|
string |
CancelUrl
決済キャンセルURL
半角英数字記号 最大桁数:256
決済キャンセル時の戻り先となるURL
※未指定の場合は、MAP(Merchant Administrator Portal)から登録申請した値を使用。
Declaration
[JsonProperty("cancelUrl")]
public string CancelUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Category
カテゴリ名
全半角かな英数字記号 最大桁数:40
Declaration
[JsonProperty("category")]
public string Category { get; set; }
Property Value
Type | Description |
---|---|
string |
CategoryId
商品カテゴリID
半角英数字 最大桁数:4
Declaration
[JsonProperty("categoryId")]
public string CategoryId { get; set; }
Property Value
Type | Description |
---|---|
string |
Color
色
全半角かな英数字記号 最大桁数:32
Declaration
[JsonProperty("color")]
public string Color { get; set; }
Property Value
Type | Description |
---|---|
string |
ConsentAuthType
承諾時決済タイプ
半角英数字 最大桁数:1
- 0 : 承諾のみ
- 1 : 承諾同時決済
※accountingTypeが"1:随時"の場合に限り、当項目は指定可能とする
※未設定の場合は"0:承諾のみ"となります。
Declaration
[JsonProperty("consentAuthType")]
public string ConsentAuthType { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
商品説明
全半角かな英数字記号 最大桁数:1000
※かんたん出品連携利用時は必須
Declaration
[JsonProperty("description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUrl1
商品画像URL1
半角英数字記号 最大桁数:2000
※かんたん出品連携利用時は必須
- ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、
かんたん出品連携の利用が可能になる場合あり
Declaration
[JsonProperty("imageUrl1")]
public string ImageUrl1 { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUrl2
商品画像URL2
半角英数字記号 最大桁数:2000
※かんたん出品連携利用時は必須
- ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、
かんたん出品連携の利用が可能になる場合あり
Declaration
[JsonProperty("imageUrl2")]
public string ImageUrl2 { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUrl3
商品画像URL3
半角英数字記号 最大桁数:2000
※かんたん出品連携利用時は必須
- ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、
かんたん出品連携の利用が可能になる場合あり
Declaration
[JsonProperty("imageUrl3")]
public string ImageUrl3 { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUrl4
商品画像URL4
半角英数字記号 最大桁数:2000
※かんたん出品連携利用時は必須
- ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、
かんたん出品連携の利用が可能になる場合あり
Declaration
[JsonProperty("imageUrl4")]
public string ImageUrl4 { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUrl5
商品画像URL5
半角英数字記号 最大桁数:2000
※かんたん出品連携利用時は必須
- ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、
かんたん出品連携の利用が可能になる場合あり
Declaration
[JsonProperty("imageUrl5")]
public string ImageUrl5 { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUrl6
商品画像URL6
半角英数字記号 最大桁数:2000
※かんたん出品連携利用時は必須
- ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、
かんたん出品連携の利用が可能になる場合あり
Declaration
[JsonProperty("imageUrl6")]
public string ImageUrl6 { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUrl7
商品画像URL7
半角英数字記号 最大桁数:2000
※かんたん出品連携利用時は必須
- ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、
かんたん出品連携の利用が可能になる場合あり
Declaration
[JsonProperty("imageUrl7")]
public string ImageUrl7 { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUrl8
商品画像URL8
半角英数字記号 最大桁数:2000
※かんたん出品連携利用時は必須
- ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、
かんたん出品連携の利用が可能になる場合あり
Declaration
[JsonProperty("imageUrl8")]
public string ImageUrl8 { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUrl9
商品画像URL9
半角英数字記号 最大桁数:2000
※かんたん出品連携利用時は必須
- ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、
かんたん出品連携の利用が可能になる場合あり
Declaration
[JsonProperty("imageUrl9")]
public string ImageUrl9 { get; set; }
Property Value
Type | Description |
---|---|
string |
ItemCode
製品管理コード(SKU)
半角英数字記号 最大桁数:128
※かんたん出品連携利用時は必須
Declaration
[JsonProperty("itemCode")]
public string ItemCode { get; set; }
Property Value
Type | Description |
---|---|
string |
JanCode
JANコード
半角英数字 最大桁数:13
Declaration
[JsonProperty("janCode")]
public string JanCode { get; set; }
Property Value
Type | Description |
---|---|
string |
ListPrice
定価
半角数字 最大桁数:7
- 1 以上かつ 1000000(7桁) 以下
Declaration
[JsonProperty("listPrice")]
public string ListPrice { get; set; }
Property Value
Type | Description |
---|---|
string |
MaskedLog
ログ用文字列(マスク済み)を設定する @param maskedLog ログ用文字列(マスク済み)
Declaration
[JsonIgnore]
public override string MaskedLog { set; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
商品名
全半角かな英数字記号 最大桁数:40
※かんたん出品連携利用時は必須
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OneTimeCode
ワンタイムコード
半角英数字記号 最大桁数:4296
バーコード決済を利用する際のQRコード、バーコードの値を指定します。
記号は、"+"(プラス)、"/"(スラッシュ)、"="(イコール)が使用可能です。
Declaration
[JsonProperty("oneTimeCode")]
public string OneTimeCode { get; set; }
Property Value
Type | Description |
---|---|
string |
OperatorId
従業員ID
半角英数字 最大桁数:128
従業員IDを指定します。
- 最大文字数:128byte
Declaration
[JsonProperty("operatorId")]
public string OperatorId { get; set; }
Property Value
Type | Description |
---|---|
string |
OrderId
取引ID
半角英数字 最大桁数:100
- マーチャント側で取引を一意に表す注文管理IDを指定します。
- 申込処理ごとに一意である必要があります。
- 半角英数字、“-”(ハイフン)、“_”(アンダースコア)も使用可能です。
Declaration
[JsonProperty("orderId")]
public string OrderId { get; set; }
Property Value
Type | Description |
---|---|
string |
PreapprovedServiceDescription
提供サービス説明
全半角かな英数字記号 最大桁数:120
随時決済の場合のみ設定
Declaration
[JsonProperty("preapprovedServiceDescription")]
public string PreapprovedServiceDescription { get; set; }
Property Value
Type | Description |
---|---|
string |
PreapprovedServiceName
提供サービス名
全半角かな英数字記号 最大桁数:20
随時決済の場合のみ設定
Declaration
[JsonProperty("preapprovedServiceName")]
public string PreapprovedServiceName { get; set; }
Property Value
Type | Description |
---|---|
string |
PushUrl
PUSH通知URL
半角英数字記号 最大桁数:256
決済結果を応答するPush通知先URL
※未指定の場合は、MAP(Merchant Administrator Portal)から登録申請した値を使用。
Declaration
[JsonProperty("pushUrl")]
public string PushUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Quantity
購入数
半角数字 最大桁数:7
※かんたん出品連携利用時は必須
Declaration
[JsonProperty("quantity")]
public string Quantity { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceCommand
決済サービスコマンド
Declaration
[JsonIgnore]
public override string ServiceCommand { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ServiceOptionType
サービスオプションタイプ
半角英数字
- "barcode":バーコード決済
- "online":オンライン決済
Declaration
[JsonProperty("serviceOptionType")]
public string ServiceOptionType { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceType
決済サービスタイプ
Declaration
[JsonIgnore]
public override string ServiceType { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Size
サイズ
全半角かな英数字記号 最大桁数:20
Declaration
[JsonProperty("size")]
public string Size { get; set; }
Property Value
Type | Description |
---|---|
string |
SlipCode
伝票コード
半角英数字 最大桁数:128
伝票コードを指定します。
- 最大文字数:128byte
Declaration
[JsonProperty("slipCode")]
public string SlipCode { get; set; }
Property Value
Type | Description |
---|---|
string |
StoreId
店舗ID
半角英数字 最大桁数:32
店舗IDを指定します。
- 最大文字数:32byte
Declaration
[JsonProperty("storeId")]
public string StoreId { get; set; }
Property Value
Type | Description |
---|---|
string |
SuccessUrl
決済成功URL
半角英数字記号 最大桁数:256
決済成功時の戻り先となるURL
※未指定の場合は、MAP(Merchant Administrator Portal)から登録申請した値を使用。
Declaration
[JsonProperty("successUrl")]
public string SuccessUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
TerminalId
店舗端末ID
半角英数字 最大桁数:32
店舗端末IDを指定します。
- 最大文字数:32byte
Declaration
[JsonProperty("terminalId")]
public string TerminalId { get; set; }
Property Value
Type | Description |
---|---|
string |
UnitPrice
購入時価格
半角数字 最大桁数:7
- 1 以上かつ 1000000(7桁) 以下
※かんたん出品連携利用時は必須
Declaration
[JsonProperty("unitPrice")]
public string UnitPrice { get; set; }
Property Value
Type | Description |
---|---|
string |
UseBuyerInfo
購入者情報フラグ
英字(boolean)
- true : merpayより購入者情報必要
- false : merpayより購入者情報不要
※未指定の場合は、falseとする
Declaration
[JsonProperty("useBuyerInfo")]
public string UseBuyerInfo { get; set; }
Property Value
Type | Description |
---|---|
string |
UseDeliveryAddress
配送先情報フラグ
英字(boolean)
- true : merpayより配送先情報必要
- false : merpayより配送先情報不要
※未指定の場合は、falseとする
Declaration
[JsonProperty("useDeliveryAddress")]
public string UseDeliveryAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
UserAgent
ユーザエージェント
半角英数字記号 最大桁数:1000
Declaration
[JsonProperty("userAgent")]
public string UserAgent { get; set; }
Property Value
Type | Description |
---|---|
string |
WithCapture
与信同時売上フラグ
英字(boolean)
- true : 与信同時売上
- false : 与信のみ("バーコード決済では指定不可")
※バーコード決済で未指定の場合は、true:与信同時売上。
※オンライン決済で未指定の場合は、false:与信のみ。
※accountingTypeが"1:随時"かつconsentAuthTypeが"0:承諾のみ"の場合、当項目は指定不可とする。
Declaration
[JsonProperty("withCapture")]
public string WithCapture { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
ToString()
ログ用文字列(マスク済み)を取得する @return ログ用文字列(マスク済み)
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |