Class TGMDK_NVQuery

Description

マーチャントが設定した要求DtoよりN=V文字列を作成するクラス

  • author: VeriTrans Inc.
  • copyright: VeriTrans Inc.
  • access: public

Located in /TGMDK_NVQuery.php (line 16)


	
			
Class Constant Summary
BASE_DTO_NAME = "MdkBaseDto"
DQUOTE_CHAR = "\""
EXPARAM_PREPOSIT = "exparam"
ITEM_CARDNUMBER = "CARDNUMBER"
MASKED_VALUE = "******"
N_SEP = "."
Method Summary
TGMDK_NVQuery __construct ()
mixed getNameValue ()
array getNVofDto (array $nvList, mixed $requestDto, string $NameString)
void getNVofRequestDto (MdkBaseDto $requestDto)
Methods
Constructor __construct (line 58)

コンストラクタ。

コンフィグファイルからデータを取得して当クラスを使用できる状態にする。

  • access: public
TGMDK_NVQuery __construct ()
getMaskedNameValue (line 79)

マスクされたN=V連結文字を取得する

  • return: マスクされたN=V連結文字
  • access: public
mixed getMaskedNameValue ()
getNameValue (line 70)

N=V連結文字を取得する

  • return: N=V連結文字
  • access: public
mixed getNameValue ()
getNVofDto (line 198)

Dtoに設定されたパラメータを取得しN=V文字列を生成。

  • return: 処理したN=Vを追加したN=Vリスト
  • access: public
array getNVofDto (array $nvList, mixed $requestDto, string $NameString)
  • array $nvList: N=Vリスト
  • mixed $requestDto: 処理対象Dto
  • string $NameString: Name階層(再帰呼出時に引き渡される)
getNVofRequestDto (line 90)

決済コマンド要求Dtoに設定されたパラメータを取得しN=V文字列を生成。 全てのパラメータを連結したN=V連結文字列を作成する。

  • access: public
void getNVofRequestDto (MdkBaseDto $requestDto)
  • MdkBaseDto $requestDto: 決済コマンド要求Dto
Class Constants
BASE_DTO_NAME = "MdkBaseDto" (line 31)

BaseDto名

DQUOTE_CHAR = "\"" (line 23)

ダブルクオート

DQUOTE_CHAR_ESCAPE = "\\\"" (line 25)

ダブルクオートエスケープ文字列

EXPARAM_PREPOSIT = "exparam" (line 33)

サービス固有要素前置詞

ITEM_CARDNUMBER = "CARDNUMBER" (line 35)

特殊マスク項目:カード番号

MASKED_VALUE = "******" (line 29)

マスク文字列

NV_UNITE_CHAR = "=" (line 27)

N、V結合文字

N_SEP = "." (line 37)

NAME部階層区切り文字

PARAM_UNITE_CHAR = '&' (line 19)

N=V要素結合文字

PARAM_UNITE_CHAR_ESCAPE = '\&' (line 21)

N=V要素結合文字エスケープ文字列

Documentation generated on Thu, 16 Feb 2017 18:06:02 +0900 by phpDocumentor 1.4.4