AiutaSizeFitConfig

class AiutaSizeFitConfig(val age: Int, val height: Int, val weight: Int, val gender: AiutaSizeFitConfig.Gender, val hipShape: AiutaSizeFitConfig.HipShape? = null, val bellyShape: AiutaSizeFitConfig.BellyShape? = null, val braSize: Int? = null, val braCup: AiutaSizeFitConfig.BraCup? = null)

Configuration class representing user's body measurements and shape for size recommendations.

This class encapsulates all the physical characteristics needed to calculate a personalized size recommendation through the NaizFit API.

See also

Constructors

Link copied to clipboard
constructor(age: Int, height: Int, weight: Int, gender: AiutaSizeFitConfig.Gender, hipShape: AiutaSizeFitConfig.HipShape? = null, bellyShape: AiutaSizeFitConfig.BellyShape? = null, braSize: Int? = null, braCup: AiutaSizeFitConfig.BraCup? = null)

Types

Link copied to clipboard

User's perceived belly shape for more accurate size recommendations.

Link copied to clipboard

Bra cup size classification.

Link copied to clipboard

User's gender classification for size recommendations.

Link copied to clipboard

User's perceived hip shape for more accurate size recommendations.

Properties

Link copied to clipboard
val age: Int

User's age in years

Link copied to clipboard

User's perceived belly shape (optional, used for more accurate recommendations)

Link copied to clipboard

Bra cup size (optional)

Link copied to clipboard
val braSize: Int?

Bra band size (optional, e.g., 32, 34, 36)

Link copied to clipboard
Link copied to clipboard
val height: Int

User's height in centimeters

Link copied to clipboard

User's perceived hip shape (optional, used for more accurate recommendations)

Link copied to clipboard
val weight: Int

User's weight in kilograms