import { IMonetaryAmount } from './monetaryAmount'; import { IOfferItemCondition } from './offerItemCondition'; import { IThing } from './thing'; export declare enum RefundTypeEnumeration { ExchangeRefund = "ExchangeRefund", FullRefund = "FullRefund", StoreCreditRefund = "StoreCreditRefund" } export declare enum ReturnFeesEnumeration { /** * Specifies that product returns are free of charge for the customer. */ FreeReturn = "FreeReturn", /** * Specifies that the customer must pay a restocking fee when returning a product */ RestockingFees = "RestockingFees", /** * Specifies that product returns must be paid for, and are the responsibility of, the customer. */ ReturnFeesCustomerResponsibility = "ReturnFeesCustomerResponsibility" } /** * 返品ポリシーインターフェース * {@link https://schema.org/MerchantReturnEnumeration} */ export declare enum MerchantReturnEnumeration { /** * there is a finite window for product returns. */ MerchantReturnFiniteReturnWindow = "MerchantReturnFiniteReturnWindow", /** * product returns are not permitted. */ MerchantReturnNotPermitted = "MerchantReturnNotPermitted", /** * there is an unlimited window for product returns. */ MerchantReturnUnlimitedWindow = "MerchantReturnUnlimitedWindow", /** * a product return policy is not specified here. */ MerchantReturnUnspecified = "MerchantReturnUnspecified" } export type IRestockingFee = Pick; export type IItemCondition = Pick & { id: string; name: { ja: string; }; }; export type ICustomerRemorseReturnFees = ReturnFeesEnumeration; export type ICustomerRemorseReturnFeesMovieTicket = ReturnFeesEnumeration.FreeReturn | ReturnFeesEnumeration.ReturnFeesCustomerResponsibility; export interface IMerchantReturnPolicy extends Pick { typeOf: 'MerchantReturnPolicy'; /** * 適用決済方法 */ applicablePaymentMethod?: string[]; /** * The type of return fees if the product is returned due to customer remorse. */ customerRemorseReturnFees?: ICustomerRemorseReturnFees; /** * 決済カード着券取消仕様 */ customerRemorseReturnFeesMovieTicket?: ICustomerRemorseReturnFeesMovieTicket; /** * Are in-store returns offered? */ inStoreReturnsOffered?: boolean; itemCondition?: IItemCondition; /** * The merchantReturnDays property indicates the number of days (from purchase) * within which relevant merchant return policy is applicable. Supersedes productReturnDays. */ merchantReturnDays?: number; /** * Indicates a Web page or service by URL, for product return. Supersedes productReturnLink. */ merchantReturnLink?: string; /** * A refundType, from an enumerated list. */ refundType?: RefundTypeEnumeration; /** * Use MonetaryAmount to specify a fixed restocking fee for product returns, * or use Number to specify a percentage of the product price paid by the customer. */ restockingFee?: IRestockingFee; /** * Indicates (via enumerated options) the return fees policy for a MerchantReturnPolicy */ returnFees?: ReturnFeesEnumeration; /** * A returnPolicyCategory expresses at most one of several enumerated kinds of return. */ returnPolicyCategory?: MerchantReturnEnumeration; }