ripe / com.ripe.android.api / SizeAPI / nativeToSizeAsync

nativeToSizeAsync

open fun nativeToSizeAsync(scale: String, value: Int, gender: String, options: Map<String, Any> = HashMap()): Deferred<Map<String, Any>?>

Converts a size value in the specified scale to the corresponding native size. The available scales, genders and sizes can be obtained with the method getPriceAsync.

Parameters

scale - The scale which one wants to convert from.

value - The value which one wants to convert.

gender - The gender of the scale and value to be converted.

options - A map with options to configure the request.

Return
A Deferred that will be completed with the native value.