public class QualifiedInvoiceIssuerManagerImpl extends Object implements QualifiedInvoiceIssuerManager
修飾子とタイプ | フィールドと説明 |
---|---|
protected CompanySettingsHelper |
companySettingsHelper
|
protected DateHelper |
dateHelper
|
protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30mQualifiedInvoiceSettingsService |
k30mQualifiedInvoiceSettingsService
K30mQualifiedInvoiceSettingsService . |
static String |
KEY_DATA
処理結果取得キー:data.
|
static String |
KEY_ERROR_MESSAGE
処理結果取得キー:error_message.
|
static String |
KEY_RESULT
処理結果取得キー:result.
|
protected PropertyHelper |
propertyHelper
|
コンストラクタと説明 |
---|
QualifiedInvoiceIssuerManagerImpl() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected HttpURLConnection |
getConnection(String url,
String method,
Proxy proxy)
HTTP接続取得.
|
protected Proxy |
getProxySetting(jp.co.slcs.kaiden.v2.product_workflow.foundation.model.entity.K30mQualifiedInvoiceSettings settings)
プロキシ設定取得.
|
Map<String,Object> |
getQualifiedInvoiceIssuer(String companyCd,
List<String> number,
Date day)
適格請求書発行事業者の公表情報取得.
|
Map<String,Object> |
getQualifiedInvoiceIssuer(String companyCd,
List<String> number,
String history)
適格請求書発行事業者の公表情報取得.
|
protected String |
getQueryString(String key,
String value)
URLのクエリ―文字列を取得.
|
protected Map<String,Object> |
getResponse(HttpURLConnection conn)
Web-APIのレスポンス取得.
|
protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.entity.K30mQualifiedInvoiceSettings |
getSettings(String searchCriteriaCompany,
Timestamp searchCriteriaDate)
適格請求書設定取得.
|
protected String |
toFormat(Date day)
日付をyyyy-MM-dd形式の文字列に変換.
|
protected Map<String,Object> |
validateSettings(jp.co.slcs.kaiden.v2.product_workflow.foundation.model.entity.K30mQualifiedInvoiceSettings settings)
適格請求書設定の検証.
|
public static final String KEY_ERROR_MESSAGE
@Autowired protected CompanySettingsHelper companySettingsHelper
@Autowired protected DateHelper dateHelper
@Autowired protected PropertyHelper propertyHelper
@Autowired protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30mQualifiedInvoiceSettingsService k30mQualifiedInvoiceSettingsService
K30mQualifiedInvoiceSettingsService
.public Map<String,Object> getQualifiedInvoiceIssuer(String companyCd, List<String> number, String history) throws KaidenSystemException
Web-API機能を利用した登録番号による適格請求書発行事業者の公表情報を取得します。
処理結果には下記の内容が格納されます。
取得キー | 値 |
---|---|
result | true(正常終了)、false(エラー終了) |
error_message | エラーメッセージ ※エラー終了時のみ設定 |
data | Web-APIの返却結果(JSON) 正常終了時のみ設定 |
getQualifiedInvoiceIssuer
インタフェース内 QualifiedInvoiceIssuerManager
companyCd
- 会社コードnumber
- 登録番号history
- 履歴情報要否KaidenSystemException
- KaidenSystemException
public Map<String,Object> getQualifiedInvoiceIssuer(String companyCd, List<String> number, Date day) throws KaidenSystemException
Web-API機能を利用した登録番号、判定基準日指定による適格請求書発行事業者の公表情報を取得します。
処理結果には下記の内容が格納されます。
取得キー | 値 |
---|---|
result | true(正常終了)、false(エラー終了) |
error_message | エラーメッセージ ※エラー終了時のみ設定 |
data | Web-APIの返却結果(JSON) 正常終了時のみ設定 |
getQualifiedInvoiceIssuer
インタフェース内 QualifiedInvoiceIssuerManager
companyCd
- 会社コードnumber
- 登録番号day
- 判定基準日KaidenSystemException
- KaidenSystemException
protected Map<String,Object> validateSettings(jp.co.slcs.kaiden.v2.product_workflow.foundation.model.entity.K30mQualifiedInvoiceSettings settings)
settings
- 適格請求書設定protected HttpURLConnection getConnection(String url, String method, Proxy proxy) throws IOException
url
- 接続URLmethod
- HTTPメソッドproxy
- Proxy情報IOException
- 入出力エラーprotected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.entity.K30mQualifiedInvoiceSettings getSettings(String searchCriteriaCompany, Timestamp searchCriteriaDate)
searchCriteriaCompany
- 会社コードsearchCriteriaDate
- 検索基準日protected Proxy getProxySetting(jp.co.slcs.kaiden.v2.product_workflow.foundation.model.entity.K30mQualifiedInvoiceSettings settings)
settings
- 適格請求書設定protected Map<String,Object> getResponse(HttpURLConnection conn) throws IOException
conn
- HTTP接続IOException
- レスポンス取得エラーprotected String getQueryString(String key, String value)
key
- パラメータキーvalue
- パラメータCopyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.