alerts.billing namespace

기능

기능 설명
onPlanAutomatedUpdatePublished(처리기) 자동 청구 계획 업데이트 이벤트를 처리할 수 있는 함수를 선언합니다.
onPlanAutomatedUpdatePublished(옵션, 핸들러) 자동 청구 계획 업데이트 이벤트를 처리할 수 있는 함수를 선언합니다.
onPlanUpdatePublished(처리기) 요금제 업데이트 이벤트를 처리할 수 있는 함수를 선언합니다.
onPlanUpdatePublished(옵션, 핸들러) 요금제 업데이트 이벤트를 처리할 수 있는 함수를 선언합니다.

인터페이스

상호 작용 설명
결제 이벤트 Firebase 알림을 청구하기 위한 맞춤 CloudEvent입니다(맞춤 확장 속성 포함).
계획자동업데이트페이로드 청구 계획 자동 업데이트를 위한 내부 페이로드 개체입니다. 페이로드는 FirebaseAlertData 객체 내에 래핑됩니다.
계획 업데이트 페이로드 요금제 업데이트를 위한 내부 페이로드 개체입니다. 페이로드는 FirebaseAlertData 객체 내에 래핑됩니다.

Alerts.billing.onPlanAutomatedUpdatePublished()

자동 청구 계획 업데이트 이벤트를 처리할 수 있는 함수를 선언합니다.

서명:

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

매개변수

매개변수 유형 설명
매니저 (이벤트: BillingEvent < PlanAutomatedUpdatePayload >) => 모두 | 약속<아무거나> 자동 요금제 업데이트가 발생할 때마다 실행되는 이벤트 핸들러입니다.

보고:

CloudFunction < 결제이벤트 < PlanAutomatedUpdatePayload >>

내보내고 배포할 수 있는 기능입니다.

Alerts.billing.onPlanAutomatedUpdatePublished()

자동 청구 계획 업데이트 이벤트를 처리할 수 있는 함수를 선언합니다.

서명:

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

매개변수

매개변수 유형 설명
선택하다 options.EventHandler옵션 함수에 설정할 수 있는 옵션입니다.
매니저 (이벤트: BillingEvent < PlanAutomatedUpdatePayload >) => 모두 | 약속<아무거나> 자동 요금제 업데이트가 발생할 때마다 실행되는 이벤트 핸들러입니다.

보고:

CloudFunction < 결제이벤트 < PlanAutomatedUpdatePayload >>

내보내고 배포할 수 있는 기능입니다.

Alerts.billing.onPlanUpdatePublished()

요금제 업데이트 이벤트를 처리할 수 있는 함수를 선언합니다.

서명:

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

매개변수

매개변수 유형 설명
매니저 (이벤트: BillingEvent < 계획업데이트페이로드 >) => 모두 | 약속<아무거나> 과금 계획이 업데이트될 때마다 실행되는 이벤트 핸들러입니다.

보고:

CloudFunction < 결제이벤트 < 계획업데이트페이로드 >>

내보내고 배포할 수 있는 기능입니다.

Alerts.billing.onPlanUpdatePublished()

요금제 업데이트 이벤트를 처리할 수 있는 함수를 선언합니다.

서명:

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

매개변수

매개변수 유형 설명
선택하다 options.EventHandler옵션 함수에 설정할 수 있는 옵션입니다.
매니저 (이벤트: BillingEvent < 계획업데이트페이로드 >) => 모두 | 약속<아무거나> 과금 계획이 업데이트될 때마다 실행되는 이벤트 핸들러입니다.

보고:

CloudFunction < 결제이벤트 < 계획업데이트페이로드 >>

내보내고 배포할 수 있는 기능입니다.