新規支払いビジネス・ポリシーの追加

ストア・グループの新規支払いポリシーを追加するには、以下の SQL ステートメントを実行してください。

insert into policy( policy_id, policyname, policytype_id, storeent_id, properties )
values( 9091, 'CustomOffline_COD', 'Payment', -1,
'cassetteName=CustomOffline&profileName=WC51_CustomOffline_COD&offlineMethod=COD' )

insert into policydesc( policy_id, language_id, Description, longDescription )
values( 9091, -1, 'Cash On Delivery', 'Cash On Delivery (CustomOffline)' )

insert into policycmd( policy_id, businessCmdClass )
values( 9091, 'com.ibm.commerce.payment.commands.DoPaymentPMCmdImpl' )

insert into policycmd( policy_id, businessCmdClass )
values( 9091, 'com.ibm.commerce.payment.commands.CheckPaymentAcceptPMCmdImpl' )

insert into policycmd( policy_id, businessCmdClass )
values( 9091, 'com.ibm.commerce.payment.commands.DoCancelPMCmdImpl' )

insert into policycmd( policy_id, businessCmdClass )
values( 9091, 'com.ibm.commerce.payment.commands.DoDepositPMCmdImpl' )

insert into policycmd( policy_id, businessCmdClass )
values( 9091, 'com.ibm.commerce.payment.commands.DoRefundPMCmdImpl' )

要件:  

同様に、CustomOffline カセット用に新しい支払いポリシーを定義できます。このカセットは、 WC51_CustomOffline_BillMe というサンプル・キャッシャー・プロファイルで指定されている "BillMe" 支払いメソッドを使用します。

関連概念 (1275 バイト)

関連タスク (1275 バイト)

関連参照 (1275 バイト)

IBM 著作権