@bootpay/backend-js
Version:
Bootpay Server Side Package for Node.js
25 lines (24 loc) • 1.02 kB
TypeScript
import { BootpayCommerceResource, BootpayCommerceResponse } from '../../commerce-resource';
import { CommerceOrderSubscriptionBill, OrderSubscriptionBillListParams } from '../types';
export declare class OrderSubscriptionBillModule {
private bootpay;
constructor(bootpay: BootpayCommerceResource);
/**
* 정기구독 청구 목록 조회
* @param params 조회 파라미터
*/
list(params?: OrderSubscriptionBillListParams): Promise<BootpayCommerceResponse<{
items: CommerceOrderSubscriptionBill[];
total: number;
}>>;
/**
* 정기구독 청구 상세 조회
* @param orderSubscriptionBillId 청구 ID
*/
detail(orderSubscriptionBillId: string): Promise<BootpayCommerceResponse<CommerceOrderSubscriptionBill>>;
/**
* 정기구독 청구 수정
* @param orderSubscriptionBill 청구 정보
*/
update(orderSubscriptionBill: CommerceOrderSubscriptionBill): Promise<BootpayCommerceResponse<CommerceOrderSubscriptionBill>>;
}