JDBC Driver for Authorize.net

Build 23.0.8839

SettledBatchList

Query settled batches for an Authorize.net merchant account.

テーブル固有の情報

次のカラムはWHERE 句で指定され、SetteldBatchList テーブルで使われます:IncludeStatistics およびSettlementTime。SettlementTime は'>'、'>='、'<='、および'<' 演算子をサポートしており、範囲を指定することができます。デフォルトの日付範囲は、現在の年度の2年前のUTC 1月1日から現在までです。 クエリでSettlementTime の範囲が設定されていない場合、演算子により31日前もしくは31日後のデータを返します。IncludeStatistics のデフォルト値はfalse です。 IncludeStatistics =true に設定した場合、最初と最後のSettelmentTime を含むすべての範囲のstatistics となります。Statistic であるカラムには、以下のテーブルのStatistic = True というプロパティがあります。

SELECT * FROM SettledBatchList WHERE SettlementTime > '2014-09-01' AND SettlementTime < '2014-09-20' AND IncludeStatistics = 'false'

2年前の1月1日から現時点までのデータを取得します。

SELECT * FROM SettledBatchList

SettlementTime 値より後のデータを取得します。

SELECT * FROM SettledBatchList WHERE SettlementTime > '2014-09-01'

SettlementTime 値より前のデータを取得します。

SELECT * FROM SettledBatchList WHERE SettlementTime <= '2014-09-01'

Columns

Name Type Statistic Description
BatchId [KEY] String The unique batch Id.
SettlementTime Datetime Date and time the batch was settled.
SettlementState String The status of the batch. Valid values are settledSuccessfully or error.

使用できる値は次のとおりです。settledSuccessfully, error

PaymentMethod String The payment method associated with the batch. Valid values are creditCard or eCheck.

使用できる値は次のとおりです。creditCard, eCheck

MarketType String The market type associated with the batch. Valid values are 0 (eCommerce), 1 (MOTO), or 2 (Retail).
Product String The product associated with the batch. Valid values are Card Not Present or Card Present.

使用できる値は次のとおりです。Card Not Present, Card Present

TotalCharge Decimal True The total charged amount.
TotalRefund Decimal True The total refunded amount.

Pseudo-Columns

Name Type Description
IncludeStatistics Boolean Identifies whether to retrieve the batch statistics in addition to the basic batch details. The default value is false.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839