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

games.mythical.saga.sdk.proto.api.offer.OfferQuoteProtoKt.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("-initializeofferQuoteProto")
inline fun offerQuoteProto(block: games.mythical.saga.sdk.proto.api.offer.OfferQuoteProtoKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.offer.OfferQuoteProto =
  games.mythical.saga.sdk.proto.api.offer.OfferQuoteProtoKt.Dsl._create(games.mythical.saga.sdk.proto.api.offer.OfferQuoteProto.newBuilder()).apply { block() }._build()
object OfferQuoteProtoKt {
  @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.OfferQuoteProto.Builder
  ) {
    companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: games.mythical.saga.sdk.proto.api.offer.OfferQuoteProto.Builder): Dsl = Dsl(builder)
    }

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

    /**
     * string trace_id = 1;
     */
    var traceId: kotlin.String
      @JvmName("getTraceId")
      get() = _builder.getTraceId()
      @JvmName("setTraceId")
      set(value) {
        _builder.setTraceId(value)
      }
    /**
     * string trace_id = 1;
     */
    fun clearTraceId() {
      _builder.clearTraceId()
    }

    /**
     * 
     * User of this Offer Quote 
     * 
* * string oauth_id = 2; */ var oauthId: kotlin.String @JvmName("getOauthId") get() = _builder.getOauthId() @JvmName("setOauthId") set(value) { _builder.setOauthId(value) } /** *
     * User of this Offer Quote 
     * 
* * string oauth_id = 2; */ fun clearOauthId() { _builder.clearOauthId() } /** *
     * Id of this Offer Quote 
     * 
* * string quote_id = 3; */ var quoteId: kotlin.String @JvmName("getQuoteId") get() = _builder.getQuoteId() @JvmName("setQuoteId") set(value) { _builder.setQuoteId(value) } /** *
     * Id of this Offer Quote 
     * 
* * string quote_id = 3; */ fun clearQuoteId() { _builder.clearQuoteId() } /** *
     * GameInventory Id for this Offer Quote 
     * 
* * string inventory_id = 4; */ var inventoryId: kotlin.String @JvmName("getInventoryId") get() = _builder.getInventoryId() @JvmName("setInventoryId") set(value) { _builder.setInventoryId(value) } /** *
     * GameInventory Id for this Offer Quote 
     * 
* * string inventory_id = 4; */ fun clearInventoryId() { _builder.clearInventoryId() } /** *
     * Amount of tax 
     * 
* * string tax = 5; */ var tax: kotlin.String @JvmName("getTax") get() = _builder.getTax() @JvmName("setTax") set(value) { _builder.setTax(value) } /** *
     * Amount of tax 
     * 
* * string tax = 5; */ fun clearTax() { _builder.clearTax() } /** *
     * Currency that Tax is in 
     * 
* * string tax_currency = 6; */ var taxCurrency: kotlin.String @JvmName("getTaxCurrency") get() = _builder.getTaxCurrency() @JvmName("setTaxCurrency") set(value) { _builder.setTaxCurrency(value) } /** *
     * Currency that Tax is in 
     * 
* * string tax_currency = 6; */ fun clearTaxCurrency() { _builder.clearTaxCurrency() } /** *
     * Total cost of the offer 
     * 
* * string total = 7; */ var total: kotlin.String @JvmName("getTotal") get() = _builder.getTotal() @JvmName("setTotal") set(value) { _builder.setTotal(value) } /** *
     * Total cost of the offer 
     * 
* * string total = 7; */ fun clearTotal() { _builder.clearTotal() } /** *
     * Currency the total is in 
     * 
* * string currency = 8; */ var currency: kotlin.String @JvmName("getCurrency") get() = _builder.getCurrency() @JvmName("setCurrency") set(value) { _builder.setCurrency(value) } /** *
     * Currency the total is in 
     * 
* * string currency = 8; */ fun clearCurrency() { _builder.clearCurrency() } /** *
     * When the Offer was created 
     * 
* * .google.protobuf.Timestamp created_at = 63; */ var createdAt: com.google.protobuf.Timestamp @JvmName("getCreatedAt") get() = _builder.getCreatedAt() @JvmName("setCreatedAt") set(value) { _builder.setCreatedAt(value) } /** *
     * When the Offer was created 
     * 
* * .google.protobuf.Timestamp created_at = 63; */ fun clearCreatedAt() { _builder.clearCreatedAt() } /** *
     * When the Offer was created 
     * 
* * .google.protobuf.Timestamp created_at = 63; * @return Whether the createdAt field is set. */ fun hasCreatedAt(): kotlin.Boolean { return _builder.hasCreatedAt() } } } @kotlin.jvm.JvmSynthetic inline fun games.mythical.saga.sdk.proto.api.offer.OfferQuoteProto.copy(block: games.mythical.saga.sdk.proto.api.offer.OfferQuoteProtoKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.offer.OfferQuoteProto = games.mythical.saga.sdk.proto.api.offer.OfferQuoteProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() val games.mythical.saga.sdk.proto.api.offer.OfferQuoteProtoOrBuilder.createdAtOrNull: com.google.protobuf.Timestamp? get() = if (hasCreatedAt()) getCreatedAt() else null




© 2015 - 2024 Weber Informatics LLC | Privacy Policy