import { Validator } from './Validator'; /** * The metadata to include in server requests. * * {@link https://developer.apple.com/documentation/advancedcommerceapi/requestinfo RequestInfo} */ export interface AdvancedCommerceRequestInfo { /** * A UUID that represents an app account token, to associate with the transaction in the request. **/ appAccountToken?: string; /** * The value of the advancedCommerceConsistencyToken that you receive in the JWSRenewalInfo renewal information for a subscription. Don't generate this value. * * {@link https://developer.apple.com/documentation/AppStoreServerAPI/advancedCommerceConsistencyToken advancedCommerceConsistencyToken} **/ consistencyToken?: string; /** * A UUID that you provide to uniquely identify each request. If the request times out, you can use the same requestReferenceId value to retry the request. Otherwise, provide a unique value. **/ requestReferenceId: string; } export declare class AdvancedCommerceRequestInfoValidator implements Validator { validate(obj: any): obj is AdvancedCommerceRequestInfo; }