alerts.billing namespace

機能

関数説明
onPlanAutomatedUpdatePublished(ハンドラー)自動料金プラン更新イベントを処理できる関数を宣言します。
onPlanAutomatedUpdatePublished(opts, ハンドラー)自動料金プラン更新イベントを処理できる関数を宣言します。
onPlanUpdatePublished(ハンドラー)料金プラン更新イベントを処理できる関数を宣言します。
onPlanUpdatePublished(opts, ハンドラー)料金プラン更新イベントを処理できる関数を宣言します。

インターフェース

インターフェース説明
請求イベントFirebase アラートを請求するためのカスタム CloudEvent (カスタム拡張属性を使用)。
計画自動更新ペイロード料金プラン自動更新用の内部ペイロード オブジェクト。ペイロードはFirebaseAlertDataオブジェクト内にラップされます。
プラン更新ペイロード料金プラン更新用の内部ペイロード オブジェクト。ペイロードはFirebaseAlertDataオブジェクト内にラップされます。

alerts.billing.onPlanAutomatedUpdatePublished()

自動料金プラン更新イベントを処理できる関数を宣言します。

サイン:

export declare function onPlanAutomatedUpdatePublished(handler: (event: BillingEvent<PlanAutomatedUpdatePayload>) => any | Promise<any>): CloudFunction<BillingEvent<PlanAutomatedUpdatePayload>>;

パラメーター

パラメータタイプ説明
ハンドラ(イベント: BillingEvent < PlanAutomatedUpdatePayload >) => 任意 |約束<任意>自動料金プランの更新が発生するたびに実行されるイベント ハンドラー。

戻り値:

クラウドファンクション<請求イベント< PlanAutomatedUpdatePayload >>

エクスポートしてデプロイできる機能。

alerts.billing.onPlanAutomatedUpdatePublished()

自動料金プラン更新イベントを処理できる関数を宣言します。

サイン:

export declare function onPlanAutomatedUpdatePublished(opts: options.EventHandlerOptions, handler: (event: BillingEvent<PlanAutomatedUpdatePayload>) => any | Promise<any>): CloudFunction<BillingEvent<PlanAutomatedUpdatePayload>>;

パラメーター

パラメータタイプ説明
選択しますoptions.EventHandlerOptions機能に設定できるオプション。
ハンドラ(イベント: BillingEvent < PlanAutomatedUpdatePayload >) => 任意 |約束<任意>自動料金プランの更新が発生するたびに実行されるイベント ハンドラー。

戻り値:

クラウドファンクション<請求イベント< PlanAutomatedUpdatePayload >>

エクスポートしてデプロイできる機能。

alerts.billing.onPlanUpdatePublished()

料金プラン更新イベントを処理できる関数を宣言します。

サイン:

export declare function onPlanUpdatePublished(handler: (event: BillingEvent<PlanUpdatePayload>) => any | Promise<any>): CloudFunction<BillingEvent<PlanUpdatePayload>>;

パラメーター

パラメータタイプ説明
ハンドラ(イベント: BillingEvent < PlanUpdatePayload >) => 任意 |約束<任意>料金プランが更新されるたびに実行されるイベント ハンドラー。

戻り値:

クラウドファンクション<請求イベント< PlanUpdatePayload >>

エクスポートしてデプロイできる機能。

alerts.billing.onPlanUpdatePublished()

料金プラン更新イベントを処理できる関数を宣言します。

サイン:

export declare function onPlanUpdatePublished(opts: options.EventHandlerOptions, handler: (event: BillingEvent<PlanUpdatePayload>) => any | Promise<any>): CloudFunction<BillingEvent<PlanUpdatePayload>>;

パラメーター

パラメータタイプ説明
選択しますoptions.EventHandlerOptions機能に設定できるオプション。
ハンドラ(イベント: BillingEvent < PlanUpdatePayload >) => 任意 |約束<任意>料金プランが更新されるたびに実行されるイベント ハンドラー。

戻り値:

クラウドファンクション<請求イベント< PlanUpdatePayload >>

エクスポートしてデプロイできる機能。