import { number , object , optional , Schema , string } from '../schema' ; export interface V1Money { /**
     * Amount in the lowest denominated value of this Currency. E.g. in USD
     * these are cents, in JPY they are Yen (which do not have a 'cent' concept).
     */ amount ? : number ; /**
     * Indicates the associated currency for an amount of money. Values correspond
     * to [ISO 4217](https://wikipedia.org/wiki/ISO_4217).
     */ currencyCode ? : string ; } export const v1MoneySchema = object ( { amount : [ 'amount' , optional ( number ( ) ) ] , currencyCode : [ 'currency_code' , optional ( string ( ) ) ] , } ) ;