@wiqotech/nestjs-digiflazz
Version:
NestJS Digiflazz SDK Module
22 lines (21 loc) • 1 kB
TypeScript
import { DigiflazzConfig } from './dto/Config';
import { BaseService } from './base.service';
import { PaymentCharge } from './dto/PaymentCharge';
import { InquiryPln } from './dto/InquiryPln';
import { Deposit } from './dto/Deposit';
export declare class DigiflazzService extends BaseService {
private readonly config;
constructor(config: DigiflazzConfig);
private init;
private signHash;
getBalance(): Promise<any>;
charge(payload: PaymentCharge, testing?: boolean): Promise<any>;
checkStatusPrepaid(payload: PaymentCharge, testing?: boolean): Promise<any>;
checkStatusPostpaid(payload: PaymentCharge, testing?: boolean): Promise<any>;
getProductPricePrepaid(): Promise<any>;
getProductPricePasca(): Promise<any>;
createDeposit(payload: Deposit): Promise<any>;
checkBill(payload: PaymentCharge, testing?: boolean): Promise<any>;
payBill(payload: PaymentCharge, testing?: boolean): Promise<any>;
InquiryPLN(payload: InquiryPln): Promise<any>;
}