Package com.alviere.android.cards.sdk.model.common

Types

Link copied to clipboard
data class ActivationFeeModel(@Json(name = "value") val value: ServiceFeeValueModel)

Card activation service fee.

Link copied to clipboard
data class AllowedMerchantsModel(@Json(name = "allowed_merchant_ids") val allowedMerchantIds: List<Long>? = null, @Json(name = "allowed_merchant_names") val allowedMerchantNames: List<String>? = null)

Allowed Merchants.

Link copied to clipboard
data class AuthRulesModel(@Json(name = "allowed_merchants") val allowedMerchants: AllowedMerchantsModel? = null)

Authorization Rules.

Link copied to clipboard
enum CalculationTypeModel : Enum<CalculationTypeModel>

Calculation type in relation to the total transaction.

Link copied to clipboard
data class CardActivationFeeModel(    @Json(name = "type") val typeString: String,     @Json(ignore = true) val type: ServiceFeeTypeModel? = typeString.getEnum<ServiceFeeTypeModel>(),     @Json(name = "calc_type") val calcTypeString: String,     @Json(ignore = true) val calcType: CalculationTypeModel? = calcTypeString.getEnum<CalculationTypeModel>(),     @Json(name = "description") val description: String = "",     @Json(name = "value") val value: Int? = null,     @Json(name = "cap") val cap: Int? = null)

Card activation service fee.

Link copied to clipboard
enum CardBrandModel : Enum<CardBrandModel>

Card Brands.

Link copied to clipboard
enum CardStatusModel : Enum<CardStatusModel>

Card status.

Link copied to clipboard
enum CardTypeModel : Enum<CardTypeModel>

Card types.

Link copied to clipboard
data class CategoryModel(@Json(name = "activation_fee") val activationFee: ActivationFeeModel)

Card fee category.

Link copied to clipboard
data class CustomFieldsModel(    @Json(name = "shipping_method") val shippingMethodString: String? = null,     @Json(ignore = true) val shippingMethod: ShippingMethodTypeModel? = shippingMethodString?.getEnum<ShippingMethodTypeModel>(),     @Json(name = "name_on_card") val nameOnCard: String? = null)

Custom Fields.

Link copied to clipboard
data class ExpirationRulesModel(@Json(name = "expiration_date") val expirationDate: String? = null, @Json(name = "expiration_times") val expirationTimes: Int? = null)

Rules to expire the rule.

Link copied to clipboard
data class IncentiveMerchantsModel(@Json(name = "merchant_ids") val merchantIds: List<Long>? = null, @Json(name = "merchant_names") val merchantNames: List<String>? = null)

Incentive Merchants.

Link copied to clipboard
enum IncentiveRuleStatusModel : Enum<IncentiveRuleStatusModel>

Incentive rule status.

Link copied to clipboard
enum IncentiveScopeModel : Enum<IncentiveScopeModel>

Incentive Scope.

Link copied to clipboard
enum IncentiveTypeModel : Enum<IncentiveTypeModel>

Incentive Types.

Link copied to clipboard
data class IncentiveValueModel(    @Json(name = "amount") val amount: Int? = null,     @Json(name = "percent") val percent: Float? = null,     @Json(name = "cap") val cap: Int? = null)

Incentive amount to the transaction.

Link copied to clipboard
data class ServiceFeeModel(@Json(name = "description") val description: String, @Json(name = "category") val category: CategoryModel)

Service Fee.

Link copied to clipboard
enum ServiceFeeTypeModel : Enum<ServiceFeeTypeModel>

Service fee types.

Link copied to clipboard
data class ServiceFeeValueModel(@Json(name = "amount") val amount: Int)

Fixed service fee amount to the transaction.

Link copied to clipboard
data class ShippingAddressModel(    @Json(name = "line_1") val line1: String?,     @Json(name = "line_2") val line2: String? = null,     @Json(name = "postal_code") val postalCode: String?,     @Json(name = "city") val city: String?,     @Json(name = "state") val state: String?,     @Json(name = "country") val country: String?) : Address

Shipping Address.

Link copied to clipboard
enum ShippingMethodTypeModel : Enum<ShippingMethodTypeModel>

Shipping method type.

Link copied to clipboard
enum TransactionTypeModel : Enum<TransactionTypeModel>

Card transaction type.