diff --git a/build.gradle b/build.gradle index 3158522..f22bfc2 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group 'partner-java-sdk' -version '0.2.3' +version '0.2.4' sourceCompatibility = 1.8 diff --git a/docs/error-response.csv b/docs/error-response.csv new file mode 100644 index 0000000..63c2c89 --- /dev/null +++ b/docs/error-response.csv @@ -0,0 +1,794 @@ +method,path,status_code,type,ja,en +GET,/user,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +GET,/dashboard,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +,,422,private_money_not_found,,Private money not found +GET,/transfers,403,,, +GET,/transfers-v2,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +GET,/transactions,403,,, +GET,/transactions-v2,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +POST,/transactions,400,invalid_parameter_both_point_and_money_are_zero,,One of 'money_amount' or 'point_amount' must be a positive (>0) number +,,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,,, +,,410,transaction_canceled,"取引がキャンセルされました",Transaction was canceled +,,422,customer_user_not_found,,The customer user is not found +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +,,422,private_money_not_found,,Private money not found +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,transaction_has_done,"取引は完了しており、キャンセルすることはできません",Transaction has been copmpleted and cannot be canceled +,,422,account_restricted,"特定のアカウントの支払いに制限されています",The account is restricted to pay for a specific account +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,c2c_transfer_not_allowed,"このマネーではユーザ間マネー譲渡は利用できません",Customer to customer transfer is not available for this money +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_balance_exceeded,"口座残高が上限を超えました",The account balance exceeded the limit +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,account_total_topup_limit_range,"期間内での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,account_total_topup_limit_entire_period,"全期間での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,coupon_unavailable_shop,"このクーポンはこの店舗では使用できません。",This coupon is unavailable for this shop. +,,422,coupon_already_used,"このクーポンは既に使用済みです。",This coupon is already used. +,,422,coupon_not_received,"このクーポンは受け取られていません。",This coupon is not received. +,,422,coupon_not_sent,"このウォレットに対して配信されていないクーポンです。",This coupon is not sent to this account yet. +,,422,coupon_amount_not_enough,"このクーポンを使用するには支払い額が足りません。",The payment amount not enough to use this coupon. +,,422,coupon_not_payment,"クーポンは支払いにのみ使用できます。",Coupons can only be used for payment. +,,422,coupon_unavailable,"このクーポンは使用できません。",This coupon is unavailable. +,,422,account_suspended,"アカウントは停止されています",The account is suspended +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,customer_account_not_found,,The customer account is not found +,,422,shop_account_not_found,,The shop account is not found +,,422,account_currency_mismatch,"アカウント間で通貨が異なっています",Currency mismatch between accounts +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,same_account_transaction,"同じアカウントに送信しています",Sending to the same account +,,422,transaction_invalid_done_at,"取引完了日が無効です",Transaction completion date is invalid +,,422,transaction_invalid_amount,"取引金額が数値ではないか、受け入れられない桁数です",Transaction amount is not a number or cannot be accepted for this currency +,,503,temporarily_unavailable,,Service Unavailable +GET,/transactions/:uuid,403,,, +,,404,,, +GET,/transactions/requests/:request-id,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,transaction_not_found,"取引が見つかりません",Transaction not found +POST,/transactions/:uuid/refund,400,invalid_mdk_token,,Invalid MDK token +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,card_not_found,"カードが見つかりません", +,,409,already_registered_veritrans_card,"このカードは既に登録されています", +,,409,already_registered_veritrans_account,"この会員は既に登録されています", +,,422,transaction_not_found,"取引が見つかりません",Transaction not found +,,422,can_not_refund_bank_transaction,"銀行取引はキャンセルできません",Bank transactions cannot be cancelled. +,,422,unavailable_card_error,"このクレジットカードはご利用になれません",The credit card is unavailable +,,422,veritrans_wrong_password_or_cancel,"本人認証に失敗しました。(パスワード間違い、キャンセル、カード会社判定)",Not complete authentication by cardholder. +,,422,unacceptable_card,,Card is not acceptable for some reason +,,422,veritrans_membership_not_registered,"会員登録をしていません", +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,transaction_already_refunded,"取引は既に払い戻されています",Transaction already refunded. +,,422,not_refundable_transaction_type,"キャンセルできるのは取引種別が支払いかチャージのときのみです。",The transaction can refund when its type is payment or topup only +,,503,veritrans_api_error,"カード決済サービスが一時的にご利用になれません。時間を置いて再度お試しください",Credit card service is temporarily unavailable. Please wait a moment and try again +,,503,temporarily_unavailable,,Service Unavailable +POST,/transactions/topup,400,invalid_parameter_both_point_and_money_are_zero,,One of 'money_amount' or 'point_amount' must be a positive (>0) number +,,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,410,transaction_canceled,"取引がキャンセルされました",Transaction was canceled +,,422,invalid_metadata,"メタデータの形式が不正です",Invalid metadata format +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,transaction_has_done,"取引は完了しており、キャンセルすることはできません",Transaction has been copmpleted and cannot be canceled +,,422,account_restricted,"特定のアカウントの支払いに制限されています",The account is restricted to pay for a specific account +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,c2c_transfer_not_allowed,"このマネーではユーザ間マネー譲渡は利用できません",Customer to customer transfer is not available for this money +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_balance_exceeded,"口座残高が上限を超えました",The account balance exceeded the limit +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,account_total_topup_limit_range,"期間内での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,account_total_topup_limit_entire_period,"全期間での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,coupon_unavailable_shop,"このクーポンはこの店舗では使用できません。",This coupon is unavailable for this shop. +,,422,coupon_already_used,"このクーポンは既に使用済みです。",This coupon is already used. +,,422,coupon_not_received,"このクーポンは受け取られていません。",This coupon is not received. +,,422,coupon_not_sent,"このウォレットに対して配信されていないクーポンです。",This coupon is not sent to this account yet. +,,422,coupon_amount_not_enough,"このクーポンを使用するには支払い額が足りません。",The payment amount not enough to use this coupon. +,,422,coupon_not_payment,"クーポンは支払いにのみ使用できます。",Coupons can only be used for payment. +,,422,coupon_unavailable,"このクーポンは使用できません。",This coupon is unavailable. +,,422,account_suspended,"アカウントは停止されています",The account is suspended +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,account_currency_mismatch,"アカウント間で通貨が異なっています",Currency mismatch between accounts +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,same_account_transaction,"同じアカウントに送信しています",Sending to the same account +,,422,transaction_invalid_done_at,"取引完了日が無効です",Transaction completion date is invalid +,,422,transaction_invalid_amount,"取引金額が数値ではないか、受け入れられない桁数です",Transaction amount is not a number or cannot be accepted for this currency +,,422,customer_account_not_found,,The customer account is not found +,,422,shop_account_not_found,,The shop account is not found +,,422,private_money_not_found,,Private money not found +,,503,temporarily_unavailable,,Service Unavailable +POST,/transactions/topup/check,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,410,transaction_canceled,"取引がキャンセルされました",Transaction was canceled +,,422,customer_user_not_found,,The customer user is not found +,,422,check_not_found,"これはチャージQRコードではありません",This is not a topup QR code +,,422,invalid_metadata,"メタデータの形式が不正です",Invalid metadata format +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,transaction_has_done,"取引は完了しており、キャンセルすることはできません",Transaction has been copmpleted and cannot be canceled +,,422,account_restricted,"特定のアカウントの支払いに制限されています",The account is restricted to pay for a specific account +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,c2c_transfer_not_allowed,"このマネーではユーザ間マネー譲渡は利用できません",Customer to customer transfer is not available for this money +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_balance_exceeded,"口座残高が上限を超えました",The account balance exceeded the limit +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,account_total_topup_limit_range,"期間内での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,account_total_topup_limit_entire_period,"全期間での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,coupon_unavailable_shop,"このクーポンはこの店舗では使用できません。",This coupon is unavailable for this shop. +,,422,coupon_already_used,"このクーポンは既に使用済みです。",This coupon is already used. +,,422,coupon_not_received,"このクーポンは受け取られていません。",This coupon is not received. +,,422,coupon_not_sent,"このウォレットに対して配信されていないクーポンです。",This coupon is not sent to this account yet. +,,422,coupon_amount_not_enough,"このクーポンを使用するには支払い額が足りません。",The payment amount not enough to use this coupon. +,,422,coupon_not_payment,"クーポンは支払いにのみ使用できます。",Coupons can only be used for payment. +,,422,coupon_unavailable,"このクーポンは使用できません。",This coupon is unavailable. +,,422,account_suspended,"アカウントは停止されています",The account is suspended +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,customer_account_not_found,,The customer account is not found +,,422,shop_account_not_found,,The shop account is not found +,,422,account_currency_mismatch,"アカウント間で通貨が異なっています",Currency mismatch between accounts +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,same_account_transaction,"同じアカウントに送信しています",Sending to the same account +,,422,transaction_invalid_done_at,"取引完了日が無効です",Transaction completion date is invalid +,,422,transaction_invalid_amount,"取引金額が数値ではないか、受け入れられない桁数です",Transaction amount is not a number or cannot be accepted for this currency +,,422,check_already_received,"このチャージQRコードは既に受取済みの為、チャージ出来ませんでした",Check is already received +,,422,check_unavailable,"このチャージQRコードは利用できません",The topup QR code is not available +,,503,temporarily_unavailable,,Service Unavailable +POST,/transactions/topup/seven-bank-atm,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,410,transaction_canceled,"取引がキャンセルされました",Transaction was canceled +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,transaction_has_done,"取引は完了しており、キャンセルすることはできません",Transaction has been copmpleted and cannot be canceled +,,422,account_restricted,"特定のアカウントの支払いに制限されています",The account is restricted to pay for a specific account +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,c2c_transfer_not_allowed,"このマネーではユーザ間マネー譲渡は利用できません",Customer to customer transfer is not available for this money +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_balance_exceeded,"口座残高が上限を超えました",The account balance exceeded the limit +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,account_total_topup_limit_range,"期間内での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,account_total_topup_limit_entire_period,"全期間での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,coupon_unavailable_shop,"このクーポンはこの店舗では使用できません。",This coupon is unavailable for this shop. +,,422,coupon_already_used,"このクーポンは既に使用済みです。",This coupon is already used. +,,422,coupon_not_received,"このクーポンは受け取られていません。",This coupon is not received. +,,422,coupon_not_sent,"このウォレットに対して配信されていないクーポンです。",This coupon is not sent to this account yet. +,,422,coupon_amount_not_enough,"このクーポンを使用するには支払い額が足りません。",The payment amount not enough to use this coupon. +,,422,coupon_not_payment,"クーポンは支払いにのみ使用できます。",Coupons can only be used for payment. +,,422,coupon_unavailable,"このクーポンは使用できません。",This coupon is unavailable. +,,422,account_suspended,"アカウントは停止されています",The account is suspended +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,customer_account_not_found,,The customer account is not found +,,422,shop_account_not_found,,The shop account is not found +,,422,account_currency_mismatch,"アカウント間で通貨が異なっています",Currency mismatch between accounts +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,same_account_transaction,"同じアカウントに送信しています",Sending to the same account +,,422,transaction_invalid_done_at,"取引完了日が無効です",Transaction completion date is invalid +,,422,transaction_invalid_amount,"取引金額が数値ではないか、受け入れられない桁数です",Transaction amount is not a number or cannot be accepted for this currency +,,503,temporarily_unavailable,,Service Unavailable +POST,/transactions/payment,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,410,transaction_canceled,"取引がキャンセルされました",Transaction was canceled +,,422,invalid_metadata,"メタデータの形式が不正です",Invalid metadata format +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,transaction_has_done,"取引は完了しており、キャンセルすることはできません",Transaction has been copmpleted and cannot be canceled +,,422,account_restricted,"特定のアカウントの支払いに制限されています",The account is restricted to pay for a specific account +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,c2c_transfer_not_allowed,"このマネーではユーザ間マネー譲渡は利用できません",Customer to customer transfer is not available for this money +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_balance_exceeded,"口座残高が上限を超えました",The account balance exceeded the limit +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,account_total_topup_limit_range,"期間内での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,account_total_topup_limit_entire_period,"全期間での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,coupon_unavailable_shop,"このクーポンはこの店舗では使用できません。",This coupon is unavailable for this shop. +,,422,coupon_already_used,"このクーポンは既に使用済みです。",This coupon is already used. +,,422,coupon_not_received,"このクーポンは受け取られていません。",This coupon is not received. +,,422,coupon_not_sent,"このウォレットに対して配信されていないクーポンです。",This coupon is not sent to this account yet. +,,422,coupon_amount_not_enough,"このクーポンを使用するには支払い額が足りません。",The payment amount not enough to use this coupon. +,,422,coupon_not_payment,"クーポンは支払いにのみ使用できます。",Coupons can only be used for payment. +,,422,coupon_unavailable,"このクーポンは使用できません。",This coupon is unavailable. +,,422,account_suspended,"アカウントは停止されています",The account is suspended +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,account_currency_mismatch,"アカウント間で通貨が異なっています",Currency mismatch between accounts +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,same_account_transaction,"同じアカウントに送信しています",Sending to the same account +,,422,transaction_invalid_done_at,"取引完了日が無効です",Transaction completion date is invalid +,,422,transaction_invalid_amount,"取引金額が数値ではないか、受け入れられない桁数です",Transaction amount is not a number or cannot be accepted for this currency +,,422,customer_account_not_found,,The customer account is not found +,,422,shop_account_not_found,,The shop account is not found +,,422,private_money_not_found,,Private money not found +,,503,temporarily_unavailable,,Service Unavailable +POST,/transactions/transfer,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,410,transaction_canceled,"取引がキャンセルされました",Transaction was canceled +,,422,customer_user_not_found,,The customer user is not found +,,422,private_money_not_found,,Private money not found +,,422,invalid_metadata,"メタデータの形式が不正です",Invalid metadata format +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,transaction_has_done,"取引は完了しており、キャンセルすることはできません",Transaction has been copmpleted and cannot be canceled +,,422,account_restricted,"特定のアカウントの支払いに制限されています",The account is restricted to pay for a specific account +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,c2c_transfer_not_allowed,"このマネーではユーザ間マネー譲渡は利用できません",Customer to customer transfer is not available for this money +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_balance_exceeded,"口座残高が上限を超えました",The account balance exceeded the limit +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,account_total_topup_limit_range,"期間内での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,account_total_topup_limit_entire_period,"全期間での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,coupon_unavailable_shop,"このクーポンはこの店舗では使用できません。",This coupon is unavailable for this shop. +,,422,coupon_already_used,"このクーポンは既に使用済みです。",This coupon is already used. +,,422,coupon_not_received,"このクーポンは受け取られていません。",This coupon is not received. +,,422,coupon_not_sent,"このウォレットに対して配信されていないクーポンです。",This coupon is not sent to this account yet. +,,422,coupon_amount_not_enough,"このクーポンを使用するには支払い額が足りません。",The payment amount not enough to use this coupon. +,,422,coupon_not_payment,"クーポンは支払いにのみ使用できます。",Coupons can only be used for payment. +,,422,coupon_unavailable,"このクーポンは使用できません。",This coupon is unavailable. +,,422,account_suspended,"アカウントは停止されています",The account is suspended +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,customer_account_not_found,,The customer account is not found +,,422,shop_account_not_found,,The shop account is not found +,,422,account_currency_mismatch,"アカウント間で通貨が異なっています",Currency mismatch between accounts +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,same_account_transaction,"同じアカウントに送信しています",Sending to the same account +,,422,transaction_invalid_done_at,"取引完了日が無効です",Transaction completion date is invalid +,,422,transaction_invalid_amount,"取引金額が数値ではないか、受け入れられない桁数です",Transaction amount is not a number or cannot be accepted for this currency +,,503,temporarily_unavailable,,Service Unavailable +POST,/transactions/exchange,400,invalid_parameters,"項目が無効です",Invalid parameters +,,410,transaction_canceled,"取引がキャンセルされました",Transaction was canceled +,,422,account_not_found,"アカウントが見つかりません",The account is not found +,,422,transaction_restricted,,Transaction is not allowed +,,422,can_not_exchange_between_same_private_money,"同じマネーとの交換はできません", +,,422,can_not_exchange_between_users,"異なるユーザー間での交換は出来ません", +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,account_currency_mismatch,"アカウント間で通貨が異なっています",Currency mismatch between accounts +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,same_account_transaction,"同じアカウントに送信しています",Sending to the same account +,,422,transaction_has_done,"取引は完了しており、キャンセルすることはできません",Transaction has been copmpleted and cannot be canceled +,,422,transaction_invalid_done_at,"取引完了日が無効です",Transaction completion date is invalid +,,422,transaction_invalid_amount,"取引金額が数値ではないか、受け入れられない桁数です",Transaction amount is not a number or cannot be accepted for this currency +,,422,account_restricted,"特定のアカウントの支払いに制限されています",The account is restricted to pay for a specific account +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,c2c_transfer_not_allowed,"このマネーではユーザ間マネー譲渡は利用できません",Customer to customer transfer is not available for this money +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_balance_exceeded,"口座残高が上限を超えました",The account balance exceeded the limit +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,account_total_topup_limit_range,"期間内での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,account_total_topup_limit_entire_period,"全期間での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,coupon_unavailable_shop,"このクーポンはこの店舗では使用できません。",This coupon is unavailable for this shop. +,,422,coupon_already_used,"このクーポンは既に使用済みです。",This coupon is already used. +,,422,coupon_not_received,"このクーポンは受け取られていません。",This coupon is not received. +,,422,coupon_not_sent,"このウォレットに対して配信されていないクーポンです。",This coupon is not sent to this account yet. +,,422,coupon_amount_not_enough,"このクーポンを使用するには支払い額が足りません。",The payment amount not enough to use this coupon. +,,422,coupon_not_payment,"クーポンは支払いにのみ使用できます。",Coupons can only be used for payment. +,,422,coupon_unavailable,"このクーポンは使用できません。",This coupon is unavailable. +,,422,account_suspended,"アカウントは停止されています",The account is suspended +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_closed,"アカウントは退会しています",The account is closed +,,503,temporarily_unavailable,,Service Unavailable +POST,/transactions/cpm,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,cpm_unacceptable_amount,"このCPMトークンに対して許可されていない金額です。",The amount is unacceptable for the CPM token +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,410,transaction_canceled,"取引がキャンセルされました",Transaction was canceled +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +,,422,private_money_not_found,,Private money not found +,,422,cpm_token_already_proceed,"このCPMトークンは既に処理されています。",The CPM token is already proceed +,,422,cpm_token_already_expired,"このCPMトークンは既に失効しています。",The CPM token is already expired +,,422,cpm_token_not_found,"CPMトークンが見つかりませんでした。",The CPM token is not found. +,,422,invalid_metadata,"メタデータの形式が不正です",Invalid metadata format +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,transaction_has_done,"取引は完了しており、キャンセルすることはできません",Transaction has been copmpleted and cannot be canceled +,,422,account_restricted,"特定のアカウントの支払いに制限されています",The account is restricted to pay for a specific account +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,c2c_transfer_not_allowed,"このマネーではユーザ間マネー譲渡は利用できません",Customer to customer transfer is not available for this money +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_balance_exceeded,"口座残高が上限を超えました",The account balance exceeded the limit +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,account_total_topup_limit_range,"期間内での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,account_total_topup_limit_entire_period,"全期間での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,coupon_unavailable_shop,"このクーポンはこの店舗では使用できません。",This coupon is unavailable for this shop. +,,422,coupon_already_used,"このクーポンは既に使用済みです。",This coupon is already used. +,,422,coupon_not_received,"このクーポンは受け取られていません。",This coupon is not received. +,,422,coupon_not_sent,"このウォレットに対して配信されていないクーポンです。",This coupon is not sent to this account yet. +,,422,coupon_amount_not_enough,"このクーポンを使用するには支払い額が足りません。",The payment amount not enough to use this coupon. +,,422,coupon_not_payment,"クーポンは支払いにのみ使用できます。",Coupons can only be used for payment. +,,422,coupon_unavailable,"このクーポンは使用できません。",This coupon is unavailable. +,,422,account_suspended,"アカウントは停止されています",The account is suspended +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,customer_account_not_found,,The customer account is not found +,,422,shop_account_not_found,,The shop account is not found +,,422,account_currency_mismatch,"アカウント間で通貨が異なっています",Currency mismatch between accounts +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,same_account_transaction,"同じアカウントに送信しています",Sending to the same account +,,422,transaction_invalid_done_at,"取引完了日が無効です",Transaction completion date is invalid +,,422,transaction_invalid_amount,"取引金額が数値ではないか、受け入れられない桁数です",Transaction amount is not a number or cannot be accepted for this currency +,,503,temporarily_unavailable,,Service Unavailable +POST,/transactions/bulk,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,403,organization_not_issuer,"発行体以外に許可されていない操作です",Unpermitted operation except for issuer organizations. +,,409,,, +,,422,private_money_not_found,,Private money not found +,,422,bulk_transaction_invalid_csv_format,"入力されたCSVデータに誤りがあります",Invalid csv format +POST,/external-transactions,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,410,transaction_canceled,"取引がキャンセルされました",Transaction was canceled +,,422,customer_user_not_found,,The customer user is not found +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +,,422,private_money_not_found,,Private money not found +,,422,invalid_metadata,"メタデータの形式が不正です",Invalid metadata format +,,422,customer_account_not_found,,The customer account is not found +,,422,shop_account_not_found,,The shop account is not found +,,422,account_suspended,"アカウントは停止されています",The account is suspended +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,account_currency_mismatch,"アカウント間で通貨が異なっています",Currency mismatch between accounts +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,same_account_transaction,"同じアカウントに送信しています",Sending to the same account +,,422,transaction_has_done,"取引は完了しており、キャンセルすることはできません",Transaction has been copmpleted and cannot be canceled +,,422,transaction_invalid_done_at,"取引完了日が無効です",Transaction completion date is invalid +,,422,transaction_invalid_amount,"取引金額が数値ではないか、受け入れられない桁数です",Transaction amount is not a number or cannot be accepted for this currency +,,422,account_restricted,"特定のアカウントの支払いに制限されています",The account is restricted to pay for a specific account +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,c2c_transfer_not_allowed,"このマネーではユーザ間マネー譲渡は利用できません",Customer to customer transfer is not available for this money +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_balance_exceeded,"口座残高が上限を超えました",The account balance exceeded the limit +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,account_total_topup_limit_range,"期間内での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,account_total_topup_limit_entire_period,"全期間での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,coupon_unavailable_shop,"このクーポンはこの店舗では使用できません。",This coupon is unavailable for this shop. +,,422,coupon_already_used,"このクーポンは既に使用済みです。",This coupon is already used. +,,422,coupon_not_received,"このクーポンは受け取られていません。",This coupon is not received. +,,422,coupon_not_sent,"このウォレットに対して配信されていないクーポンです。",This coupon is not sent to this account yet. +,,422,coupon_amount_not_enough,"このクーポンを使用するには支払い額が足りません。",The payment amount not enough to use this coupon. +,,422,coupon_not_payment,"クーポンは支払いにのみ使用できます。",Coupons can only be used for payment. +,,422,coupon_unavailable,"このクーポンは使用できません。",This coupon is unavailable. +,,503,temporarily_unavailable,,Service Unavailable +POST,/external-transactions/:uuid/refund,400,invalid_mdk_token,,Invalid MDK token +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,card_not_found,"カードが見つかりません", +,,409,already_registered_veritrans_card,"このカードは既に登録されています", +,,409,already_registered_veritrans_account,"この会員は既に登録されています", +,,422,event_not_found,"イベントが見つかりません",Event not found +,,422,can_not_refund_bank_transaction,"銀行取引はキャンセルできません",Bank transactions cannot be cancelled. +,,422,unavailable_card_error,"このクレジットカードはご利用になれません",The credit card is unavailable +,,422,veritrans_wrong_password_or_cancel,"本人認証に失敗しました。(パスワード間違い、キャンセル、カード会社判定)",Not complete authentication by cardholder. +,,422,unacceptable_card,,Card is not acceptable for some reason +,,422,veritrans_membership_not_registered,"会員登録をしていません", +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,transaction_already_refunded,"取引は既に払い戻されています",Transaction already refunded. +,,422,not_refundable_transaction_type,"キャンセルできるのは取引種別が支払いかチャージのときのみです。",The transaction can refund when its type is payment or topup only +,,503,veritrans_api_error,"カード決済サービスが一時的にご利用になれません。時間を置いて再度お試しください",Credit card service is temporarily unavailable. Please wait a moment and try again +,,503,temporarily_unavailable,,Service Unavailable +GET,/bulk-transactions/:uuid,404,notfound,,Not found +GET,/bulk-transactions/:uuid/jobs,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,bulk_transaction_not_found,"Bulk取引が見つかりません",Bulk transaction not found +GET,/bills,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +POST,/bills,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,shop_account_not_found,,The shop account is not found +,,422,private_money_not_found,,Private money not found +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_suspended,"アカウントは停止されています",The account is suspended +PATCH,/bills/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +GET,/checks,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,organization_not_found,,Organization not found +,,422,private_money_not_found,,Private money not found +POST,/checks,400,invalid_parameter_both_point_and_money_are_zero,,One of 'money_amount' or 'point_amount' must be a positive (>0) number +,,400,invalid_parameter_only_merchants_can_attach_points_to_check,,Only merchants can attach points to check +,,400,invalid_parameter_combination_usage_limit_and_is_onetime,,'usage_limit' can not be specified if 'is_onetime' is true. +,,400,invalid_parameters,"項目が無効です",Invalid parameters +,,400,invalid_parameter_expires_at,,'expires_at' must be in the future +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,account_private_money_is_not_issued_by_organization,,The account's private money is not issued by this organization +,,422,shop_account_not_found,,The shop account is not found +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +GET,/checks/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,422,account_private_money_is_not_issued_by_organization,,The account's private money is not issued by this organization +PATCH,/checks/:uuid,400,invalid_parameter_combination_usage_limit_and_is_onetime,,'usage_limit' can not be specified if 'is_onetime' is true. +,,400,invalid_parameters,"項目が無効です",Invalid parameters +,,400,invalid_parameter_expires_at,,'expires_at' must be in the future +,,400,invalid_parameter_both_point_and_money_are_zero,,One of 'money_amount' or 'point_amount' must be a positive (>0) number +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,onetime_check_cannot_reenabled,"使用済みのワンタイムチャージQRコードは再度有効化できません",One-time check already used and disabled cannot be re-enabled +,,422,account_private_money_is_not_issued_by_organization,,The account's private money is not issued by this organization +GET,/users,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +POST,/users,400,user_invalid_email,"入力されたメールアドレスが間違っています。入力内容をご確認ください", +,,400,not_shop_admin_user_must_not_be_linked_to_any_shops,,Admin user who does not have shop-authority must not be linked to any shops +,,400,shop_admin_user_requires_shop,,Admin user who has shop-authority requires at least one shop +,,403,,, +,,403,forbidden,,Forbidden +,,409,email_conflict,"このメールアドレスは既に使われています",The E-mail address is already registered +,,422,organization_not_found,,Organization not found +,,503,failed_to_send_email,,Failed to send an E-mail. +GET,/users/invitations,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,,, +,,422,organization_not_found,,Organization not found +PATCH,/users/invitations/:uuid,403,,, +,,404,,, +,,409,admin_user_conflict,,The Admin-user is already registered +,,503,failed_to_send_email,,Failed to send an E-mail. +POST,/users/:uuid/accounts,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,user_not_found,,The user is not found +,,422,private_money_not_found,,Private money not found +,,422,invalid_metadata,"メタデータの形式が不正です",Invalid metadata format +,,422,user_attributes_external_id_not_match,"ユーザー属性情報の外部IDが一致しません",Not match external id of user attributes +,,422,user_attributes_not_found,"ユーザー属性情報が存在しません",Not found the user attrubtes +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,account_can_not_create,"このマネーに新規アカウントを作る事は出来ません",Can not create an account with this money +GET,/users/:uuid,403,,, +,,404,,, +PATCH,/users/:uuid,400,not_shop_admin_user_must_not_be_linked_to_any_shops,,Admin user who does not have shop-authority must not be linked to any shops +,,400,shop_admin_user_requires_shop,,Admin user who has shop-authority requires at least one shop +,,403,,, +,,404,,, +,,503,temporarily_unavailable,,Service Unavailable +DELETE,/users/:uuid,403,,, +,,404,,, +,,503,temporarily_unavailable,,Service Unavailable +GET,/private-moneys,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,organization_not_found,,Organization not found +GET,/private-moneys/:uuid,403,,, +,,404,,, +GET,/private-moneys/:uuid/summary,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,,, +,,422,private_money_not_found,,Private money not found +GET,/private-moneys/:uuid/clearings,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,private_money_not_found,,Private money not found +GET,/private-moneys/:uuid/organization-summaries,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,,, +,,404,,, +POST,/private-moneys,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,,, +,,409,private_money_conflict,"このマネーは既に登録されています。",The money is already used +,,422,organization_not_found,,Organization not found +,,422,only_one_of_months_and_days_can_be_selected,"月と日のどちらか1つだけを選択できます",Only one of months and days can be selected +,,422,private_money_topup_transaction_limit_exceeded,"一回のチャージ取引の最大チャージ可能額がウォレットの最大マネー残高を越えています",The money amount for the transaction exceeds the maximum balance +GET,/terminals,403,,, +GET,/organizations,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,private_money_not_found,,Private money not found +POST,/organizations,403,,, +,,409,organization_conflict,,The organization code is already used +,,409,shop_name_conflict,,The shop name is already used +,,422,organization_private_money_not_found,,Issuer organization does not have private-money +,,422,unavailable_private_money,,Given private money(s) is/are not available +,,503,failed_to_send_email,,Failed to send an E-mail. +GET,/organizations/:code,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,organization_not_found,,Organization not found +,,422,organization_not_member_organization,,The specified organization is not a member organization of the organization accessing this API +,,422,organization_third_party_private_money_not_found,,Issuer organization does not have third-party private-money +PUT,/organizations/:code,403,,, +,,404,,, +,,422,organization_not_member_organization,,The specified organization is not a member organization of the organization accessing this API +,,422,organization_third_party_private_money_not_found,,Issuer organization does not have third-party private-money +,,503,temporarily_unavailable,,Service Unavailable +GET,/organizations/:code/shops,403,,, +GET,/shops,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,private_money_not_found,,Private money not found +,,422,organization_not_found,,Organization not found +POST,/shops,403,,, +,,409,email_conflict,"このメールアドレスは既に使われています",The E-mail address is already registered +,,409,shop_name_conflict,,The shop name is already used +,,422,organization_not_member_organization,,The specified organization is not a member organization of the organization accessing this API +,,422,organization_not_found,,Organization not found +,,422,unavailable_private_money,,Given private money(s) is/are not available +POST,/shops-v2,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,409,shop_name_conflict,,The shop name is already used +,,422,organization_not_found,,Organization not found +,,422,unpermitted_private_money,"このマネーは使えません",This money is not available +,,422,unavailable_private_money,,Given private money(s) is/are not available +,,422,organization_not_member_organization,,The specified organization is not a member organization of the organization accessing this API +GET,/shops/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +PATCH,/shops/:uuid,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,409,shop_name_conflict,,The shop name is already used +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +,,422,unavailable_private_money,,Given private money(s) is/are not available +,,422,organization_not_member_organization,,The specified organization is not a member organization of the organization accessing this API +,,503,temporarily_unavailable,,Service Unavailable +GET,/customers,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +GET,/customers/transactions,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,customer_user_not_found,,The customer user is not found +,,422,private_money_not_found,,Private money not found +GET,/customers/:uuid,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,422,account_not_found,"アカウントが見つかりません",The account is not found +,,422,private_money_not_found,,Private money not found +PATCH,/clearings/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,clearing_not_found,"精算が見つかりません",Clearing not found +,,503,temporarily_unavailable,,Service Unavailable +GET,/clearings,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +GET,/clearings/preview,400,clearing_to_should_be_past_date,"締め日は過去の日付を指定してください",Should set past date for 'closing_date' +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,private_money_not_found,,Private money not found +POST,/clearings,400,clearing_to_should_be_past_date,"締め日は過去の日付を指定してください",Should set past date for 'closing_date' +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,private_money_not_found,,Private money not found +GET,/clearings/flico,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +GET,/clearings/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,clearing_not_found,"精算が見つかりません",Clearing not found +GET,/messaging-operations,403,,, +POST,/messaging-operations,400,messaging_operation_over_transfer_limit,,The messaging operation's amount is over transfer limit +,,400,messaging_operation_sender_account_not_exist,,The account of sender user does not exist +,,400,messaging_operation_is_draft,,The messaging operation is draft +,,400,messaging_attachment_user_not_exist,,The user does not exist +,,403,,, +,,409,messaging_operation_already_done,,The messaging operation is already done +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,shop_account_not_found,,The shop account is not found +,,503,temporarily_unavailable,,Service Unavailable +GET,/messaging-operations/receivers,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,,, +GET,/messaging-operations/:uuid,403,,, +,,404,notfound,,Not found +PATCH,/messaging-operations/:uuid,400,messaging_operation_over_transfer_limit,,The messaging operation's amount is over transfer limit +,,400,messaging_operation_sender_account_not_exist,,The account of sender user does not exist +,,400,messaging_operation_is_draft,,The messaging operation is draft +,,400,messaging_attachment_user_not_exist,,The user does not exist +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,,, +,,409,messaging_operation_already_done,,The messaging operation is already done +,,503,temporarily_unavailable,,Service Unavailable +DELETE,/messaging-operations/:uuid,403,,, +,,404,,, +,,503,temporarily_unavailable,,Service Unavailable +POST,/user-stats,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,invalid_promotional_operation_user,"ユーザーの指定に不正な値が含まれています",Invalid user data is specified +,,422,invalid_promotional_operation_status,"不正な処理ステータスです",Invalid operation status is specified +,,503,user_stats_operation_service_unavailable,"一時的にユーザー統計サービスが利用不能です",User stats service is temporarily unavailable +POST,/device/pokeregis,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,,, +,,409,hardware_id_conflict,,Hardware id is already registered +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,account_not_found,"アカウントが見つかりません",The account is not found +PUT,/device/pokeregis/:serial-number,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,,, +,,404,,, +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,account_not_found,"アカウントが見つかりません",The account is not found +,,500,,, +GET,/device/pokeregis/:serial-number,403,,, +,,404,,, +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,500,,, +POST,/device/pokeregis/:serial-number,400,terminal_is_already_invalidated,,The terminal the Hardware id has is already invalidated +,,403,,, +,,404,,, +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,500,,, +GET,/device/kiosks,400,,, +,,403,,, +,,422,private_money_not_found,,Private money not found +,,422,organization_not_found,,Organization not found +GET,/device/kiosk-maintenances,403,,, +GET,/device/kiosks/:kiosk-id,400,,, +,,403,,, +,,404,,, +,,422,private_money_not_found,,Private money not found +,,422,organization_not_found,,Organization not found +POST,/merchandise-tag,403,,, +,,503,temporarily_unavailable,,Service Unavailable +GET,/merchandise-tag,403,,, +,,404,,, +POST,/tokens,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +,,422,organization_not_found,,Organization not found +GET,/tokens,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +DELETE,/tokens/:token,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,503,temporarily_unavailable,,Service Unavailable +GET,/accounts/customers,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,private_money_not_found,,Private money not found +POST,/accounts/customers,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,user_not_found,,The user is not found +,,422,private_money_not_found,,Private money not found +,,422,invalid_metadata,"メタデータの形式が不正です",Invalid metadata format +,,422,user_attributes_external_id_not_match,"ユーザー属性情報の外部IDが一致しません",Not match external id of user attributes +,,422,user_attributes_not_found,"ユーザー属性情報が存在しません",Not found the user attrubtes +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,account_can_not_create,"このマネーに新規アカウントを作る事は出来ません",Can not create an account with this money +PATCH,/accounts/:uuid/customers,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,invalid_metadata,"メタデータの形式が不正です",Invalid metadata format +,,422,account_not_found,"アカウントが見つかりません",The account is not found +,,422,user_attributes_not_found,"ユーザー属性情報が存在しません",Not found the user attrubtes +,,422,account_closed,"アカウントは退会しています",The account is closed +,,503,temporarily_unavailable,,Service Unavailable +GET,/accounts/shops,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,private_money_not_found,,Private money not found +GET,/accounts/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +PATCH,/accounts/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,503,temporarily_unavailable,,Service Unavailable +DELETE,/accounts/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,410,transaction_canceled,"取引がキャンセルされました",Transaction was canceled +,,422,account_not_found,"アカウントが見つかりません",The account is not found +,,422,account_not_pre_closed,"アカウントが退会準備中ではありません",The account is not pre-closed +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,account_currency_mismatch,"アカウント間で通貨が異なっています",Currency mismatch between accounts +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,same_account_transaction,"同じアカウントに送信しています",Sending to the same account +,,422,transaction_has_done,"取引は完了しており、キャンセルすることはできません",Transaction has been copmpleted and cannot be canceled +,,422,transaction_invalid_done_at,"取引完了日が無効です",Transaction completion date is invalid +,,422,transaction_invalid_amount,"取引金額が数値ではないか、受け入れられない桁数です",Transaction amount is not a number or cannot be accepted for this currency +,,422,account_restricted,"特定のアカウントの支払いに制限されています",The account is restricted to pay for a specific account +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,c2c_transfer_not_allowed,"このマネーではユーザ間マネー譲渡は利用できません",Customer to customer transfer is not available for this money +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_balance_exceeded,"口座残高が上限を超えました",The account balance exceeded the limit +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,account_total_topup_limit_range,"期間内での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,account_total_topup_limit_entire_period,"全期間での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,coupon_unavailable_shop,"このクーポンはこの店舗では使用できません。",This coupon is unavailable for this shop. +,,422,coupon_already_used,"このクーポンは既に使用済みです。",This coupon is already used. +,,422,coupon_not_received,"このクーポンは受け取られていません。",This coupon is not received. +,,422,coupon_not_sent,"このウォレットに対して配信されていないクーポンです。",This coupon is not sent to this account yet. +,,422,coupon_amount_not_enough,"このクーポンを使用するには支払い額が足りません。",The payment amount not enough to use this coupon. +,,422,coupon_not_payment,"クーポンは支払いにのみ使用できます。",Coupons can only be used for payment. +,,422,coupon_unavailable,"このクーポンは使用できません。",This coupon is unavailable. +,,422,account_suspended,"アカウントは停止されています",The account is suspended +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,user_attributes_not_found,"ユーザー属性情報が存在しません",Not found the user attrubtes +,,503,temporarily_unavailable,,Service Unavailable +GET,/accounts/:uuid/balances,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +GET,/accounts/:uuid/expired-balances,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +GET,/accounts/:uuid/transfers/summary,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +GET,/users/:uuid/accounts,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +GET,/cashtrays/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +DELETE,/cashtrays/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,422,cashtray_already_proceed,"この決済QRコードは既に処理されています",Cashtray is already proceed +,,422,cashtray_expired,"この決済QRコードは有効期限が切れています",Cashtray is expired +,,422,cashtray_already_canceled,"この決済QRコードは既に無効化されています",Cashtray is already canceled +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +POST,/cashtrays,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,account_not_found,"アカウントが見つかりません",The account is not found +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +PATCH,/cashtrays/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,422,cashtray_already_proceed,"この決済QRコードは既に処理されています",Cashtray is already proceed +,,422,cashtray_expired,"この決済QRコードは有効期限が切れています",Cashtray is expired +,,422,cashtray_already_canceled,"この決済QRコードは既に無効化されています",Cashtray is already canceled +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +GET,/cpm/:cpm-token,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,cpm_token_not_found,"CPMトークンが見つかりませんでした。",The CPM token is not found. +GET,/seven-bank-atm-sessions/:qr-info,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +PATCH,/seven-bank-atm-sessions/:qr-info,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +POST,/campaigns,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,campaign_overlaps,"同期間に開催されるキャンペーン間で優先度が重複してます",The campaign period overlaps under the same private-money / type / priority +,,422,shop_account_not_found,,The shop account is not found +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +,,422,private_money_not_found,,Private money not found +,,422,campaign_period_overlaps,"同期間に開催されるキャンペーン間で優先度が重複してます",The campaign period overlaps under the same private-money / type / priority +,,422,campaign_invalid_period,,Invalid campaign period starts_at later than ends_at +GET,/campaigns,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +PATCH,/campaigns/:uuid,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +,,422,campaign_budget_caps_exceeded,"キャンペーン予算上限額を越えています",The campaign budget caps exceeded +GET,/campaigns/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +POST,/webhooks,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,409,organization_worker_task_finish_webhook_conflict,"そのwebhookは既に登録されています",The webhook is already registered +GET,/webhooks,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +PATCH,/webhooks/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,409,organization_worker_task_finish_webhook_conflict,"そのwebhookは既に登録されています",The webhook is already registered +,,503,temporarily_unavailable,,Service Unavailable +DELETE,/webhooks/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,notfound,,Not found +,,503,temporarily_unavailable,,Service Unavailable +GET,/coupons,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +,,422,private_money_not_found,,Private money not found +POST,/coupons,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,partner_storage_not_found,"指定したIDのデータは保存されていません",Not found by storage_id +,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found +,,422,private_money_not_found,,Private money not found +,,422,coupon_image_storage_conflict,"クーポン画像のストレージIDは既に存在します",The coupon image storage_id is already exists +GET,/coupons/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,coupon_not_found,"クーポンが見つかりませんでした。",The coupon is not found. +PATCH,/coupons/:uuid,400,invalid_parameters,"項目が無効です",Invalid parameters +,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,404,partner_storage_not_found,"指定したIDのデータは保存されていません",Not found by storage_id +,,422,coupon_not_found,"クーポンが見つかりませんでした。",The coupon is not found. +,,422,coupon_image_storage_conflict,"クーポン画像のストレージIDは既に存在します",The coupon image storage_id is already exists +,,503,temporarily_unavailable,,Service Unavailable +POST,/storage/v1,400,partner_decryption_failed,"リクエスト中の暗号データを復号化することができませんでした。",Could not decrypt the data. +,,400,partner_client_not_found,"partner_clientが見つかりません。",The partner client is not found. +,,422,formats_not_supported_by_storage,"このフォーマットは対応していません",This format is not supported +POST,/user-devices,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,user_not_found,,The user is not found +GET,/user-devices/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,user_device_not_found,,The user-device not found +POST,/user-devices/:uuid/activate,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,422,user_device_not_found,,The user-device not found +POST,/user-devices/:uuid/banks,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,403,forbidden,,Forbidden +,,422,user_device_is_disabled,"このデバイスは無効化されています",The user-device is disabled +,,422,user_device_not_found,,The user-device not found +,,422,bank_registration_limit_error,"8口座を越えて登録できません",Can not register more than 8 accounts. +,,422,private_money_not_found,,Private money not found +,,422,paytree_disabled_private_money,"このマネーは銀行から引き落とし出来ません",This money cannot be charged from the bank +,,422,unpermitted_private_money,"このマネーは使えません",This money is not available +,,503,incomplete_configration_for_organization_bank,"現状、このマネーは銀行からのチャージを行えません。システム管理者へお問合せ下さい","Currently, this money cannot be topup from this bank. Please contact your system administrator." +GET,/user-devices/:uuid/banks,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,403,forbidden,,Forbidden +,,422,private_money_not_found,,Private money not found +,,422,user_device_not_found,,The user-device not found +POST,/user-devices/:uuid/banks/topup,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission +,,403,forbidden,,Forbidden +,,403,user_bank_disabled_error,"現在、このユーザーは銀行からのチャージは利用できません",Topup from this user's bank have now been stopped. +,,404,user_bank_not_found,"登録された銀行が見つかりません",Bank not found +,,410,transaction_canceled,"取引がキャンセルされました",Transaction was canceled +,,422,private_money_not_found,,Private money not found +,,422,user_device_is_disabled,"このデバイスは無効化されています",The user-device is disabled +,,422,user_device_not_found,,The user-device not found +,,422,account_not_found,"アカウントが見つかりません",The account is not found +,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup +,,422,transaction_has_done,"取引は完了しており、キャンセルすることはできません",Transaction has been copmpleted and cannot be canceled +,,422,account_restricted,"特定のアカウントの支払いに制限されています",The account is restricted to pay for a specific account +,,422,account_balance_not_enough,"口座残高が不足してます",The account balance is not enough +,,422,c2c_transfer_not_allowed,"このマネーではユーザ間マネー譲渡は利用できません",Customer to customer transfer is not available for this money +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_balance_exceeded,"口座残高が上限を超えました",The account balance exceeded the limit +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer +,,422,account_total_topup_limit_range,"期間内での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,account_total_topup_limit_entire_period,"全期間での合計チャージ額上限に達しました",Entire period topup limit reached +,,422,coupon_unavailable_shop,"このクーポンはこの店舗では使用できません。",This coupon is unavailable for this shop. +,,422,coupon_already_used,"このクーポンは既に使用済みです。",This coupon is already used. +,,422,coupon_not_received,"このクーポンは受け取られていません。",This coupon is not received. +,,422,coupon_not_sent,"このウォレットに対して配信されていないクーポンです。",This coupon is not sent to this account yet. +,,422,coupon_amount_not_enough,"このクーポンを使用するには支払い額が足りません。",The payment amount not enough to use this coupon. +,,422,coupon_not_payment,"クーポンは支払いにのみ使用できます。",Coupons can only be used for payment. +,,422,coupon_unavailable,"このクーポンは使用できません。",This coupon is unavailable. +,,422,account_suspended,"アカウントは停止されています",The account is suspended +,,422,account_closed,"アカウントは退会しています",The account is closed +,,422,customer_account_not_found,,The customer account is not found +,,422,shop_account_not_found,,The shop account is not found +,,422,account_currency_mismatch,"アカウント間で通貨が異なっています",Currency mismatch between accounts +,,422,account_pre_closed,"アカウントは退会準備中です",The account is pre-closed +,,422,account_not_accessible,"アカウントにアクセスできません",The account is not accessible by this user +,,422,terminal_is_invalidated,"端末は無効化されています",The terminal is already invalidated +,,422,same_account_transaction,"同じアカウントに送信しています",Sending to the same account +,,422,transaction_invalid_done_at,"取引完了日が無効です",Transaction completion date is invalid +,,422,transaction_invalid_amount,"取引金額が数値ではないか、受け入れられない桁数です",Transaction amount is not a number or cannot be accepted for this currency +,,422,paytree_disabled_private_money,"このマネーは銀行から引き落とし出来ません",This money cannot be charged from the bank +,,422,unpermitted_private_money,"このマネーは使えません",This money is not available +,,503,paytree_request_failure,"銀行口座の残高不足または、銀行の外部サービス起因により、チャージに失敗しました",Failure to topup due to external services of the bank +,,503,temporarily_unavailable,,Service Unavailable +,,503,incomplete_configration_for_organization_bank,"現状、このマネーは銀行からのチャージを行えません。システム管理者へお問合せ下さい","Currently, this money cannot be topup from this bank. Please contact your system administrator." diff --git a/docs/index.md b/docs/index.md index ec9b0ec..95e6475 100644 --- a/docs/index.md +++ b/docs/index.md @@ -150,7 +150,7 @@ APIサーバがエラーレスポンスを返した場合に使われます。 CPMトークンの現在の状態を取得します。CPMトークンの有効期限やCPM取引の状態を返します。 ```java Request request = new GetCpmToken( - "ulFo5mDyJw8V3XaTOkFDFD" // cpmToken: CPMトークン + "uGDOLqsy43AtWyT6hyzJkP" // cpmToken: CPMトークン ); ``` @@ -172,15 +172,15 @@ CPM取引時にエンドユーザーが店舗に提示するバーコードを 取引一覧を返します。 ```java Request request = new ListTransactions() - .from("2021-02-09T18:58:32.000000Z") // 開始日時 - .to("2022-12-03T17:28:10.000000Z") // 終了日時 + .from("2021-10-29T04:05:32.000000Z") // 開始日時 + .to("2021-09-14T01:13:45.000000Z") // 終了日時 .page(1) // ページ番号 .perPage(50) // 1ページ分の取引数 .shopId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 店舗ID .customerId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // エンドユーザーID .customerName("太郎") // エンドユーザー名 .terminalId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 端末ID - .transactionId("kJRYuzmNr") // 取引ID + .transactionId("dv4Vr2ADh") // 取引ID .organizationCode("pocketchange") // 組織コード .privateMoneyId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // マネーID .setModified(true) // キャンセルフラグ @@ -391,10 +391,10 @@ Request request = new CreateTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ) - .moneyAmount(713) - .pointAmount(7622) - .pointExpiresAt("2022-08-29T06:44:29.000000Z") // ポイント有効期限 - .description("YcPpoEqcZqYNWKYupHW3vkZPbupwOmpLyfcnvR24ekndSEuijqLz34cJjz9WzSXV2waIpnDEjnPuGDOLqsy43AtWyT6hyzJkPIxdv4Vr2ADhNnBQ2AhJrtrRhEmEhncAz"); + .moneyAmount(5908) + .pointAmount(238) + .pointExpiresAt("2021-04-14T12:51:14.000000Z") // ポイント有効期限 + .description("2AhJrtrRhEmEhncAz9T8Jn6tKv842hmKtJWGe0W2JoBVxOBG6QSEaMM6DcJjfAtdrmKAg3KBKDu0vlbYdV"); ``` --- @@ -422,11 +422,11 @@ Request request = new ListTransactionsV2() .customerId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // エンドユーザーID .customerName("太郎") // エンドユーザー名 .description("店頭QRコードによる支払い") // 取引説明文 - .transactionId("T8Jn6tKv84") // 取引ID + .transactionId("6n9n") // 取引ID .setModified(true) // キャンセルフラグ .types(new String[]{"topup","payment"}) // 取引種別 (複数指定可)、チャージ=topup、支払い=payment - .from("2023-12-17T00:21:30.000000Z") // 開始日時 - .to("2020-09-12T19:25:31.000000Z") // 終了日時 + .from("2023-11-21T23:39:56.000000Z") // 開始日時 + .to("2020-11-05T05:28:40.000000Z") // 終了日時 .nextPageCursorId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 次ページへ遷移する際に起点となるtransactionのID .prevPageCursorId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 前ページへ遷移する際に起点となるtransactionのID .perPage(50); // 1ページ分の取引数 @@ -662,9 +662,9 @@ Request request = new CreateTopupTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // privateMoneyId: マネーID ) .bearPointShopId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // ポイント支払時の負担店舗ID - .moneyAmount(4072) // マネー額 - .pointAmount(9325) // ポイント額 - .pointExpiresAt("2022-02-17T02:29:28.000000Z") // ポイント有効期限 + .moneyAmount(9868) // マネー額 + .pointAmount(2287) // ポイント額 + .pointExpiresAt("2020-08-17T18:52:59.000000Z") // ポイント有効期限 .description("初夏のチャージキャンペーン") // 取引履歴に表示する説明文 .metadata("{\"key\":\"value\"}") // 取引メタデータ .requestId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"); // リクエストID @@ -808,15 +808,22 @@ items.addProperty("unit_price", 100); items.addProperty("price", 100); items.addProperty("is_discounted", false); items.addProperty("other", "{}"); +JsonObject items2 = new JsonObject(); +items2.addProperty("jan_code", "abc"); +items2.addProperty("name", "name1"); +items2.addProperty("unit_price", 100); +items2.addProperty("price", 100); +items2.addProperty("is_discounted", false); +items2.addProperty("other", "{}"); Request request = new CreatePaymentTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // shopId: 店舗ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // customerId: エンドユーザーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // privateMoneyId: マネーID - 4299 // amount: 支払い額 + 7611 // amount: 支払い額 ) .description("たい焼き(小倉)") // 取引履歴に表示する説明文 .metadata("{\"key\":\"value\"}") // 取引メタデータ - .products(new Object[]{items}) // 商品情報データ + .products(new Object[]{items,items2}) // 商品情報データ .requestId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"); // リクエストID ``` @@ -956,9 +963,9 @@ items3.addProperty("price", 100); items3.addProperty("is_discounted", false); items3.addProperty("other", "{}"); Request request = new CreateCpmTransaction( - "JWGe0W2JoBVxOBG6QSEaMM", // cpmToken: CPMトークン + "3cE33CQPF6kxIlI0uguDnz", // cpmToken: CPMトークン "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // shopId: 店舗ID - 1462.0 // amount: 取引金額 + 7017.0 // amount: 取引金額 ) .description("たい焼き(小倉)") // 取引説明文 .metadata("{\"key\":\"value\"}") // 店舗側メタデータ @@ -1072,7 +1079,7 @@ Request request = new CreateTransferTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // senderId: 送金元ユーザーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // receiverId: 受取ユーザーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // privateMoneyId: マネーID - 3012.0 // amount: 送金額 + 4244.0 // amount: 送金額 ) .metadata("{\"key\":\"value\"}") // 取引メタデータ .description("たい焼き(小倉)") // 取引履歴に表示する説明文 @@ -1174,9 +1181,9 @@ Request request = new CreateExchangeTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - 7268 + 4322 ) - .description("jfAtdrmKAg3KBKDu0vlbYdVC6n9nVLo43cE33CQPF6kxIlI0uguDnziraNYM7VX5YLnlD8HOOCD") + .description("NYM7VX5YLnlD8HOOCDlP4GZ7jbmXMO5zVMwfk3fyCehTHNb57OPgysrQCIrNbKg5EGtS1CRG8HTOfVnvp3qGXZFBsOSpPHbliv7UIdhUMzObVJcG5btiH5rur7GsubMGTjIcOXKD9o8Kba3") .requestId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"); // リクエストID ``` @@ -1233,7 +1240,7 @@ Request request = new RefundTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // transactionId: 取引ID ) .description("返品対応のため") // 取引履歴に表示する返金事由 - .returningPointExpiresAt("2023-05-11T18:52:28.000000Z"); // 返却ポイントの有効期限 + .returningPointExpiresAt("2021-07-25T19:14:10.000000Z"); // 返却ポイントの有効期限 ``` --- @@ -1328,8 +1335,8 @@ Request request = new RequestUserStats( Request request = new GetAccountTransferSummary( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // accountId: ウォレットID ) - .from("2023-06-01T05:18:02.000000Z") // 集計期間の開始時刻 - .to("2021-03-07T07:42:08.000000Z") // 集計期間の終了時刻 + .from("2023-10-08T11:07:38.000000Z") // 集計期間の開始時刻 + .to("2022-03-06T17:42:32.000000Z") // 集計期間の終了時刻 .transferTypes(new String[]{"topup","payment"}); // 取引明細種別 (複数指定可) ``` @@ -1403,19 +1410,19 @@ Request request = new GetAccountTransferSummary( #### ```java Request request = new ListTransfers() - .from("2020-01-25T14:29:08.000000Z") - .to("2024-01-19T14:59:19.000000Z") - .page(7643) - .perPage(422) + .from("2020-11-23T13:17:35.000000Z") + .to("2022-06-30T21:15:53.000000Z") + .page(6600) + .perPage(7718) .shopId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") - .shopName("XMO5zVMwfk3fyCehTHNb57OPgysrQCIrNbKg5EGtS1CRG8HTOfVnvp3qGXZFBsOSpPHbliv7UIdhUMzObVJcG5btiH5rur7GsubMGTjIcOXKD9o8Kba3zToGBURahT5P9DvE8UV0j2YqC15yVJZpc8KVpHARBDgg1Gn2XcmC1vS6JUWIFuWHifSCeHqDX4OovF1kPsfFAfUD6hedBMnO5c5siBhPS0PdEUgltcrxJuLRpP") + .shopName("BURahT5P9DvE8UV0j2YqC15yVJZpc8KVpH") .customerId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") - .customerName("yEyLzg5USUF0acnAYj9bCB7rUqwv3jfmweeo8gmjkrVbM4yoFbYRleOf9KOkq0RFzjJHwRArvOU8komJ1Atk5RVlui7mGRMrDuzhgMwi2QEwxvEfxvbfoaYN92mmS964bSnGq9n7PpIOomMWW66P3Il") + .customerName("ARBDgg1") .transactionId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") .privateMoneyId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") .setModified(true) - .transactionTypes(new String[]{"transfer","payment","exchange","cashback","topup","expire"}) - .transferTypes(new String[]{"transfer","campaign","expire","exchange","payment"}) // 取引明細の種類でフィルターします。 + .transactionTypes(new String[]{"expire"}) + .transferTypes(new String[]{"cashback","coupon","topup","transfer","exchange","campaign","payment","expire"}) // 取引明細の種類でフィルターします。 .description("店頭QRコードによる支払い"); // 取引詳細説明文 ``` @@ -1483,20 +1490,20 @@ Request request = new ListTransfers() ```java Request request = new ListTransfersV2() .shopId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 店舗ID - .shopName("gDsmRtGnF7L4kFCWrbFqt27c2") // 店舗名 + .shopName("cmC1vS6JUWIFuWHifSCeHqDX4OovF1kPsfFAfUD6hedBMnO5c5siBhPS0PdEUgltcrxJuLRpPyEyLzg5USUF0acnAYj9bCB7rUqwv3jfmweeo8gmjkrVbM4yoFbYRleOf9KOkq0RFzjJHwRArvOU8komJ1Atk5R") // 店舗名 .customerId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // エンドユーザーID - .customerName("HcIyayD2aKjXN0NBWyTy0xC6byToeZcV73t7vuEmirlewYMI5WNi6AMJzfUo3Mw8SUD48UFt") // エンドユーザー名 + .customerName("lui7mGRMrDuzhgMwi2QEwxvEfxvbfoaYN92mmS964bSnGq9n7PpIOomMWW66P3IlH0kXmsTMdugDsmRtGnF7L4k") // エンドユーザー名 .transactionId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 取引ID .privateMoneyId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // マネーID - .setModified(true) // キャンセルフラグ - .transactionTypes(new String[]{"transfer"}) // 取引種別 (複数指定可)、チャージ=topup、支払い=payment + .setModified(false) // キャンセルフラグ + .transactionTypes(new String[]{"cashback","topup"}) // 取引種別 (複数指定可)、チャージ=topup、支払い=payment .nextPageCursorId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 次ページへ遷移する際に起点となるtransferのID .prevPageCursorId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 前ページへ遷移する際に起点となるtransferのID .perPage(50) // 1ページ分の取引数 - .transferTypes(new String[]{"payment","expire","coupon"}) // 取引明細種別 (複数指定可) + .transferTypes(new String[]{"expire","transfer"}) // 取引明細種別 (複数指定可) .description("店頭QRコードによる支払い") // 取引詳細説明文 - .from("2020-06-13T02:02:54.000000Z") // 開始日時 - .to("2021-07-01T03:33:06.000000Z"); // 終了日時 + .from("2023-02-15T14:34:28.000000Z") // 開始日時 + .to("2023-04-18T00:39:59.000000Z"); // 終了日時 ``` --- @@ -1767,13 +1774,13 @@ QRコードを読み取る方法以外にも、このURLリンクを直接スマ Request request = new CreateCheck( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // accountId: 送金元の店舗アカウントID ) - .moneyAmount(1137.0) // 付与マネー額 - .pointAmount(1857.0) // 付与ポイント額 + .moneyAmount(935.0) // 付与マネー額 + .pointAmount(2607.0) // 付与ポイント額 .description("test check") // 説明文(アプリ上で取引の説明文として表示される) .setOnetime(false) // ワンタイムかどうかのフラグ - .usageLimit(3412) // ワンタイムでない場合の最大読み取り回数 - .expiresAt("2021-03-19T15:02:16.000000Z") // チャージQRコード自体の失効日時 - .pointExpiresAt("2023-07-16T22:11:18.000000Z") // チャージQRコードによって付与されるポイント残高の有効期限 + .usageLimit(4146) // ワンタイムでない場合の最大読み取り回数 + .expiresAt("2021-08-06T05:57:27.000000Z") // チャージQRコード自体の失効日時 + .pointExpiresAt("2023-09-18T07:29:12.000000Z") // チャージQRコードによって付与されるポイント残高の有効期限 .pointExpiresInDays(60) // チャージQRコードによって付与されるポイント残高の有効期限(相対日数指定) .bearPointAccount("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"); // ポイント額を負担する店舗のウォレットID ``` @@ -1888,18 +1895,18 @@ NULLに設定すると無制限に読み取り可能なチャージQRコード #### チャージQRコード一覧の取得 ```java Request request = new ListChecks() - .page(3706) // ページ番号 + .page(7969) // ページ番号 .perPage(50) // 1ページの表示数 .privateMoneyId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // マネーID - .organizationCode("0A3") // 組織コード - .expiresFrom("2023-09-08T15:18:47.000000Z") // 有効期限の期間によるフィルター(開始時点) - .expiresTo("2022-08-09T10:42:18.000000Z") // 有効期限の期間によるフィルター(終了時点) - .createdFrom("2022-06-07T12:42:11.000000Z") // 作成日時の期間によるフィルター(開始時点) - .createdTo("2023-06-18T14:55:56.000000Z") // 作成日時の期間によるフィルター(終了時点) + .organizationCode("cI") // 組織コード + .expiresFrom("2021-06-12T19:58:59.000000Z") // 有効期限の期間によるフィルター(開始時点) + .expiresTo("2022-12-03T23:21:29.000000Z") // 有効期限の期間によるフィルター(終了時点) + .createdFrom("2020-06-25T13:13:54.000000Z") // 作成日時の期間によるフィルター(開始時点) + .createdTo("2022-07-01T05:15:53.000000Z") // 作成日時の期間によるフィルター(終了時点) .issuerShopId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 発行店舗ID - .description("2EcUb892j") // チャージQRコードの説明文 - .setOnetime(true) // ワンタイムのチャージQRコードかどうか - .setDisabled(true); // 無効化されたチャージQRコードかどうか + .description("ayD2") // チャージQRコードの説明文 + .setOnetime(false) // ワンタイムのチャージQRコードかどうか + .setDisabled(false); // 無効化されたチャージQRコードかどうか ``` --- @@ -2060,16 +2067,16 @@ Request request = new GetCheck( Request request = new UpdateCheck( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // checkId: チャージQRコードのID ) - .moneyAmount(691.0) // 付与マネー額 - .pointAmount(974.0) // 付与ポイント額 + .moneyAmount(9706.0) // 付与マネー額 + .pointAmount(2136.0) // 付与ポイント額 .description("test check") // チャージQRコードの説明文 .setOnetime(true) // ワンタイムかどうかのフラグ - .usageLimit(787) // ワンタイムでない場合の最大読み取り回数 - .expiresAt("2020-08-02T15:37:21.000000Z") // チャージQRコード自体の失効日時 - .pointExpiresAt("2020-03-29T12:42:24.000000Z") // チャージQRコードによって付与されるポイント残高の有効期限 + .usageLimit(7430) // ワンタイムでない場合の最大読み取り回数 + .expiresAt("2020-12-10T21:14:54.000000Z") // チャージQRコード自体の失効日時 + .pointExpiresAt("2020-04-25T01:02:58.000000Z") // チャージQRコードによって付与されるポイント残高の有効期限 .pointExpiresInDays(60) // チャージQRコードによって付与されるポイント残高の有効期限(相対日数指定) .bearPointAccount("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // ポイント額を負担する店舗のウォレットID - .setDisabled(true); // 無効化されているかどうかのフラグ + .setDisabled(false); // 無効化されているかどうかのフラグ ``` --- @@ -2269,18 +2276,18 @@ QRコード生成時に送金元店舗のウォレット情報や、送金額な 支払いQRコード一覧を表示します。 ```java Request request = new ListBills() - .page(2111) // ページ番号 - .perPage(6570) // 1ページの表示数 - .billId("yFeM64i") // 支払いQRコードのID + .page(6138) // ページ番号 + .perPage(8927) // 1ページの表示数 + .billId("T") // 支払いQRコードのID .privateMoneyId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // マネーID - .organizationCode("a-RQbg-P55SQ") // 組織コード + .organizationCode("xs6VNjs2Mf2--N-VxoE9n6N1iQ3v") // 組織コード .description("test bill") // 取引説明文 - .createdFrom("2022-04-08T18:46:56.000000Z") // 作成日時(起点) - .createdTo("2023-05-26T08:42:49.000000Z") // 作成日時(終点) + .createdFrom("2023-03-22T05:00:31.000000Z") // 作成日時(起点) + .createdTo("2024-02-06T00:24:19.000000Z") // 作成日時(終点) .shopName("bill test shop1") // 店舗名 .shopId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 店舗ID - .lowerLimitAmount(8447) // 金額の範囲によるフィルタ(下限) - .upperLimitAmount(5739) // 金額の範囲によるフィルタ(上限) + .lowerLimitAmount(3980) // 金額の範囲によるフィルタ(下限) + .upperLimitAmount(6980) // 金額の範囲によるフィルタ(上限) .setDisabled(true); // 支払いQRコードが無効化されているかどうか ``` @@ -2429,7 +2436,7 @@ Request request = new CreateBill( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // privateMoneyId: 支払いマネーのマネーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // shopId: 支払い先(受け取り人)の店舗ID ) - .amount(7339.0) // 支払い額 + .amount(1684.0) // 支払い額 .description("test bill"); // 説明文(アプリ上で取引の説明文として表示される) ``` @@ -2453,9 +2460,9 @@ Request request = new CreateBill( Request request = new UpdateBill( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // billId: 支払いQRコードのID ) - .amount(2784.0) // 支払い額 + .amount(9656.0) // 支払い額 .description("test bill") // 説明文 - .setDisabled(false); // 無効化されているかどうか + .setDisabled(true); // 無効化されているかどうか ``` --- @@ -2519,10 +2526,10 @@ Cashtrayを作成します。 Request request = new CreateCashtray( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // privateMoneyId: マネーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // shopId: 店舗ユーザーID - 4879.0 // amount: 金額 + 6869.0 // amount: 金額 ) .description("たい焼き(小倉)") // 取引履歴に表示する説明文 - .expiresIn(4584); // 失効時間(秒) + .expiresIn(3655); // 失効時間(秒) ``` --- @@ -2687,9 +2694,9 @@ Cashtrayの内容を更新します。bodyパラメーターは全て省略可 Request request = new UpdateCashtray( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // cashtrayId: CashtrayのID ) - .amount(4450.0) // 金額 + .amount(5236.0) // 金額 .description("たい焼き(小倉)") // 取引履歴に表示する説明文 - .expiresIn(4918); // 失効時間(秒) + .expiresIn(6303); // 失効時間(秒) ``` --- @@ -2772,9 +2779,9 @@ Request request = new GetAccount( Request request = new UpdateAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // accountId: ウォレットID ) - .setSuspended(true) // ウォレットが凍結されているかどうか - .status("suspended") // ウォレット状態 - .canTransferTopup(true); // チャージ可能かどうか + .setSuspended(false) // ウォレットが凍結されているかどうか + .status("pre-closed") // ウォレット状態 + .canTransferTopup(false); // チャージ可能かどうか ``` --- @@ -2830,7 +2837,7 @@ Request request = new UpdateAccount( Request request = new DeleteAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // accountId: ウォレットID ) - .cashback(true); // 返金有無 + .cashback(false); // 返金有無 ``` --- @@ -2863,10 +2870,10 @@ Request request = new DeleteAccount( Request request = new ListAccountBalances( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // accountId: ウォレットID ) - .page(4038) // ページ番号 - .perPage(9332) // 1ページ分の取引数 - .expiresAtFrom("2021-12-12T20:53:51.000000Z") // 有効期限の期間によるフィルター(開始時点) - .expiresAtTo("2022-03-09T21:57:33.000000Z") // 有効期限の期間によるフィルター(終了時点) + .page(6497) // ページ番号 + .perPage(6466) // 1ページ分の取引数 + .expiresAtFrom("2023-06-19T15:21:50.000000Z") // 有効期限の期間によるフィルター(開始時点) + .expiresAtTo("2021-03-29T13:19:12.000000Z") // 有効期限の期間によるフィルター(終了時点) .direction("desc"); // 有効期限によるソート順序 ``` @@ -2944,10 +2951,10 @@ Request request = new ListAccountBalances( Request request = new ListAccountExpiredBalances( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // accountId: ウォレットID ) - .page(6344) // ページ番号 - .perPage(1186) // 1ページ分の取引数 - .expiresAtFrom("2022-12-02T04:36:47.000000Z") // 有効期限の期間によるフィルター(開始時点) - .expiresAtTo("2023-08-15T16:25:46.000000Z") // 有効期限の期間によるフィルター(終了時点) + .page(4131) // ページ番号 + .perPage(2277) // 1ページ分の取引数 + .expiresAtFrom("2023-03-19T23:33:09.000000Z") // 有効期限の期間によるフィルター(開始時点) + .expiresAtTo("2020-07-18T12:17:45.000000Z") // 有効期限の期間によるフィルター(終了時点) .direction("desc"); // 有効期限によるソート順序 ``` @@ -3025,9 +3032,9 @@ Request request = new ListAccountExpiredBalances( Request request = new UpdateCustomerAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // accountId: ウォレットID ) - .status("active") // ウォレット状態 - .accountName("bxzOIV2r2JtDEGxgzX90xQ1qEwnOjzBjMdE2ZgqC6g1ENWOPFMuygZod8nuff2bwE3RDjoGhPLmonziI8gPB410GLPQCeC7jS6W3DftZcdyglmNXEppEtAwequ8PJiYpSm0jLeVc0IIOPv") // アカウント名 - .externalId("o") // 外部ID + .status("pre-closed") // ウォレット状態 + .accountName("rdqAuTxyB0A3WX2EcUb892jz3Nv10xFyFeM64iLpLDhctAZixWvzCjvZGuuLmpXAGJua2paAAkUgzb5zEsMYGbxzOIV2r2JtDEGxgzX90xQ1qEwnOjzBjMdE2ZgqC6g1ENWOPFMuygZod8nuff2bwE3RDjoGhPLmonziI8gPB410GLPQCeC7jS6W3DftZcdyglmNXEppEtAwequ") // アカウント名 + .externalId("JiYpSm0jLeVc0IIOP") // 外部ID .metadata("{\"key1\":\"foo\",\"key2\":\"bar\"}"); // ウォレットに付加するメタデータ ``` @@ -3111,15 +3118,15 @@ Request request = new UpdateCustomerAccount( Request request = new GetCustomerAccounts( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // privateMoneyId: マネーID ) - .page(7158) // ページ番号 - .perPage(1278) // 1ページ分のウォレット数 - .createdAtFrom("2023-02-19T06:09:39.000000Z") // ウォレット作成日によるフィルター(開始時点) - .createdAtTo("2022-05-26T12:04:19.000000Z") // ウォレット作成日によるフィルター(終了時点) + .page(7999) // ページ番号 + .perPage(5598) // 1ページ分のウォレット数 + .createdAtFrom("2020-02-01T20:26:30.000000Z") // ウォレット作成日によるフィルター(開始時点) + .createdAtTo("2020-11-04T16:08:32.000000Z") // ウォレット作成日によるフィルター(終了時点) .setSuspended(false) // ウォレットが凍結状態かどうかでフィルターする - .status("active") // ウォレット状態 - .externalId("Ms9") // 外部ID - .tel("0955159538") // エンドユーザーの電話番号 - .email("sXeAgeVmz0@XdBq.com"); // エンドユーザーのメールアドレス + .status("suspended") // ウォレット状態 + .externalId("CcBMs9oEUXdmuJ5CsXeAgeVmz0XdBqvz2LZq") // 外部ID + .tel("04-97-168") // エンドユーザーの電話番号 + .email("Jk1u6JVnb0@4lQy.com"); // エンドユーザーのメールアドレス ``` --- @@ -3241,7 +3248,7 @@ Request request = new CreateCustomerAccount( ) .userName("ポケペイ太郎") // ユーザー名 .accountName("ポケペイ太郎のアカウント") // アカウント名 - .externalId("vz2LZqSb1Cr9Gv"); // 外部ID + .externalId("4ktenk93ttYPJhOiPCYh"); // 外部ID ``` --- @@ -3295,10 +3302,10 @@ PAPIクライアントシステムから利用するPokepayユーザーのIDで Request request = new GetShopAccounts( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // privateMoneyId: マネーID ) - .page(5289) // ページ番号 - .perPage(7371) // 1ページ分のウォレット数 - .createdAtFrom("2020-08-07T01:47:22.000000Z") // ウォレット作成日によるフィルター(開始時点) - .createdAtTo("2023-02-04T11:29:08.000000Z") // ウォレット作成日によるフィルター(終了時点) + .page(3879) // ページ番号 + .perPage(362) // 1ページ分のウォレット数 + .createdAtFrom("2022-12-20T22:26:04.000000Z") // ウォレット作成日によるフィルター(開始時点) + .createdAtTo("2024-02-05T20:41:24.000000Z") // ウォレット作成日によるフィルター(終了時点) .setSuspended(false); // ウォレットが凍結状態かどうかでフィルターする ``` @@ -3374,10 +3381,10 @@ Request request = new ListCustomerTransactions( ) .senderCustomerId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 送金エンドユーザーID .receiverCustomerId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // 受取エンドユーザーID - .type("payment") // 取引種別 + .type("expire") // 取引種別 .setModified(false) // キャンセル済みかどうか - .from("2021-12-12T20:22:48.000000Z") // 開始日時 - .to("2022-06-05T02:13:10.000000Z") // 終了日時 + .from("2023-10-17T16:01:34.000000Z") // 開始日時 + .to("2022-11-24T21:29:52.000000Z") // 終了日時 .page(1) // ページ番号 .perPage(50); // 1ページ分の取引数 ``` @@ -3517,8 +3524,8 @@ Request request = new ListOrganizations( ) .page(1) // ページ番号 .perPage(50) // 1ページ分の取引数 - .name("JVn") // 組織名 - .code("04l"); // 組織コード + .name("teZ9v4lYI") // 組織名 + .code("rYpnV35"); // 組織コード ``` --- @@ -3561,14 +3568,14 @@ Request request = new CreateOrganization( "ox-supermarket", // code: 新規組織コード "oxスーパー", // name: 新規組織名 new String[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // privateMoneyIds: 加盟店組織で有効にするマネーIDの配列 - "Qy4ktenk93@ttYP.com", // issuerAdminUserEmail: 発行体担当者メールアドレス - "JhOiPCYhnx@itPJ.com" // memberAdminUserEmail: 新規組織担当者メールアドレス + "pBMGKJEJkp@n6Ml.com", // issuerAdminUserEmail: 発行体担当者メールアドレス + "r99tmpLoTF@QeHI.com" // memberAdminUserEmail: 新規組織担当者メールアドレス ) .bankName("XYZ銀行") // 銀行名 .bankCode("1234") // 銀行金融機関コード .bankBranchName("ABC支店") // 銀行支店名 .bankBranchCode("123") // 銀行支店コード - .bankAccountType("other") // 銀行口座種別 (普通=saving, 当座=current, その他=other) + .bankAccountType("saving") // 銀行口座種別 (普通=saving, 当座=current, その他=other) .bankAccount("1234567") // 銀行口座番号 .bankAccountHolderName("フクザワユキチ") // 口座名義人名 .contactName("佐藤清"); // 担当者名 @@ -3582,11 +3589,11 @@ Request request = new ListShops() .organizationCode("pocketchange") // 組織コード .privateMoneyId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // マネーID .name("oxスーパー三田店") // 店舗名 - .postalCode("840-0964") // 店舗の郵便番号 + .postalCode("3992548") // 店舗の郵便番号 .address("東京都港区芝...") // 店舗の住所 - .tel("07962-0052") // 店舗の電話番号 - .email("nV35pBMGKJ@EJkp.com") // 店舗のメールアドレス - .externalId("6Mlr99tmpLoTFQeHIPsIBBDhi4oQ1") // 店舗の外部ID + .tel("04-018-143") // 店舗の電話番号 + .email("3zE32Vk24C@een1.com") // 店舗のメールアドレス + .externalId("SjytDUp3byZcFEP") // 店舗の外部ID .withDisabled(true) // 無効な店舗を含める .page(1) // ページ番号 .perPage(50); // 1ページ分の取引数 @@ -3722,11 +3729,11 @@ Request request = new ListShops() Request request = new CreateShop( "oxスーパー三田店" // shopName: 店舗名 ) - .shopPostalCode("414-3353") // 店舗の郵便番号 + .shopPostalCode("946-7553") // 店舗の郵便番号 .shopAddress("東京都港区芝...") // 店舗の住所 - .shopTel("01663553194") // 店舗の電話番号 - .shopEmail("DUp3byZcFE@PnID.com") // 店舗のメールアドレス - .shopExternalId("yEjs1xIVAG7PJaXsPvnXy7J") // 店舗の外部ID + .shopTel("01918-7038") // 店舗の電話番号 + .shopEmail("JaXsPvnXy7@JLPW.com") // 店舗のメールアドレス + .shopExternalId("4POJKIKUBKfvAdAdVhR8q") // 店舗の外部ID .organizationCode("ox-supermarket"); // 組織コード ``` 成功したときは[User](#user)クラスのインスタンスを返します @@ -3736,14 +3743,14 @@ Request request = new CreateShop( Request request = new CreateShopV2( "oxスーパー三田店" // name: 店舗名 ) - .postalCode("0107440") // 店舗の郵便番号 + .postalCode("670-5440") // 店舗の郵便番号 .address("東京都港区芝...") // 店舗の住所 - .tel("06-5261414") // 店舗の電話番号 - .email("VhR8qFWp5t@CaOk.com") // 店舗のメールアドレス - .externalId("j6") // 店舗の外部ID + .tel("0831214078") // 店舗の電話番号 + .email("zOOhzPjoLU@npes.com") // 店舗のメールアドレス + .externalId("4zWmpVcy9ixDX4fCfbAE0A") // 店舗の外部ID .organizationCode("ox-supermarket") // 組織コード - .privateMoneyIds(new String[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}) // 店舗で有効にするマネーIDの配列 - .canTopupPrivateMoneyIds(new String[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}); // 店舗でチャージ可能にするマネーIDの配列 + .privateMoneyIds(new String[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}) // 店舗で有効にするマネーIDの配列 + .canTopupPrivateMoneyIds(new String[]{}); // 店舗でチャージ可能にするマネーIDの配列 ``` --- @@ -3814,13 +3821,13 @@ Request request = new UpdateShop( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // shopId: 店舗ユーザーID ) .name("oxスーパー三田店") // 店舗名 - .postalCode("0784915") // 店舗の郵便番号 + .postalCode("804-8661") // 店舗の郵便番号 .address("東京都港区芝...") // 店舗の住所 - .tel("00540-5427") // 店舗の電話番号 - .email("mpVcy9ixDX@4fCf.com") // 店舗のメールアドレス - .externalId("AE0AZjhFFPDiC5XgRDuJC7DFGXWJ1DsLyOn") // 店舗の外部ID - .privateMoneyIds(new String[]{}) // 店舗で有効にするマネーIDの配列 - .canTopupPrivateMoneyIds(new String[]{}) // 店舗でチャージ可能にするマネーIDの配列 + .tel("01-35872") // 店舗の電話番号 + .email("DuJC7DFGXW@J1Ds.com") // 店舗のメールアドレス + .externalId("LyOnXTqwNlXWPSNst44xBM1tMMoOy") // 店舗の外部ID + .privateMoneyIds(new String[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}) // 店舗で有効にするマネーIDの配列 + .canTopupPrivateMoneyIds(new String[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}) // 店舗でチャージ可能にするマネーIDの配列 .status("disabled"); // 店舗の状態 ``` @@ -3935,8 +3942,8 @@ Request request = new UpdateShop( Request request = new ListUserAccounts( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // userId: ユーザーID ) - .page(7454) // ページ番号 - .perPage(225); // 1ページ分の取引数 + .page(4395) // ページ番号 + .perPage(5442); // 1ページ分の取引数 ``` --- @@ -3981,8 +3988,8 @@ Request request = new CreateUserAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // userId: ユーザーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // privateMoneyId: マネーID ) - .name("WPSNst44xBM1tMMoOy") // ウォレット名 - .externalId("oAqWcD5ADFBSPh7o2MC5sMNA") // 外部ID + .name("qWcD5ADFBSPh7o2MC5sMNAQhF0HCoj9Dj4ZpJqp2buSHK5WKI86hTWo47qb9nSKNBR3LjzCdQo4GwTY7y2Am8ZcyGh3BczuQ1HmAT4U7cCHORIBupKF2LGLWlWRqEU1R3HVfumJrkxA1RBhkJnrKn6T4") // ウォレット名 + .externalId("UBYf7XzEp3cMOeoQItbJApNFN") // 外部ID .metadata("{\"key1\":\"foo\",\"key2\":\"bar\"}"); // ウォレットに付加するメタデータ ``` @@ -4056,8 +4063,8 @@ Request request = new GetPrivateMoneys() Request request = new GetPrivateMoneyOrganizationSummaries( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // privateMoneyId: マネーID ) - .from("2024-01-05T10:05:05.000000Z") // 開始日時(toと同時に指定する必要有) - .to("2023-04-20T05:34:54.000000Z") // 終了日時(fromと同時に指定する必要有) + .from("2020-09-18T02:56:34.000000Z") // 開始日時(toと同時に指定する必要有) + .to("2021-10-07T06:02:17.000000Z") // 終了日時(fromと同時に指定する必要有) .page(1) // ページ番号 .perPage(50); // 1ページ分の取引数 ``` @@ -4070,8 +4077,8 @@ Request request = new GetPrivateMoneyOrganizationSummaries( Request request = new GetPrivateMoneySummary( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // privateMoneyId: マネーID ) - .from("2022-09-03T19:55:42.000000Z") // 開始日時 - .to("2023-05-10T19:11:36.000000Z"); // 終了日時 + .from("2020-01-01T00:02:02.000000Z") // 開始日時 + .to("2020-06-08T05:00:33.000000Z"); // 終了日時 ``` 成功したときは[PrivateMoneySummary](#private-money-summary)クラスのインスタンスを返します ### Bulk @@ -4080,11 +4087,11 @@ Request request = new GetPrivateMoneySummary( CSVファイルから一括取引をします。 ```java Request request = new BulkCreateTransaction( - "F", // name: 一括取引タスク名 - "H", // content: 取引する情報のCSV - "Coj9Dj4ZpJqp2buSHK5WKI86hTWo47qb9nSK" // requestId: リクエストID + "SEKvNBsiLTmRsG1pcvzP", // name: 一括取引タスク名 + "SNlMjgy", // content: 取引する情報のCSV + "Cm3l36NNuyyweAXXanZiLS6lbj9JXoVWEOjN" // requestId: リクエストID ) - .description("BR3LjzCdQo4GwTY7y2Am8ZcyGh3BczuQ1HmAT4U7cCHORIBupKF2LGLWlWRqEU1R3HVfumJrkxA1RBh") // 一括取引の説明 + .description("WcJ8Pqob8ZB") // 一括取引の説明 .privateMoneyId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"); // マネーID ``` @@ -4176,29 +4183,15 @@ items.addProperty("unit_price", 100); items.addProperty("price", 100); items.addProperty("is_discounted", false); items.addProperty("other", "{}"); -JsonObject items2 = new JsonObject(); -items2.addProperty("jan_code", "abc"); -items2.addProperty("name", "name1"); -items2.addProperty("unit_price", 100); -items2.addProperty("price", 100); -items2.addProperty("is_discounted", false); -items2.addProperty("other", "{}"); -JsonObject items3 = new JsonObject(); -items3.addProperty("jan_code", "abc"); -items3.addProperty("name", "name1"); -items3.addProperty("unit_price", 100); -items3.addProperty("price", 100); -items3.addProperty("is_discounted", false); -items3.addProperty("other", "{}"); Request request = new CreateExternalTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // shopId: 店舗ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // customerId: エンドユーザーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // privateMoneyId: マネーID - 1610 // amount: 取引額 + 129 // amount: 取引額 ) .description("たい焼き(小倉)") // 取引説明文 .metadata("{\"key\":\"value\"}") // ポケペイ外部取引メタデータ - .products(new Object[]{items,items2,items3}) // 商品情報データ + .products(new Object[]{items}) // 商品情報データ .requestId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"); // リクエストID ``` @@ -4337,14 +4330,12 @@ items.addProperty("subject_less_than", 5000); JsonObject items2 = new JsonObject(); items2.addProperty("point_amount", 5); items2.addProperty("point_amount_unit", "percent"); -items2.addProperty("subject_more_than_or_equal", 1000); -items2.addProperty("subject_less_than", 5000); +items2.addProperty("product_code", "4912345678904"); +items2.addProperty("is_multiply_by_count", true); +items2.addProperty("required_count", 2); JsonObject items3 = new JsonObject(); -items3.addProperty("point_amount", 5); -items3.addProperty("point_amount_unit", "percent"); -items3.addProperty("product_code", "4912345678904"); -items3.addProperty("is_multiply_by_count", true); -items3.addProperty("required_count", 2); +items3.addProperty("from", "12:00"); +items3.addProperty("to", "23:59"); JsonObject items4 = new JsonObject(); items4.addProperty("from", "12:00"); items4.addProperty("to", "23:59"); @@ -4352,32 +4343,32 @@ JsonObject applicable_account_metadata = new JsonObject(); applicable_account_metadata.addProperty("key", "sex"); applicable_account_metadata.addProperty("value", "male"); Request request = new CreateCampaign( - "Kn6T4UBYf7XzEp3cMOeoQItbJApNFNbizZqSEKvNBsiLTmRsG1pcvzPfSNlMjgyCm3l36NNuyyweAXXanZiLS6lbj9JXoVWEOjNWcJ8Pqob8ZBDc2LIkAJFpX3tMiPvkskrBs7cZNQht6pUXt6QkeG9pRp1c5EcN6nLJcb0NEcuMnzKSDbJDSeKRyRniwPaN0afN8mRVY0r2kLaYAQQnNWq5gJk8ucSDE2uEYUD0C3IXLL4lH8T", // name: キャンペーン名 + "c2LIkAJFpX3tMiPvkskrBs7cZNQht6pUXt6QkeG9pRp1c5EcN6nLJcb0NEcuMnzKSDbJD", // name: キャンペーン名 "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // privateMoneyId: マネーID - "2021-11-30T05:15:59.000000Z", // startsAt: キャンペーン開始日時 - "2020-10-17T00:37:07.000000Z", // endsAt: キャンペーン終了日時 - 3019, // priority: キャンペーンの適用優先度 - "topup" // event: イベント種別 + "2020-05-30T05:04:19.000000Z", // startsAt: キャンペーン開始日時 + "2022-08-14T15:51:01.000000Z", // endsAt: キャンペーン終了日時 + 843, // priority: キャンペーンの適用優先度 + "external-transaction" // event: イベント種別 ) .bearPointShopId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // ポイント負担先店舗ID - .description("kSfET7NeTYdPy8UjYc9OlslQQZIq7zSOEeSzczj6ObIBdQwmJP2q6udBME6WRlyybO27figMsVRHKPW8EbdfuKdbyfcjYNDVx4A2ovqPMZA8irXJ9E6ZcMzkLyAqgwSoddiujWTgn11mpxaVIYgQo5GvBiHKw3I5f57jFE45d3P21Pzx2jnlKrw0LdNS4VtkXCD") // キャンペーンの説明文 + .description("yRniwPaN0afN8mRVY0r2kLaYAQQnNWq5gJk8ucSDE2uEYUD0C3IXLL4lH8T3KxBkSfET7NeTYdPy8UjYc9OlslQQZIq7zSOEeSzczj6ObIBdQwmJP2q6udBME6WRlyybO27figMsVR") // キャンペーンの説明文 .status("enabled") // キャンペーン作成時の状態 - .pointExpiresAt("2023-11-22T03:25:23.000000Z") // ポイント有効期限(絶対日時指定) - .pointExpiresInDays(6773) // ポイント有効期限(相対日数指定) - .setExclusive(false) // キャンペーンの重複設定 + .pointExpiresAt("2022-11-20T05:16:21.000000Z") // ポイント有効期限(絶対日時指定) + .pointExpiresInDays(4544) // ポイント有効期限(相対日数指定) + .setExclusive(true) // キャンペーンの重複設定 .subject("all") // ポイント付与の対象金額の種別 - .amountBasedPointRules(new Object[]{items,items2}) // 取引金額ベースのポイント付与ルール - .productBasedPointRules(new Object[]{items3}) // 商品情報ベースのポイント付与ルール - .applicableDaysOfWeek(new Integer[]{2}) // キャンペーンを適用する曜日 (複数指定) - .applicableTimeRanges(new Object[]{items4}) // キャンペーンを適用する時間帯 (複数指定) - .applicableShopIds(new String[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}) // キャンペーン適用対象となる店舗IDのリスト - .minimumNumberForCombinationPurchase(1451) // 複数種類の商品を同時購入するときの商品種別数の下限 - .existInEachProductGroups(false) // 複数の商品グループにつき1種類以上の商品購入によって発火するキャンペーンの指定フラグ - .maxPointAmount(2770) // キャンペーンによって付与されるポイントの上限 - .maxTotalPointAmount(4968) // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 + .amountBasedPointRules(new Object[]{items}) // 取引金額ベースのポイント付与ルール + .productBasedPointRules(new Object[]{items2}) // 商品情報ベースのポイント付与ルール + .applicableDaysOfWeek(new Integer[]{5,6,4}) // キャンペーンを適用する曜日 (複数指定) + .applicableTimeRanges(new Object[]{items3,items4}) // キャンペーンを適用する時間帯 (複数指定) + .applicableShopIds(new String[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}) // キャンペーン適用対象となる店舗IDのリスト + .minimumNumberForCombinationPurchase(6166) // 複数種類の商品を同時購入するときの商品種別数の下限 + .existInEachProductGroups(true) // 複数の商品グループにつき1種類以上の商品購入によって発火するキャンペーンの指定フラグ + .maxPointAmount(134) // キャンペーンによって付与されるポイントの上限 + .maxTotalPointAmount(9447) // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 .destPrivateMoneyId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") // ポイント付与先となるマネーID .applicableAccountMetadata(applicable_account_metadata) // ウォレットに紐付くメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。 - .budgetCapsAmount(1494199178); // キャンペーン予算上限 + .budgetCapsAmount(422935798); // キャンペーン予算上限 ``` --- @@ -4917,8 +4908,8 @@ Request request = new ListCampaigns( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // privateMoneyId: マネーID ) .setOngoing(false) // 現在適用可能なキャンペーンかどうか - .availableFrom("2021-09-12T16:32:28.000000Z") // 指定された日時以降に適用可能期間が含まれているか - .availableTo("2021-03-11T20:37:06.000000Z") // 指定された日時以前に適用可能期間が含まれているか + .availableFrom("2022-01-01T10:00:15.000000Z") // 指定された日時以降に適用可能期間が含まれているか + .availableTo("2020-05-31T11:36:43.000000Z") // 指定された日時以前に適用可能期間が含まれているか .page(1) // ページ番号 .perPage(20); // 1ページ分の取得数 ``` @@ -5029,8 +5020,9 @@ items.addProperty("subject_less_than", 5000); JsonObject items2 = new JsonObject(); items2.addProperty("point_amount", 5); items2.addProperty("point_amount_unit", "percent"); -items2.addProperty("subject_more_than_or_equal", 1000); -items2.addProperty("subject_less_than", 5000); +items2.addProperty("product_code", "4912345678904"); +items2.addProperty("is_multiply_by_count", true); +items2.addProperty("required_count", 2); JsonObject items3 = new JsonObject(); items3.addProperty("point_amount", 5); items3.addProperty("point_amount_unit", "percent"); @@ -5058,28 +5050,28 @@ applicable_account_metadata.addProperty("value", "male"); Request request = new UpdateCampaign( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // campaignId: キャンペーンID ) - .name("CcszhfH09Y5OthVwPmvHXBFS5mnHJDaN") // キャンペーン名 - .startsAt("2020-12-01T03:01:47.000000Z") // キャンペーン開始日時 - .endsAt("2022-04-28T20:33:01.000000Z") // キャンペーン終了日時 - .priority(7548) // キャンペーンの適用優先度 - .event("payment") // イベント種別 - .description("qCBViT8YJSc5gafw5E7JxTvjUc1aT5EbGpCQn8B7l65BYMvNkhEwbRq7C0zj85JoEScisdzkhxnXFFT7CXS50vaovkROQbPFa2Q0QZFPxPWcwwu3uh9fDL3S3NHvBIxMXxVOS8aVOp") // キャンペーンの説明文 + .name("byfcjYNDVx4A2ovqPMZA8irXJ9E6ZcMzkLyAqgwSoddiujWTgn11mpxaVIYgQo5GvBiHKw3I5f57jFE45d3P21Pzx2jnlKrw0LdNS") // キャンペーン名 + .startsAt("2020-05-12T19:19:16.000000Z") // キャンペーン開始日時 + .endsAt("2022-06-26T17:10:33.000000Z") // キャンペーン終了日時 + .priority(8101) // キャンペーンの適用優先度 + .event("topup") // イベント種別 + .description("tkXCDrt0LJOE3QgwrCcszhfH09Y5OthVwPmvHXBFS5mnHJDaN7ByqCBViT8YJSc5gafw5E7JxTvjUc1aT5EbGpCQn8B7l65BYMvNkhEwbRq7C0zj85JoEScisdzkhxnXFFT7CX") // キャンペーンの説明文 .status("disabled") // キャンペーン作成時の状態 - .pointExpiresAt("2023-01-18T13:40:57.000000Z") // ポイント有効期限(絶対日時指定) - .pointExpiresInDays(6830) // ポイント有効期限(相対日数指定) + .pointExpiresAt("2024-01-25T19:14:44.000000Z") // ポイント有効期限(絶対日時指定) + .pointExpiresInDays(7438) // ポイント有効期限(相対日数指定) .setExclusive(false) // キャンペーンの重複設定 - .subject("all") // ポイント付与の対象金額の種別 - .amountBasedPointRules(new Object[]{items,items2}) // 取引金額ベースのポイント付与ルール - .productBasedPointRules(new Object[]{items3,items4}) // 商品情報ベースのポイント付与ルール - .applicableDaysOfWeek(new Integer[]{3,5}) // キャンペーンを適用する曜日 (複数指定) + .subject("money") // ポイント付与の対象金額の種別 + .amountBasedPointRules(new Object[]{items}) // 取引金額ベースのポイント付与ルール + .productBasedPointRules(new Object[]{items2,items3,items4}) // 商品情報ベースのポイント付与ルール + .applicableDaysOfWeek(new Integer[]{1,6}) // キャンペーンを適用する曜日 (複数指定) .applicableTimeRanges(new Object[]{items5,items6,items7}) // キャンペーンを適用する時間帯 (複数指定) - .applicableShopIds(new String[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}) // キャンペーン適用対象となる店舗IDのリスト - .minimumNumberForCombinationPurchase(4392) // 複数種類の商品を同時購入するときの商品種別数の下限 - .existInEachProductGroups(true) // 複数の商品グループにつき1種類以上の商品購入によって発火するキャンペーンの指定フラグ - .maxPointAmount(2031) // キャンペーンによって付与されるポイントの上限 - .maxTotalPointAmount(4215) // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 + .applicableShopIds(new String[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}) // キャンペーン適用対象となる店舗IDのリスト + .minimumNumberForCombinationPurchase(2003) // 複数種類の商品を同時購入するときの商品種別数の下限 + .existInEachProductGroups(false) // 複数の商品グループにつき1種類以上の商品購入によって発火するキャンペーンの指定フラグ + .maxPointAmount(7120) // キャンペーンによって付与されるポイントの上限 + .maxTotalPointAmount(30) // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 .applicableAccountMetadata(applicable_account_metadata) // ウォレットに紐付くメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。 - .budgetCapsAmount(2034420397); // キャンペーン予算上限 + .budgetCapsAmount(306881955); // キャンペーン予算上限 ``` --- @@ -5596,8 +5588,8 @@ WebHookにはURLとタスク名、有効化されているかを設定するこ このとき、リクエストボディは `{"task": <タスク名>}` という値になります。 ```java Request request = new CreateWebhook( - "bulk_shops", // task: タスク名 - "9kW30yX" // url: URL + "process_user_stats_operation", // task: タスク名 + "PFa" // url: URL ); ``` @@ -5662,8 +5654,8 @@ Request request = new ListWebhooks() Request request = new UpdateWebhook( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // webhookId: Webhook ID ) - .url("j5pEZQN") // URL - .setActive(false) // 有効/無効 + .url("2Q0QZF") // URL + .setActive(true) // 有効/無効 .task("bulk_shops"); // タスク名 ``` @@ -5742,12 +5734,12 @@ Couponは特定店舗で利用できるものや利用可能期間、配信条 Request request = new ListCoupons( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // privateMoneyId: 対象クーポンのマネーID ) - .couponId("wcrR2Tap7t") // クーポンID - .couponName("zfq7vVXcZ") // クーポン名 - .issuedShopName("kAjYTEO65") // 発行店舗名 - .availableShopName("NQtFJaRQv") // 利用可能店舗名 - .availableFrom("2023-06-06T10:12:20.000000Z") // 利用可能期間 (開始日時) - .availableTo("2020-11-29T08:57:14.000000Z") // 利用可能期間 (終了日時) + .couponId("PWcwwu3uh") // クーポンID + .couponName("9f") // クーポン名 + .issuedShopName("L3S3N") // 発行店舗名 + .availableShopName("vBIxMXxVO") // 利用可能店舗名 + .availableFrom("2020-12-04T01:56:35.000000Z") // 利用可能期間 (開始日時) + .availableTo("2022-10-18T15:11:52.000000Z") // 利用可能期間 (終了日時) .page(1) // ページ番号 .perPage(50); // 1ページ分の取得数 ``` @@ -5855,7 +5847,7 @@ Request request = new ListCoupons( ```java Request request = new CreateCoupon( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "5yyqZjpM3EGDvxc2vHpfKAF", + "VOpiS1EeKe2EnvF9kW30yXFj5pEZQNOtIwcrR2Tap7tnXzfq7vVXcZZXkAjYTEO65NQtFJaRQvj5yyqZjpM3EGDvxc2vHpfKAF", "2023-12-27T02:00:10.000000Z", "2020-12-24T15:11:19.000000Z", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // issuedShopId: 発行元の店舗ID diff --git a/src/test/java/jp/pokepay/partnerapi/UpdateCouponTest.java b/src/test/java/jp/pokepay/partnerapi/UpdateCouponTest.java index df3116e..dd77ea3 100644 --- a/src/test/java/jp/pokepay/partnerapi/UpdateCouponTest.java +++ b/src/test/java/jp/pokepay/partnerapi/UpdateCouponTest.java @@ -615,12 +615,12 @@ void test25() throws ConnectionError, ProcessingError { .discountPercentage(1990.0) .setDisabled(false) .displayEndsAt("2020-02-28T03:47:20.000000Z") - .displayStartsAt("2023-08-07T02:47:43.000000Z") - .endsAt("2021-01-22T02:10:35.000000Z") - .startsAt("2022-09-22T22:47:56.000000Z") - .discountUpperLimit(8028) - .description("gIb0heOl2hQPfOiPoRxRiCop5Q0A9gBKU33EhyGU9Sc7TWphUCFQOlhJCzSIu3L4oB0QKjjVXdg6wCnP4F0PUy8JyZq3ofPUU0rY2rRd10bnDEPKoSGRnM40Adb2lsHFBNfL0ieognilvSR4pMoCwkxpSpqKLDrvgRvBVvAYQP0NP5o8oIbQ6bcvTH9KRHlq0wqM01LRxPcYJN00R6J1knyJeLDqePaGS57qQUn9Qotexnhe") - .name("cBro7jHBJHSTWFK0aJRYTf"); + .displayStartsAt("2024-02-09T11:43:54.000000Z") + .endsAt("2023-08-07T02:47:43.000000Z") + .startsAt("2021-01-22T02:10:35.000000Z") + .discountUpperLimit(1308) + .description("gogIb0heOl2hQPfOiPoRxRiCop5Q0A9gBKU33EhyGU9Sc7TWphUCFQOlhJCzSIu3L4oB0QKjjVXdg6wCnP4F0PUy8JyZq3ofPUU0rY2rRd10bnDEPKoSGRnM40Adb2lsHFBNfL0ieognilvSR4pMoCwkxpSpqKLDrvgRvBVvAYQP0NP5o8oIbQ6bcvTH9KRHlq0wqM01LRxPcYJN00R6J1knyJeLDqePaGS57qQU") + .name("9QotexnhecBro7jHBJHSTWFK0aJRYTfxgM2RajM6sQRgc1VEyXHMXBj8otEAcFy5ooXoXuzlRpCyCoZoaTfbTmVX0XqqL2DDCdNGv9QaNMmxX2S"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -637,17 +637,17 @@ void test26() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountAmount(3205) - .discountPercentage(3175.0) - .setHidden(false) + .discountAmount(358) + .discountPercentage(4560.0) + .setHidden(true) .setDisabled(true) - .displayEndsAt("2022-03-04T23:59:14.000000Z") - .displayStartsAt("2020-07-29T22:26:48.000000Z") - .endsAt("2020-07-31T21:06:41.000000Z") - .startsAt("2020-11-29T09:17:03.000000Z") - .discountUpperLimit(2026) - .description("M6sQRgc1VEyXHMXBj8otEAcFy5ooXoXuzlRpCyCoZoaTfbTmVX0XqqL2DDCdN") - .name("Gv9QaNMmxX2S2fPh6fy135I5"); + .displayEndsAt("2023-07-25T03:35:04.000000Z") + .displayStartsAt("2021-10-04T01:56:11.000000Z") + .endsAt("2022-01-26T08:17:29.000000Z") + .startsAt("2020-08-08T01:13:26.000000Z") + .discountUpperLimit(2278) + .description("y135I5DGGggnvkdWrHaspAw5Vcp7CE78JSe44PvWgrDoffEic8syvxPXUni2oM8QHA7lWY5GLHqITj0UgJwxmfaF0gGfg") + .name("lG67XOfGi887nNv1eh26ZZWkeJQym7n7CGmjd25iFSdny2rQSPU5tCjVy8COfDZrZRHs0hjVGtY7fDH"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -664,18 +664,18 @@ void test27() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountAmount(452) - .discountPercentage(5642.0) - .setPublic(false) + .discountAmount(3879) + .discountPercentage(6597.0) + .setPublic(true) .setHidden(false) .setDisabled(true) - .displayEndsAt("2024-01-12T08:43:51.000000Z") - .displayStartsAt("2022-04-28T20:20:36.000000Z") - .endsAt("2023-10-08T03:05:33.000000Z") - .startsAt("2021-05-12T19:30:15.000000Z") - .discountUpperLimit(4327) - .description("nvkdWrHaspAw5Vcp7CE78JSe44PvWgrDoffEic8syvxPXUni2oM8QHA7lWY5GLHqITj0UgJwxmfaF0gGfgNlG67XOfGi887nNv1eh26ZZWkeJQym7n7CGmjd25iFSdny2rQSPU5tCjVy8COfDZrZRHs0hjVGtY7fDHExM6iUcBW9LDUejJe4laTFkcJAyP9v3lR5fJ1SCFuFJVqCc62CsLVYKPyOwySSjaFxy00I") - .name("CXmzsObY8JjUm176PqMxSejYJwKQkQhcSsOlDNZZsSWHBkBrsiXhCnZzamORmWcssL2FF3HA"); + .displayEndsAt("2021-06-24T10:33:33.000000Z") + .displayStartsAt("2022-04-30T18:44:41.000000Z") + .endsAt("2020-02-22T20:20:16.000000Z") + .startsAt("2022-04-05T13:58:19.000000Z") + .discountUpperLimit(4901) + .description("UcBW9LDUejJe4laTFkcJAyP9v3lR5fJ1SCFuFJVqCc62CsLVYKPyOwySSjaFxy00IGCXmzsObY8JjUm176PqMxSejYJwKQkQhcSsOlDNZZsSWHBkBrsiXhCnZzamORmWcssL2FF3HAzhtt18u7MooUueVWo8T9dRNvfu3qkwBDNVzugQpgEVipsMl1opS6XVL1U8vfTPgZQoGXLb8hT5vzbbFysLVW03Q8sgkwbt7b") + .name("cdIa6s2OiS448zYYuSerVgt5xpThqkxWuN4OkYmUnkAFHrW518DEhvGfJFhBLPIWgGXu2FRRBCtapsc2OJEtIYHTkPMCnHWRhGK3T2O4zTKZrpJNYtglnu99On"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -692,19 +692,19 @@ void test28() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountAmount(8954) - .discountPercentage(8168.0) - .code("t") - .setPublic(true) - .setHidden(false) - .setDisabled(false) - .displayEndsAt("2023-03-04T05:42:16.000000Z") - .displayStartsAt("2023-10-11T08:06:13.000000Z") - .endsAt("2020-01-07T12:18:39.000000Z") - .startsAt("2020-10-10T16:37:18.000000Z") - .discountUpperLimit(9006) - .description("7MooUueVWo8T9dRNvfu3qkwBDNVzugQpgEVipsMl1opS6XVL1U8vfTPgZQoGXLb8hT5vzbbFysLVW03Q8sgkwbt7bycdIa6s2OiS448zYYuSerVgt5xpThqkxWuN4OkYmUnkAFHrW518DEhvGfJFh") - .name("LPIWgGXu2FRRBCtapsc2OJEtIYHTkPMCnHWRhGK3T2O4zTKZrpJNYtglnu99Onqaf5i"); + .discountAmount(8689) + .discountPercentage(6241.0) + .code("5iTxaKH") + .setPublic(false) + .setHidden(true) + .setDisabled(true) + .displayEndsAt("2021-07-06T05:01:40.000000Z") + .displayStartsAt("2022-04-30T02:17:19.000000Z") + .endsAt("2023-12-14T21:37:33.000000Z") + .startsAt("2021-12-08T04:36:24.000000Z") + .discountUpperLimit(8664) + .description("xpMz5eg3TFJnOMXlccrSM4NeRkShSKYnhr8JJ6rqJ58uKWhjJEVfg4kmmGr3fEZnBlmzkrtoyKm38BDyuj1U15iB0VVURHNCTBSkvCAJURQ0xc8v3XGoxNYBzQF26RRnLKM2vajHzuhk8mM7y90MUBMqpZFx6CyPOvMtoUIDYTTb") + .name("YLUK2ZY6omFZc6c5lAiaH7ksthq2qt1fISbJLQ2IGy7A4O5EuFDi3ep7E8"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -721,20 +721,20 @@ void test29() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountAmount(7953) - .discountPercentage(7721.0) - .usageLimit(1600) - .code("t4HXxpMz5") + .discountAmount(9861) + .discountPercentage(8122.0) + .usageLimit(2123) + .code("wqzGZ") .setPublic(true) - .setHidden(true) + .setHidden(false) .setDisabled(false) - .displayEndsAt("2020-08-30T01:35:35.000000Z") - .displayStartsAt("2020-07-06T20:29:39.000000Z") - .endsAt("2021-09-28T07:48:36.000000Z") - .startsAt("2021-02-26T04:02:14.000000Z") - .discountUpperLimit(3530) - .description("OMXlccrSM4NeRkShSKYnhr8JJ6rqJ58uKWhjJEVfg4kmmGr3fEZnBlmzkrtoyKm38BDyuj1U15iB0VVURHNCTBSkvCAJURQ0xc8v3XGoxNYBzQF") - .name("6RRnLKM2vajHzuhk8mM7y90MUBMqpZFx6CyPOvMtoUIDYTTb9YL"); + .displayEndsAt("2023-01-08T01:54:59.000000Z") + .displayStartsAt("2020-09-20T15:59:46.000000Z") + .endsAt("2023-01-28T03:10:24.000000Z") + .startsAt("2022-02-05T00:48:30.000000Z") + .discountUpperLimit(8266) + .description("TtHeL1jl3TaroJ97KS7PIYmqHtFEvZxOLgNEFPzTNAeMR2CvVgTRCY2rEPprVjp") + .name("NeaYJXDFnN5l443TmOvQLPfQxkSjhKrHXePF1aNsQcGEPe2hgvk3yuDeTC8XzXR9"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -751,21 +751,21 @@ void test30() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountAmount(2430) - .discountPercentage(8124.0) - .minAmount(3838) - .usageLimit(1877) - .code("ZY6") + .discountAmount(3244) + .discountPercentage(4783.0) + .minAmount(2050) + .usageLimit(2538) + .code("n") .setPublic(true) .setHidden(false) .setDisabled(false) - .displayEndsAt("2021-05-02T06:05:58.000000Z") - .displayStartsAt("2020-11-14T02:18:02.000000Z") - .endsAt("2020-09-02T12:17:39.000000Z") - .startsAt("2023-11-15T17:09:17.000000Z") - .discountUpperLimit(8317) - .description("6c5lAiaH7ksthq2qt1fISbJLQ2IGy7A4O5EuFDi3ep7E8KTwqzGZlqsrJTtHeL1jl3TaroJ97KS7PIYmqHtFEvZxOLgNEFPzTNAeMR2CvVgTRCY2rEPprVjpNeaYJXDFnN5l443TmOvQLPfQxkSjhKrHXePF1aNsQcGEPe2hgvk3yuDeTC8XzXR9jncya31KgghsgYe3TbLJN21a8hZtm5so8Mz8sE9uDmHdcukVhdalQqRPyTvG2tPeRbQcNOD") - .name("a3IhebkRxi8kuGoSk8mmCPAG5TaOSJrFwT6IMSTQQD3aZSLuV5KvsCMKR5EbTWV4WWsRyRXg"); + .displayEndsAt("2021-12-29T19:59:33.000000Z") + .displayStartsAt("2022-07-16T17:40:09.000000Z") + .endsAt("2020-11-14T20:24:01.000000Z") + .startsAt("2021-07-06T09:38:59.000000Z") + .discountUpperLimit(2353) + .description("KgghsgYe3TbLJN21a8hZtm5so8Mz8sE9uDmHdcukVhdalQqRPyTvG2tPeRbQcNODGa3IhebkRxi8kuGoSk8mmCPAG5TaOSJrFwT6IMSTQQD3aZSLuV5KvsCMKR5EbTWV4WWsRyR") + .name("XgRYVg4CYuzSBW4stkoPc7UXRyRiV8Pax53IDmwuQOCW"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -782,22 +782,22 @@ void test31() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountAmount(5165) - .discountPercentage(8219.0) - .setShopSpecified(false) - .minAmount(5037) - .usageLimit(3520) - .code("g4CYuzS") - .setPublic(false) - .setHidden(true) - .setDisabled(true) - .displayEndsAt("2021-09-18T18:13:43.000000Z") - .displayStartsAt("2022-03-01T00:57:56.000000Z") - .endsAt("2020-03-04T07:03:16.000000Z") - .startsAt("2022-10-12T08:21:07.000000Z") - .discountUpperLimit(8846) - .description("tkoPc7UXRyRiV8Pax53IDmwuQOCWjbIPmFGWkh7DMCSqp4SWi3zPKlO0ubMaaWt2sfRwBothNvTY3vFr4ELRXyBW70oqJ1JP1EYwzYF5YE8jQgUzmyBkd9RsSiJlXzLN5312aQsa3khCQuI0KxC45PIbfMDQsr0") - .name("TvhXVGg9hnQlyenzuwrO3gGQmGe09eXlKtPgqSA0ERaGz46vIiA4hbe1yI3CGp5lj6m5fgOCupwcIPxBzhbkfELKrUPd9GpW6Q92PXWpLmGFM1Prn"); + .discountAmount(8861) + .discountPercentage(2922.0) + .setShopSpecified(true) + .minAmount(2093) + .usageLimit(639) + .code("PmFGWkh7DM") + .setPublic(true) + .setHidden(false) + .setDisabled(false) + .displayEndsAt("2022-05-29T16:12:03.000000Z") + .displayStartsAt("2020-07-01T14:25:53.000000Z") + .endsAt("2021-08-14T22:25:52.000000Z") + .startsAt("2023-05-21T06:48:20.000000Z") + .discountUpperLimit(1491) + .description("Wi3zPKlO0ubMaaWt2sfRwBothNvTY3vFr4ELRXyBW70oqJ1JP1EYwzYF5YE8jQgUzmyBkd9RsSiJlXzLN5312aQsa3khCQuI0KxC45PIbfMDQsr0pTvhXVGg9hnQlyenzuwrO3gGQmGe09eXlKtPgqSA0ERaGz46vIiA4hbe1yI3CGp") + .name("lj6m5fgOCupwcIPxBzhbkfELKrUPd9GpW6Q92PXWpLmGFM1PrngLs4"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -814,23 +814,23 @@ void test32() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountAmount(8295) - .discountPercentage(7425.0) - .availableShopIds(new String[]{"9f5df334-20c0-4725-9a5f-8daeb737ecf1","780583b6-fef2-46ea-a160-9046d15644cb","5e3cd67e-178b-4ace-94c8-ae933b155491","dd704355-efd0-446a-9f38-61cfe7e5c261"}) - .setShopSpecified(true) - .minAmount(2605) - .usageLimit(9676) - .code("D3inc4") - .setPublic(true) - .setHidden(false) + .discountAmount(8384) + .discountPercentage(2778.0) + .availableShopIds(new String[]{"780583b6-fef2-46ea-a160-9046d15644cb","5e3cd67e-178b-4ace-94c8-ae933b155491"}) + .setShopSpecified(false) + .minAmount(1130) + .usageLimit(7224) + .code("HL") + .setPublic(false) + .setHidden(true) .setDisabled(false) - .displayEndsAt("2021-08-18T05:01:39.000000Z") - .displayStartsAt("2020-06-19T09:03:27.000000Z") - .endsAt("2020-02-11T14:16:51.000000Z") - .startsAt("2023-08-09T09:22:31.000000Z") - .discountUpperLimit(508) - .description("p4s7jMjS5PtJzYsdA5qhl1QGqEwjgkrGn0uAn0iqI2b5rxtzGOZhKJMKwzvYsbBzTdo6bpAqcWNJrNTsv2Llex1ejGQ2ugzGxu81Sx50Yf2M71M8zENOSGlzUlDTz33P2rJ14YHcAJKWHCf11oIN1lhxfCtQoWt3KCnkWzy38cC0E7gsSEITDei3yOkB642y5M6ZGKLNmOSXPLkVgGHidiNxSMbU65iFGAAyuGpPep5Ml") - .name("LDDmy5H5WNxLWXFOkEFZiHMkNkDC4XjA"); + .displayEndsAt("2021-12-05T22:07:16.000000Z") + .displayStartsAt("2022-08-13T06:41:44.000000Z") + .endsAt("2022-01-05T08:14:20.000000Z") + .startsAt("2020-10-24T02:22:33.000000Z") + .discountUpperLimit(7320) + .description("c4333SWlp4s7jMjS5PtJzYsdA5qhl1QGqEwjgkrGn0uAn0iqI2b5rxtzGOZhKJMKwzvYsbBzTdo6bpAqcWNJrNTsv2Llex1ejGQ2ugzGxu81Sx5") + .name("0Yf2M71M8zENOSGlzUlDT"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -847,24 +847,24 @@ void test33() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountAmount(1664) - .discountPercentage(7168.0) - .storageId("41377912-9f99-4b83-aea8-dedcb4645ace") - .availableShopIds(new String[]{"548de50d-4dd0-481b-b954-6a98ef7f3761","414931f3-20a7-4cf1-b149-cc2caa3f61c6","e94e7191-01e5-4e78-8af8-9919c1e50648","aa68976f-2da4-46cf-bd73-a7147a409559","5ab17d17-8533-4ad8-932f-a7ed13f41ce6","8b3fff53-088f-412b-834d-e0cddb9a8ddb","33cdbec0-a8c9-4d07-b0dc-35059caf39e8","6a024150-328a-49fb-bc49-f9cf0c989163"}) + .discountAmount(1203) + .discountPercentage(1595.0) + .storageId("61fb7933-9e0b-4615-905d-0f9650173d83") + .availableShopIds(new String[]{"2b06e5b2-2d72-454a-b134-eafbcbe61959"}) .setShopSpecified(true) - .minAmount(1904) - .usageLimit(6823) - .code("kBjff") + .minAmount(4323) + .usageLimit(3118) + .code("JK") .setPublic(true) - .setHidden(true) - .setDisabled(false) - .displayEndsAt("2021-01-16T23:01:45.000000Z") - .displayStartsAt("2023-09-13T23:58:06.000000Z") - .endsAt("2021-08-22T22:44:37.000000Z") - .startsAt("2022-02-13T19:16:31.000000Z") - .discountUpperLimit(7621) - .description("4zrJepcLNjePvmbsJ6aAodX3lOsSzeTfXuUhrzyKZN2IpvZDbUGNbf92zGejiy7b3srgm7LVnhxTyAZfZDkQ2r2xXuIalmcupP8PaFubqXmo0h47ayHi8sXxsnC42wCpyAiBnUBLAV97YftKTMpHhWMUK3SCmPb9BXoLZ7wKHtX23HwTLkUG7zxtQPL0ebUOhv3B3t2DzpE") - .name("8r"); + .setHidden(false) + .setDisabled(true) + .displayEndsAt("2020-12-24T19:28:03.000000Z") + .displayStartsAt("2021-08-20T19:25:24.000000Z") + .endsAt("2022-02-12T01:20:38.000000Z") + .startsAt("2022-05-08T16:43:29.000000Z") + .discountUpperLimit(945) + .description("IN1lhxfCtQoWt3KCnkWzy38cC0E7gsSEITDei3yOkB642y5M6ZGKLNmOSXPLkVgGHidiNxSMbU65iFGAAyuGpPep5MlLDDmy5H5WNxLWXFOkEFZiHMkNkDC4XjAgnNgPyTasq1IFexxHoOsY3XmfSCMMI0hPIOcfptkBjffHuYKUEJ4zrJepcLNjePvmbsJ6aAodX3lOsSzeTfXuUhrzyKZN2IpvZDbUGNbf92zGejiy7b3s") + .name("rgm7LVnhxTyAZfZDkQ2r2xXuIalmcupP8PaFubqXmo0h47ayHi8sXxsnC42wCpyA"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -881,7 +881,7 @@ void test34() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(6177.0); + .discountPercentage(5818.0); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -898,8 +898,8 @@ void test35() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(4453.0) - .name("7vFyo7eM4dNHW25nKJYDvzM004QSYdkecoFJzr3brOZ5f3RQvkhtySJKYRUQ3NzIgBoxko0Q38"); + .discountPercentage(1188.0) + .name("BnUBLAV97YftKTMpHhWMUK3SCmPb9BXoLZ7wKHtX23HwTLkUG7zxtQPL0ebUOhv3B3t2DzpE8reI7vFyo7eM4dNHW25nKJYDvzM004QSYd"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -916,9 +916,9 @@ void test36() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(7286.0) - .description("iglT3j7uK9FEO8wpTMbUo34OhjcbIFy00bHfPtADraHJBywFUVQhJIvCWpCXLp2gUnx8oHUCw9IDU8v5tebk72bnq5V1PYuyQsrCeZvlknHwyCYeoTGD6IVelM1xkQHIURZCUVG9E4BcH9vh8Qcd9Qr1jGxJh75seT2MlMasdJCSgZ4n") - .name("16A08HMuzRKVjoY87iExdEHTNDtgEpdMlXJAKinvVKW5jNBic0lbP5i9pPDb3qItRRs3FY6lAlrydgPmYNQmdCCSHSb7PeqbGNNyGMxdwCiRwJp"); + .discountPercentage(7935.0) + .description("ecoFJzr3brOZ5f3RQvkhtySJKYRUQ3NzIgBoxko0Q38viglT3j7uK9FEO8wpTMbUo34OhjcbIFy00bHfPtADraHJBywFUVQhJIvCWpCXLp2g") + .name("nx8oHUCw9IDU8v5tebk72bnq5V1PYuyQsrCeZvlknHwyCYeoTGD6IVelM1xkQHIURZCUVG9E4BcH9vh8Qcd9Qr"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -935,10 +935,10 @@ void test37() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(2261.0) - .discountUpperLimit(5314) - .description("S7wM2sjFT50Pr6H3Lr5Vqadi7ItSc4oUdi9EYp8oXZ4d1DUqCUDmWqMmM9IYmurAkMd4wDsAO01hvmpIXnG4Vdq7gNAtqrqKm6uKQNQH3PDcRwUCecSBjOParYUfATbiJrkxUEwT3M91XjHrTG7fMCl81IJPQuSHXTmEReE1YV9ebnUBpzD7d9DsGnOvPtZOQ7wRQgMzlEQYhb78oA0LE9nGzso") - .name("IqSCZEncCQxjIhrUeBMFsGSoFMs14cvovqZ6GQpcxkL1iWim0Xpy9XRR4FHqayBd9Y6"); + .discountPercentage(5922.0) + .discountUpperLimit(4714) + .description("GxJh75seT2MlMasdJCSgZ4nn16A08HMuzRKVjoY87iExdEHTNDtgEpdMlXJAKinvVKW5jNBic0lbP5i9pPDb3qItRRs3FY6lAlrydgPmYNQmdCCSHSb7PeqbGNNyG") + .name("MxdwCiRwJpoUBZS7wM2sjFT50Pr6H3Lr5Vqadi7ItSc4"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -955,11 +955,11 @@ void test38() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(3822.0) - .startsAt("2023-10-27T14:23:58.000000Z") - .discountUpperLimit(9568) - .description("DnCaj1IshUK5sOcLMoSdluvLDw0rIOalhSCHrt5J1YKxmhpIQaAHuF1XqBsQEc2YHzb0v51JNexx20BlobdlTY6n3LbK6Vu4m4") - .name("hE7PkEzPYVXfzwtjxI8n9Z0CQKMUdsLKbKLcaV6nH18WcZidvZ55mAgOE16AnmYbzCLHYWconVaiJFwoOHJhs1D1kk2Z65xpUZ28FCmVx3QLXn5K0uj"); + .discountPercentage(8815.0) + .startsAt("2020-11-01T22:01:57.000000Z") + .discountUpperLimit(8638) + .description("di9EYp8oXZ4d1DUqCUDmWqMmM9IYmurAkMd4wDsAO01hvmpIXnG4Vdq7gNAtqrqKm6uKQNQH3PDcRwUCecSBjOParYUfATbiJrkxUEwT3M91XjHrTG7fMCl81IJPQuSHXTmEReE1YV9ebnUBpzD7d9DsGnOvPtZOQ") + .name("wRQgMzlEQYhb78oA0LE9nGzsoBIqSCZEncCQxjIhrUeBMFsGSoFMs14c"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -976,12 +976,12 @@ void test39() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(4838.0) - .endsAt("2021-10-29T01:08:59.000000Z") - .startsAt("2022-05-26T05:56:27.000000Z") - .discountUpperLimit(7508) - .description("EebumDwnUvtTuwE1P6w3jvuc6WVynWZlMwTGtLKHNv0GHMA8YNVctqn0HylBE") - .name("aWFtKmGqTMRGGhLK4md8CvDRXJmyMUq3nONdNUldEzZzYqTFGHLldYwHPZ5GyoY"); + .discountPercentage(7296.0) + .endsAt("2021-09-20T03:31:47.000000Z") + .startsAt("2022-06-02T05:56:55.000000Z") + .discountUpperLimit(7542) + .description("vqZ6GQpcxkL1iWim0Xpy9XRR4FHqayBd9Y6naDnCaj1IshUK5sOcLMoSdluvLDw0rIOalhSCHrt5J1YKxmhpIQaAHuF1XqBsQEc2YHzb0v51JNexx20BlobdlTY6n3LbK6Vu4m4rhE7PkEzPYVXfzwtjxI8n9Z0CQKMUdsLKbKLcaV6nH18WcZidvZ55mAgOE16AnmYbzCLHYWconVaiJFwoOHJhs1D1kk2Z65xpUZ28FCmV") + .name("3QLXn5K0ujHfTEebumDwnUvtTuwE1P6w3jvuc6WVynWZlMwTGtLKHNv0GHMA8YNVctqn0HylBEaWFtKmGqTMRGGhLK4md8CvDRXJmyMUq3nONdNUldEzZzYqT"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -998,13 +998,13 @@ void test40() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(6233.0) - .displayStartsAt("2021-08-19T13:32:54.000000Z") - .endsAt("2021-02-17T07:03:04.000000Z") - .startsAt("2022-04-21T23:18:59.000000Z") - .discountUpperLimit(5351) - .description("PK3Dchqik562nQJ7JN9nEMDfH9ZULXMKOjFu2fGiShoySflnRPKvTH4Qb4HK1DE5zpHipftSBuuUyajKD4UG1MO97nrik73QyiaNKms0iFYGrWxxlKwOlCibtq2e0nqtXLNITG9Gffmmox8hwqx5x7fQZGPMXFo6oIvZGxUJAAeHeUyg78eCpqwfbVaGI8MUg6pkTJeF4LA5VGWml") - .name("55tLRhXfPthFrTbvP80JDs4TLAvvWwguBec41EmwzzFrgc709a7P9KtTHr3zG8NnPjRfIRrqy3FohrRi"); + .discountPercentage(2330.0) + .displayStartsAt("2020-07-22T21:57:26.000000Z") + .endsAt("2024-02-06T10:43:19.000000Z") + .startsAt("2020-01-29T15:22:48.000000Z") + .discountUpperLimit(8) + .description("ldYwHPZ5GyoYYcgPPK3Dchqik562nQJ7JN9nEMDfH9ZULXMKOjFu2fGiShoySflnRPKvTH4Qb4HK1DE5zpHipftSBuuUyajKD4UG1MO97nrik73QyiaNKms0iFYGrWxxlKwOlCibtq2e0nqtXLNITG9Gffmmox8hwqx5x7fQ") + .name("ZGPMXFo6oI"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -1021,14 +1021,14 @@ void test41() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(2204.0) - .displayEndsAt("2022-02-20T22:32:39.000000Z") - .displayStartsAt("2021-10-01T23:48:24.000000Z") - .endsAt("2023-06-06T08:40:02.000000Z") - .startsAt("2023-07-15T08:29:26.000000Z") - .discountUpperLimit(924) - .description("tN77E9sKP2LWTHQkvbYQTkmfSmGSFmTTeLGAy7h6m0YyagUC0Ij3N9K7EVH4f0IDf80jI5hMMqGagepFcb0C3pMehBLw9uhZslxpk65zsLMOaWLvqiZty5Zp232IvDDPPtMusem1WSPOdAkWLCHhP") - .name("7q7jyjEo8V3Di9DtzhzAGKUtsDdhPal5eEvQkTNVI1DbDv2ICSa1fLqeRzw"); + .discountPercentage(8478.0) + .displayEndsAt("2022-10-07T01:23:27.000000Z") + .displayStartsAt("2020-11-03T09:46:30.000000Z") + .endsAt("2022-05-11T18:45:46.000000Z") + .startsAt("2020-09-04T22:22:21.000000Z") + .discountUpperLimit(7232) + .description("xUJAAeHeUyg78eCpqwfbVaGI8MUg6pkTJeF4LA5VGWmlO55tLRhXfPthFrTbvP80JDs4TLAvvWwguBec41EmwzzFrgc709a7P9KtTHr3zG8NnPjRfIRrqy3FohrRiHbftN77E9sKP2LWTHQkvbYQTkmfSmGSFmTTeLGAy7h6m0YyagUC0Ij3N9K7EVH4f0IDf80jI5hM") + .name("qGagepFcb0C3pMehBLw9uhZslxpk65zsLMOaWLvqiZty5Zp232IvDDPPtMusem1WSPOdAkWLCHhP7q"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -1045,15 +1045,15 @@ void test42() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(9497.0) + .discountPercentage(6199.0) .setDisabled(true) - .displayEndsAt("2022-05-26T11:53:50.000000Z") - .displayStartsAt("2023-03-05T10:35:52.000000Z") - .endsAt("2021-10-31T13:19:42.000000Z") - .startsAt("2021-05-09T08:15:36.000000Z") - .discountUpperLimit(3285) - .description("Hy7seU6TPp7YTcvCbmuWQvyjmdKhWFzroFJfg0zCih9qHu842U5SnXNqipKVsIIUjVYx3ZiMVPZEq0xgguEtAXJ6WozfUGo1oVRA1PV2JD5SjzUvS2Jlq6P89tC2Mi1PRe6ex8zQnoMXPxIs0d6X24reGHeQvAPqGMsA1rgfPu4olvC1KDDE1G2mG") - .name("U9YeDH"); + .displayEndsAt("2020-12-02T01:56:58.000000Z") + .displayStartsAt("2020-08-12T00:00:14.000000Z") + .endsAt("2022-02-15T18:53:30.000000Z") + .startsAt("2023-01-08T07:25:15.000000Z") + .discountUpperLimit(4089) + .description("jEo8V3Di9DtzhzAGKUtsDdhPal5eEvQkTNVI1DbDv2ICSa1fLqeRzwnNnU8Hy7seU6TPp7YTcvCbmuWQvyjmdKhWFzroFJfg0zCih9qHu842U5SnXNqipKVsIIUjVYx3ZiMVPZEq0xgguEtAXJ6WozfUGo1oVRA1PV2JD5SjzUvS2Jlq6P89tC2Mi1PRe6ex8zQnoMXPxIs0d6X24reGHeQvAPqGMs") + .name("A1rgfPu4olvC1KDDE1G2mGU9YeDH5Tysjz5v4HW6eqkSkn"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -1070,16 +1070,16 @@ void test43() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(9141.0) + .discountPercentage(6019.0) .setHidden(true) - .setDisabled(true) - .displayEndsAt("2022-02-08T23:04:25.000000Z") - .displayStartsAt("2023-07-04T15:47:08.000000Z") - .endsAt("2021-05-02T16:53:33.000000Z") - .startsAt("2021-10-30T23:58:56.000000Z") - .discountUpperLimit(6974) - .description("jz5v4HW6eqkSknjWS4aW80Xp5YCo9TXEMx6Q3N4lydCpBzThmgOIjIatpE7508LaYMNkxpSQqkfWLu8WbqqwjfwNPVeBo88egFulBO0tWJ93Y52C590AS7UiB0DiDGREmImyJDbbC2wEGBfcAGc0EsTxqnb80BRFYcLTC4xCABLekowD1pN0MSUSSu62wEl3iPUkIv4a2NsBAg7OoWmbOWXvcqkH6OCG8bjnFs6Wxag7kVTYLZtj") - .name("qA6blCNXCxB23NKDv"); + .setDisabled(false) + .displayEndsAt("2021-02-23T18:14:02.000000Z") + .displayStartsAt("2022-10-22T07:05:19.000000Z") + .endsAt("2022-02-17T16:54:47.000000Z") + .startsAt("2021-01-29T00:52:35.000000Z") + .discountUpperLimit(5428) + .description("aW80Xp5YCo9TXEMx6Q3N4lydCpBzThmgOIjIatpE7508LaYMNkxpSQqkfWLu8WbqqwjfwNPVeBo88egFulBO0tWJ93Y52C590AS7UiB0DiDGREmImyJDbbC2wEGBfcAGc0EsT") + .name("xqnb80BRFYcLTC4xCABLekowD1pN0MSUSSu62wEl3iPUkIv4a2NsBAg7OoWmbOWXvcqkH6OCG8bjnFs6Wxag7kVTYLZtjq"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -1096,17 +1096,17 @@ void test44() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(8485.0) - .setPublic(false) - .setHidden(false) - .setDisabled(true) - .displayEndsAt("2021-12-01T04:54:19.000000Z") - .displayStartsAt("2023-08-26T06:04:20.000000Z") - .endsAt("2023-11-01T17:05:06.000000Z") - .startsAt("2021-12-03T18:52:53.000000Z") - .discountUpperLimit(4843) - .description("6rCZ5MRu3n3kWR611LhXRF1WjDXemYssWVQAa0S9OWEqIPoWhsZ81p0D8THD4dpuhxNvhxjPfdLCMpGSOhV764tKT9oHgjnPne51YZOU0zGq4PpZBc0rJPOstD7C9IM7suB5w40dZFTsuKZGsFElmQpA4RSTaTlLaqlkU49OXmcM1eYLCIvDzYzwAtEksQWSl6Am3gCBrhM35EfmrtOFWMml5EKRiDsWg9ZcujQMFm") - .name("4vZ2HzNm8wdK6sB9HsuClaKx3AfzVa9lboQsNDBH1uzKMqlEF94aThPURq2Q4ZM2ZH2d8EggWOOiiO67HWQCePWkLnY7y5P2vTc"); + .discountPercentage(9743.0) + .setPublic(true) + .setHidden(true) + .setDisabled(false) + .displayEndsAt("2023-07-24T23:18:14.000000Z") + .displayStartsAt("2021-04-22T12:28:18.000000Z") + .endsAt("2022-09-23T16:27:24.000000Z") + .startsAt("2021-01-24T12:52:37.000000Z") + .discountUpperLimit(606) + .description("NXCxB23NKDv8dBki6rCZ5MRu3n3kWR611LhXRF1WjDXemYssWVQAa0S9OWEqIPoWhsZ8") + .name("p0D8THD4dpuhxNvhxjPfdLCMpGSOhV764tKT9oHgjnPne51YZO"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -1123,18 +1123,18 @@ void test45() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(9898.0) - .code("DF85U") - .setPublic(true) + .discountPercentage(8405.0) + .code("0zGq4PpZBc") + .setPublic(false) .setHidden(false) - .setDisabled(false) - .displayEndsAt("2020-10-30T12:50:32.000000Z") - .displayStartsAt("2022-07-04T05:18:43.000000Z") - .endsAt("2020-02-02T16:47:45.000000Z") - .startsAt("2022-01-04T12:45:48.000000Z") - .discountUpperLimit(1671) - .description("RLtjhMxgRT9FEddBtVan5HyW6Uan9MoY") - .name("beeBKUXDDy014vqgIch5W6XuTL0vlIdvdIMbz7wUi6BXoKUl0tR07369wBiPR32MXZafz3jffpT8lg"); + .setDisabled(true) + .displayEndsAt("2023-08-26T05:56:22.000000Z") + .displayStartsAt("2023-09-30T11:22:26.000000Z") + .endsAt("2023-01-31T10:52:46.000000Z") + .startsAt("2021-06-22T23:31:22.000000Z") + .discountUpperLimit(848) + .description("stD7C9IM7suB5w40dZFTsuKZGsFElmQpA4RSTaTlLaqlkU49OXmcM1eYLCIvDzYzwAtEksQWSl6Am3gCBrhM35EfmrtOFWMml5EKRiDsWg9ZcujQMFmb4vZ2HzNm8wdK6sB9HsuClaKx3AfzVa9lboQsNDBH1uzKMqlEF94aThPURq2Q4ZM2ZH2d8EggWOOiiO67HWQCePWkLnY7") + .name("5P2vTc2kTDF85U9g31HpRLtjhMxgRT9FEddBtVan5HyW6Uan9MoYMbeeBKUXDDy014vqgIch5W6XuTL0vlIdvdIMbz7wUi6BXoKUl0tR07369wBiPR32MXZafz"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -1151,19 +1151,19 @@ void test46() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(1949.0) - .usageLimit(3853) - .code("ERnFdcWh") + .discountPercentage(9651.0) + .usageLimit(3352) + .code("fpT8lgG") .setPublic(true) .setHidden(false) - .setDisabled(true) - .displayEndsAt("2021-03-14T08:37:16.000000Z") - .displayStartsAt("2022-07-02T22:09:21.000000Z") - .endsAt("2022-08-04T10:08:23.000000Z") - .startsAt("2023-01-15T22:21:48.000000Z") - .discountUpperLimit(4193) - .description("fJ60D0H2T0aKhnL3FlnAD82QrpYaKuslNraOesyAiawWiyWkSV3bs4OkWhHFx3P67yxFmxWAZtU") - .name("oiVrIFnb7w6ZClkoqVajvuG5cGcBP5wA9GwSB8bfxMId7hFKERGvYa7vbD1cIywVpXocQ5N98CAVKuKRC5FL"); + .setDisabled(false) + .displayEndsAt("2021-06-02T05:42:42.000000Z") + .displayStartsAt("2021-01-25T22:40:46.000000Z") + .endsAt("2022-03-01T13:27:34.000000Z") + .startsAt("2022-02-25T10:45:56.000000Z") + .discountUpperLimit(3159) + .description("SdaJfJ60D0H2T0aKhnL3FlnAD82QrpYaKuslNraOesyAiawWiyWkSV3bs4OkWhHFx3P67yxFmxWAZtUSoiVrIFnb7w6ZClkoqVajvuG5c") + .name("GcBP5wA9GwSB8bfxMId7hFKERGvYa"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -1180,20 +1180,20 @@ void test47() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(6047.0) - .minAmount(1601) - .usageLimit(7881) - .code("iGK") + .discountPercentage(9149.0) + .minAmount(2231) + .usageLimit(6653) + .code("bD1cIyw") .setPublic(true) .setHidden(false) - .setDisabled(false) - .displayEndsAt("2021-09-03T11:23:53.000000Z") - .displayStartsAt("2021-10-05T09:36:56.000000Z") - .endsAt("2022-12-25T05:12:59.000000Z") - .startsAt("2020-09-24T20:30:53.000000Z") - .discountUpperLimit(419) - .description("NBTqLCZ99AjVbK3l31NeAICSoLJdEVZoJB0H5I2jNmYRtpCMs9TezTj3A085y5hWQ3gd") - .name("DOWFExGORRYNLJdsZ6n3IGoF44i0499bTqwmusaHN4dAo0kcMwrj6lsuth9pSzmqVAxW3BZh2UFG0NdobuyCqKAyF8XBloHn7nUM7l"); + .setDisabled(true) + .displayEndsAt("2023-07-03T17:15:20.000000Z") + .displayStartsAt("2021-08-20T09:11:22.000000Z") + .endsAt("2021-06-13T20:21:16.000000Z") + .startsAt("2022-12-19T18:04:08.000000Z") + .discountUpperLimit(1549) + .description("cQ5N98CAVKuKRC5FLAIRiGKuI8CNBTqLCZ99AjVbK3l31NeAICSoLJdEVZoJB0H5I2jNmYRtpCMs9TezTj3A085y5hWQ3gdeDOWFExGORRYNLJdsZ6n3IGoF44i0499bTqwmusaHN4dAo0kcMwrj6lsuth9pSzmqVAxW3BZh2UFG0NdobuyCqKAyF8XBloHn7nUM7l934bPMQ7DIwFMXGuPCrmdUDxKggDFfFvOJkxhc8IPv") + .name("tQD4QxNm6tX3Guvbo2vDNfvQpElqxJKgNyOMeXS2rUoCJ5iH"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -1210,21 +1210,21 @@ void test48() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(1021.0) - .setShopSpecified(true) - .minAmount(2838) - .usageLimit(5561) - .code("4bPM") + .discountPercentage(4770.0) + .setShopSpecified(false) + .minAmount(7922) + .usageLimit(9929) + .code("swPc2") .setPublic(true) .setHidden(false) .setDisabled(true) - .displayEndsAt("2020-12-20T15:37:32.000000Z") - .displayStartsAt("2022-08-15T22:41:05.000000Z") - .endsAt("2020-06-18T05:25:37.000000Z") - .startsAt("2020-05-03T09:41:11.000000Z") - .discountUpperLimit(9668) - .description("wFMXGuPCrmdUDxKggDFfFvOJkxhc8IPvtQD4QxNm6tX3Guvbo2vDNfvQpElqxJKgNyOMeXS2rU") - .name("oCJ5iHqorIswPc2cBsLEwskU0m8hSr1melepO9LnwIsUcSmvb4GOUqCz9cG"); + .displayEndsAt("2020-03-27T12:54:11.000000Z") + .displayStartsAt("2020-05-10T02:22:04.000000Z") + .endsAt("2020-04-17T04:38:29.000000Z") + .startsAt("2022-03-25T04:16:14.000000Z") + .discountUpperLimit(4958) + .description("kU0m8hSr1melepO9LnwIsUcSmvb4GOUqCz9cGDIhlPt52zP7YS2DWusWLcKpd2P335Nv6jpCTg7cImjgcPmkAEumRe3ajMg8VGC0KZL7VMaMEGv2NsNR") + .name("CHkqW6b190Xf2yHeAyBqIIySMiYLD3kq3Znz8pepfEmpSiLZTFdERWScAwFtubDUWmymMiDw"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -1241,22 +1241,22 @@ void test49() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(4130.0) - .availableShopIds(new String[]{"1a89a5c9-2ce8-49bc-be06-50fde05e2fec","83bb16d0-bd89-4c74-88b5-253b718fe387","8006550f-e0b2-417a-9037-2c59101d3453","bfb8ba32-12c4-4e28-91a1-12d71c5c5f14","24b4821a-fd75-4ff3-a4d7-3acc8085c863","e2b6cfbc-efcb-4d7b-a5f0-63e43c32a532","044b272d-318f-4ca5-9d50-b8332afa748c","547fc533-38b5-4ace-b6b6-ae923d41adea"}) + .discountPercentage(6342.0) + .availableShopIds(new String[]{"42761e86-170f-4746-a5dd-1166e55ee0a2","da1330e3-754e-48ce-8c41-1d7ff794db93","3f6cf7e6-fb07-49d4-b036-3e60ae980196","678f86c7-1933-48ed-b29e-8453f9a41db1","285bb3ba-1fb1-479c-9f80-01c8d1134c1b","7b416a00-e792-402f-9744-192e78c7af69","4fc6c6ce-da91-48c3-b25f-b0547fa396b6","86db4725-51da-4f31-bb03-52084a666b85"}) .setShopSpecified(true) - .minAmount(9456) - .usageLimit(1827) - .code("C") + .minAmount(9374) + .usageLimit(2246) + .code("Wi9xNJq") .setPublic(true) .setHidden(false) .setDisabled(true) - .displayEndsAt("2022-10-26T23:25:08.000000Z") - .displayStartsAt("2023-03-14T20:11:39.000000Z") - .endsAt("2021-04-24T00:56:28.000000Z") - .startsAt("2022-06-27T03:47:51.000000Z") - .discountUpperLimit(6153) - .description("cImjgcPmkAEumRe3ajMg8VGC0KZL7VMaMEGv2NsNRGCHkqW6b190Xf2y") - .name("eAyBqIIySMiYLD3kq3Znz8pepfEmpSiLZTFdERWScAwFtubDUWmymMiDwFFfcNNLAfTp6G3m2"); + .displayEndsAt("2021-02-22T21:43:44.000000Z") + .displayStartsAt("2022-08-14T04:38:13.000000Z") + .endsAt("2023-08-01T15:33:49.000000Z") + .startsAt("2022-09-08T13:08:36.000000Z") + .discountUpperLimit(7305) + .description("G4qAHZdsob31RGFcTjCHIRk6EOKDYDfh7IyYBfSv2V1UV4oPfCtFaYiWkYeLppJ33CkMXXFMJbGPqbgq29Gzz59vVOvin5VZAtZIBDPoHNl5n64I544K0pgRwqKcwLRpyfhv") + .name("p3huvf9ISSZ1V5b6lHxDKXrcl2EVGtJV2Ntce9IqiVZ5m5eyekXLeKtBuImxNnX45R5ZNIieikdp8w9LWlkr"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) { @@ -1273,23 +1273,23 @@ void test50() throws ConnectionError, ProcessingError { Request request = new UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) - .discountPercentage(4510.0) - .storageId("52c58453-1db1-43ba-b19c-e2df93cfb180") - .availableShopIds(new String[]{"d1134c1b-6a00-4792-af17-1a44a9e3192e","78c7af69-c6ce-4a91-83b2-975f1be5b054","7fa396b6-4725-41da-b1fb-f303582c5208","4a666b85-f7ce-4fd2-9ec6-2f261f6a5bbe","62360857-9d69-45b9-b8ce-f5caf1e8f6fc","0bd2112d-fff1-4ac8-a976-44908cec9b35","56bd44dd-0854-490e-8983-1c0388d6bc2b","b17913c7-6134-4baf-9d71-1921a14b472d","e21b8593-ef88-4528-9e94-4f41783cef48"}) - .setShopSpecified(true) - .minAmount(3075) - .usageLimit(356) - .code("ob31") + .discountPercentage(7309.0) + .storageId("15dcc571-fa3b-4727-ae82-bd92b528c9ba") + .availableShopIds(new String[]{"6160df3a-d2a1-4b0d-9363-007aa169cba4","405f6334-0db3-4aa3-9daa-795de6a959e4","265693ac-b5a9-472f-82a3-b06d681948b2","ec9dfab6-8506-4b8e-8f9a-503a3d7cd78f","cb34a0f2-1a37-4960-86a4-102d93d03b45","e255b237-eeef-4e78-98f7-0311f60f4509"}) + .setShopSpecified(false) + .minAmount(6385) + .usageLimit(2847) + .code("eP95WFsrDT") .setPublic(true) .setHidden(false) - .setDisabled(true) - .displayEndsAt("2021-05-02T11:04:15.000000Z") - .displayStartsAt("2020-06-01T05:11:51.000000Z") - .endsAt("2020-06-12T12:23:35.000000Z") - .startsAt("2021-10-30T18:42:50.000000Z") - .discountUpperLimit(7710) - .description("cTjCHIRk6EOKDYDfh7IyYBfSv2V1UV4oPfCtFaYiWkYeLppJ33CkMXXFMJbGPqbgq29Gzz59vVOvin5VZAtZIBDPoHNl5n64I544K0pgRwqKcwLRpyfhvSp3huvf9ISSZ1V5b6lHxDKXrcl2EVGtJV2Ntce9IqiVZ5m5eyekXLeKtBuImxNnX45R5ZNIieikdp8w9LW") - .name("lkrqUcz43dBm26Or7FE7oxXwqyeP95WFsrDTZsTHaLMAx4xhJmPNb2Vt3kMgTzAxm3nuCtm4tM4rQ7TMWwQQegAiqW5Gh3EedIVkoAN4R6PBgm1bgbkQVRY8MuhwDyk"); + .setDisabled(false) + .displayEndsAt("2024-02-03T06:31:48.000000Z") + .displayStartsAt("2020-08-15T14:35:18.000000Z") + .endsAt("2021-10-31T14:42:36.000000Z") + .startsAt("2022-04-12T10:51:52.000000Z") + .discountUpperLimit(8652) + .description("Ax4xhJmPNb2Vt3kMgTzAxm3nuCtm4tM4rQ7TMWwQQegAiqW5Gh3EedIVkoAN4R6PBgm1bgbkQVRY8M") + .name("hwDykulFo5mDyJw8V3XaTOkFDFDXkJRYuzmNrD0IPFMYcPpoEqcZqYNWKYupHW3vkZPbupwOmpLyfcnvR24ekndSEuijqLz34cJjz9WzSXV2waIpnDEjnP"); try { PartnerAPITest.getClient().send(request); } catch (PartnerRequestError e) {