mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fix Types for package for iamport-react-native (#47882)
* Add Types for package react-native-base64 * Add Types for package iamport-react-native * Add Types for package for react-native-wheel-pick * Fix Types for package for react-native-wheel-pick * Fix Types for package for iamport-react-native Co-authored-by: evan <evanjin@toons.kr>
This commit is contained in:
parent
6dcabd6320
commit
aab89e77b7
43
types/iamport-react-native/index.d.ts
vendored
43
types/iamport-react-native/index.d.ts
vendored
@ -50,32 +50,33 @@ export type IMP_PAY_METHOD =
|
||||
|
||||
export type IMP_CURRENCY = 'KRW' | 'USD' | 'EUR' | 'JPY';
|
||||
|
||||
// Property Note : https://docs.iamport.kr/tech/imp?lang=ko#callback
|
||||
// Property Note : https://docs.iamport.kr/tech/imp?lang=en#callback
|
||||
export interface CallbackRsp {
|
||||
success: boolean;
|
||||
error_code: string;
|
||||
error_msg: string;
|
||||
imp_uid: string;
|
||||
merchant_uid: string;
|
||||
pay_method: string;
|
||||
paid_amount: string;
|
||||
status: string;
|
||||
name: string;
|
||||
pg_provider: string;
|
||||
pg_tid: string;
|
||||
buyer_name: string;
|
||||
buyer_email: string;
|
||||
buyer_tel: string;
|
||||
buyer_addr: string;
|
||||
buyer_postcode: string;
|
||||
custom_data: object;
|
||||
paid_at: number;
|
||||
receipt_url: string;
|
||||
success?: boolean;
|
||||
error_code?: string;
|
||||
error_msg?: string;
|
||||
imp_uid?: string;
|
||||
merchant_uid?: string;
|
||||
pay_method?: string;
|
||||
paid_amount?: string;
|
||||
status?: string;
|
||||
name?: string;
|
||||
pg_provider?: string;
|
||||
pg_tid?: string;
|
||||
buyer_name?: string;
|
||||
buyer_email?: string;
|
||||
buyer_tel?: string;
|
||||
buyer_addr?: string;
|
||||
buyer_postcode?: string;
|
||||
custom_data?: object;
|
||||
paid_at?: number;
|
||||
receipt_url?: string;
|
||||
apply_num?: string;
|
||||
vbank_num?: string;
|
||||
vbank_name?: string;
|
||||
vbank_holder?: string;
|
||||
vbank_date?: number;
|
||||
imp_success?: string;
|
||||
}
|
||||
|
||||
export interface CertificationData {
|
||||
@ -121,7 +122,7 @@ export interface CertificationProps {
|
||||
loading?: object;
|
||||
}
|
||||
|
||||
// Property Note : https://docs.iamport.kr/tech/imp?lang=ko#param
|
||||
// Property Note : https://docs.iamport.kr/tech/imp?lang=en#param
|
||||
export interface PaymentProps {
|
||||
userCode: string;
|
||||
tierCode?: string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user