Stripe オブジェクトを取得するには、ID が必要です。
- StripeSDKMain 外部オブジェクトを使用したオブジェクトの取得
- 応答のロードまたはエラーの処理
//API 呼び出しを実行
&StripeSDKMain.RetreiveSubscription(&Api_Key,&SubscriptionId,&Response,&Errors,&ErrorCode)
//エラーを処理
if &ErrorCode = 0
&StripeSubscriptionRetreiveResponse.FromJson(&Response)
Msg(&StripeSubscriptionRetreiveResponse.ToJson())
else
&StripeError.FromJson(&Errors)
Msg(&StripeError.ToJson())
EndIf
|