Class UserPrice.Builder

java.lang.Object
com.yoti.api.client.docs.session.create.UserPrice.Builder
Enclosing class:
UserPrice

public static class UserPrice.Builder extends Object
  • Method Details

    • withAmount

      public UserPrice.Builder withAmount(String amount)
      Sets the amount
      Parameters:
      amount - the amount
      Returns:
      the builder
    • withCurrency

      public UserPrice.Builder withCurrency(String currency)
      Sets the currency
      Parameters:
      currency - the currency
      Returns:
      the builder
    • withGbpCurrency

      public UserPrice.Builder withGbpCurrency()
      Sets the amount = GBP
      Returns:
      the builder
    • build

      public UserPrice build()
      Builds the UserPrice based on the values supplied to the builder
      Returns:
      the built UserPrice