Class UserPrice.Builder
java.lang.Object
com.yoti.api.client.docs.session.create.UserPrice.Builder
- Enclosing class:
- UserPrice
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theUserPricebased on the values supplied to the builderwithAmount(String amount) Sets the amountwithCurrency(String currency) Sets the currencySets the amount = GBP
-
Method Details
-
withAmount
Sets the amount- Parameters:
amount- the amount- Returns:
- the builder
-
withCurrency
Sets the currency- Parameters:
currency- the currency- Returns:
- the builder
-
withGbpCurrency
Sets the amount = GBP- Returns:
- the builder
-
build
Builds theUserPricebased on the values supplied to the builder- Returns:
- the built
UserPrice
-