react-native-iap
Version:
React Native In App Purchase Module.
27 lines • 934 B
TypeScript
/**
* Payment discount interface @see https://developer.apple.com/documentation/storekit/skpaymentdiscount?language=objc
*/
export interface PaymentDiscount {
/**
* A string used to uniquely identify a discount offer for a product.
*/
identifier: string;
/**
* A string that identifies the key used to generate the signature.
*/
keyIdentifier: string;
/**
* A universally unique ID (UUID) value that you define.
*/
nonce: string;
/**
* A UTF-8 string representing the properties of a specific discount offer, cryptographically signed.
*/
signature: string;
/**
* The date and time of the signature's creation in milliseconds, formatted in Unix epoch time.
*/
timestamp: number;
}
export declare const offerToRecord: (offer: PaymentDiscount | undefined) => Record<keyof PaymentDiscount, string> | undefined;
//# sourceMappingURL=apple.d.ts.map