@maxio-com/advanced-billing-sdk
Version:
Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.
20 lines (16 loc) • 527 B
text/typescript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { expandoObject, number, Schema } from '../schema';
export interface UpdateCurrencyPrice {
/** ID of the currency price record being updated */
id: number;
/** New price for the given currency */
price: number;
[key: string]: unknown;
}
export const updateCurrencyPriceSchema: Schema<UpdateCurrencyPrice> = expandoObject(
{ id: ['id', number()], price: ['price', number()] }
);