Guest Order Validation Result
amerta / amerta/theme/utilities/validate-guest-order / GuestOrderValidationResult
Interface: GuestOrderValidationResult
Defined in: amerta/theme/utilities/validate-guest-order.ts:65
Properties
data?
optionaldata: {address: {address:string;apartment:string;building?:string;city:string;cityName?:string;country:string;countryName?:string;firstName:string;floor?:string;id:string;lastName:string;phone:string|number;phoneCountryCode:string;postalCode?:string;state?:string;street:string; };cartTotal:number;deliveryMethodId:string;string;paymentMethodId:string; }
Defined in: amerta/theme/utilities/validate-guest-order.ts:69
address
address: {
address:string;apartment:string;building?:string;city:string;cityName?:string;country:string;countryName?:string;firstName:string;floor?:string;id:string;lastName:string;phone:string|number;phoneCountryCode:string;postalCode?:string;state?:string;street:string; }
address.address
address:
string
address.apartment
apartment:
string
address.building?
optionalbuilding:string
address.city
city:
string
address.cityName?
optionalcityName:string
address.country
country:
string
address.countryName?
optionalcountryName:string
address.firstName
firstName:
string
address.floor?
optionalfloor:string
address.id
id:
string
address.lastName
lastName:
string
address.phone
phone:
string|number
address.phoneCountryCode
phoneCountryCode:
string
address.postalCode?
optionalpostalCode:string
address.state?
optionalstate:string
address.street
street:
string
cartTotal
cartTotal:
number
deliveryMethodId
deliveryMethodId:
string
email:
string
paymentMethodId
paymentMethodId:
string
errors?
optionalerrors: {[x:string]:string; }
Defined in: amerta/theme/utilities/validate-guest-order.ts:67
Index Signature
[x: string]: string
message?
optionalmessage:string
Defined in: amerta/theme/utilities/validate-guest-order.ts:68
success
success:
boolean
Defined in: amerta/theme/utilities/validate-guest-order.ts:66