All Downloads are FREE. Search and download functionalities are using the official Maven repository.

games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequestKt.kt Maven / Gradle / Ivy

There is a newer version: 1.1.30
Show newest version
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: api/offer/definition.proto

package games.mythical.saga.sdk.proto.api.offer;

@kotlin.jvm.JvmName("-initializecreateOfferQuoteRequest")
inline fun createOfferQuoteRequest(block: games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequest =
  games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequestKt.Dsl._create(games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequest.newBuilder()).apply { block() }._build()
object CreateOfferQuoteRequestKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  class Dsl private constructor(
    private val _builder: games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequest.Builder
  ) {
    companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequest.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequest = _builder.build()

    /**
     * string oauth_id = 1;
     */
    var oauthId: kotlin.String
      @JvmName("getOauthId")
      get() = _builder.getOauthId()
      @JvmName("setOauthId")
      set(value) {
        _builder.setOauthId(value)
      }
    /**
     * string oauth_id = 1;
     */
    fun clearOauthId() {
      _builder.clearOauthId()
    }

    /**
     * 
     * GameInventory Id of the Offer 
     * 
* * string inventory_id = 2; */ var inventoryId: kotlin.String @JvmName("getInventoryId") get() = _builder.getInventoryId() @JvmName("setInventoryId") set(value) { _builder.setInventoryId(value) } /** *
     * GameInventory Id of the Offer 
     * 
* * string inventory_id = 2; */ fun clearInventoryId() { _builder.clearInventoryId() } /** *
     * Total quoted for the Offer 
     * 
* * string total = 3; */ var total: kotlin.String @JvmName("getTotal") get() = _builder.getTotal() @JvmName("setTotal") set(value) { _builder.setTotal(value) } /** *
     * Total quoted for the Offer 
     * 
* * string total = 3; */ fun clearTotal() { _builder.clearTotal() } /** *
     * Currency the total is in 
     * 
* * string currency = 4; */ var currency: kotlin.String @JvmName("getCurrency") get() = _builder.getCurrency() @JvmName("setCurrency") set(value) { _builder.setCurrency(value) } /** *
     * Currency the total is in 
     * 
* * string currency = 4; */ fun clearCurrency() { _builder.clearCurrency() } } } @kotlin.jvm.JvmSynthetic inline fun games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequest.copy(block: games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequest = games.mythical.saga.sdk.proto.api.offer.CreateOfferQuoteRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy