taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

RefundPaymentInfo.kt (1221B)


      1 /*
      2  * This file is part of GNU Taler
      3  * (C) 2023 Taler Systems S.A.
      4  *
      5  * GNU Taler is free software; you can redistribute it and/or modify it under the
      6  * terms of the GNU General Public License as published by the Free Software
      7  * Foundation; either version 3, or (at your option) any later version.
      8  *
      9  * GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
     10  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
     11  * A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
     12  *
     13  * You should have received a copy of the GNU General Public License along with
     14  * GNU Taler; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
     15  */
     16 
     17 package net.taler.wallet.refund
     18 
     19 import kotlinx.serialization.SerialName
     20 import kotlinx.serialization.Serializable
     21 
     22 @Serializable
     23 class RefundPaymentInfo(
     24     val summary: String,
     25     @SerialName("summary_i18n")
     26     val summaryI18n: Map<String, String>? = null,
     27     /**
     28      * More information about the merchant
     29      */
     30     val merchant: MerchantInfo,
     31 )
     32 
     33 @Serializable
     34 class MerchantInfo(
     35     val name: String,
     36     val logo: String? = null,
     37     val website: String? = null,
     38     val email: String? = null,
     39 )