modify-qris
Version:
Modify QRIS Generator is a javascript based libraries that enabling flexible payments with customizable amounts for improved efficiency and user experience
26 lines (25 loc) • 1.01 kB
TypeScript
import { DataEntity, AdditionalInformationEntity, AcquirerEntity, SwitchingEntity } from './';
export interface QRISEntity {
version: DataEntity | null;
category: DataEntity | null;
acquirer: AcquirerEntity | null;
acquirer_bank_transfer: AcquirerEntity | null;
switching: SwitchingEntity | null;
merchant_category_code: DataEntity | null;
currency_code: DataEntity | null;
payment_amount: DataEntity | null;
payment_fee_category: DataEntity | null;
payment_fee: DataEntity | null;
country_code: DataEntity | null;
merchant_name: DataEntity | null;
merchant_city: DataEntity | null;
merchant_postal_code: DataEntity | null;
additional_information: AdditionalInformationEntity | null;
crc_code: DataEntity | null;
}
/**
* Converts a QRISEntity to its string representation
* @param qris The QRIS entity to convert
* @returns A string representation of the QRIS data
*/
export declare function qrisEntityToString(qris: QRISEntity): string;