メインコンテンツまでスキップ

Subscription Upgrade Validation

Validation messages for subscription upgrade requests, covering currency, subscription ID, and plan name fields.


Overview

KeyMessageDescription
NotBlank.subscriptionUpgradeRequest.currencyサブスクリプションのアップグレードに使用する通貨は、空欄および空白にすることはできません。The currency field is empty when upgrading a subscription.
NotBlank.subscriptionUpgradeRequest.subscriptionIdキャンセルするサブスクリプションの一意の識別子は、空欄および空白にすることはできません。The subscription ID is empty when upgrading.
NotNull.subscriptionUpgradeRequest.planNameアップグレード後のプレミアムプランの名前は、nullを許容していませんThe upgrade plan name is null.

Validation Message Details

NotBlank.subscriptionUpgradeRequest.currency

Message

サブスクリプションのアップグレードに使用する通貨は、空欄および空白にすることはできません。

Description

The currency field is empty when upgrading a subscription.

Root Cause

  • The currency field was left blank or contains only spaces.

Resolution

  1. Provide a valid currency code (e.g., USD, JPY).

NotBlank.subscriptionUpgradeRequest.subscriptionId

Message

キャンセルするサブスクリプションの一意の識別子は、空欄および空白にすることはできません。

Description

The subscription ID is empty when upgrading.

Root Cause

  • The subscriptionId field was left blank or contains only spaces.

Resolution

  1. Provide the unique identifier of the subscription to upgrade.

NotNull.subscriptionUpgradeRequest.planName

Message

アップグレード後のプレミアムプランの名前は、nullを許容していません

Description

The upgrade plan name is null.

Root Cause

  • The planName field was not included in the request.

Resolution

  1. Provide the name of the premium plan to upgrade to.