/* Options:
Date: 2024-11-21 11:34:48
Version: 8.23
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://api.bokamera.se
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: True
//ExportValueTypes: False
IncludeTypes: DibsCallbackDto.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using System.Globalization;
using ServiceStack.Data;
using System.IO;
using BokaMera.API.ServiceModel.Dtos;
namespace BokaMera.API.ServiceModel.Dtos
{
[Route("/licenses/dibscallback/", "POST")]
public partial class DibsCallbackDto
{
///
///The company id to save the credit card to
///
[ApiMember(DataType="string", Description="The company id to save the credit card to", IsRequired=true)]
public virtual Guid CompanyId { get; set; }
///
///The dibs card expiration date (yymm)
///
[ApiMember(DataType="string", Description="The dibs card expiration date (yymm)", IsRequired=true)]
public virtual string cardexpdate { get; set; }
///
///The dibs transact id
///
[ApiMember(DataType="string", Description="The dibs transact id", IsRequired=true)]
public virtual string transact { get; set; }
///
///The dibs card number (masked)
///
[ApiMember(DataType="string", Description="The dibs card number (masked)", IsRequired=true)]
public virtual string cardnomask { get; set; }
///
///The dibs paytype
///
[ApiMember(DataType="string", Description="The dibs paytype", IsRequired=true)]
public virtual string paytype { get; set; }
///
///The dibs currency
///
[ApiMember(DataType="string", Description="The dibs currency", IsRequired=true)]
public virtual string currency { get; set; }
///
///The dibs acquirer
///
[ApiMember(DataType="string", Description="The dibs acquirer", IsRequired=true)]
public virtual string acquirer { get; set; }
///
///The dibs approval code
///
[ApiMember(DataType="string", Description="The dibs approval code", IsRequired=true)]
public virtual string approvalcode { get; set; }
///
///The dibs status code
///
[ApiMember(DataType="string", Description="The dibs status code", IsRequired=true)]
public virtual string statuscode { get; set; }
///
///The dibs amount
///
[ApiMember(DataType="string", Description="The dibs amount", IsRequired=true)]
public virtual string amount { get; set; }
///
///The redirect url to send user back to after added creditcard
///
[ApiMember(DataType="uri", Description="The redirect url to send user back to after added creditcard", IsRequired=true)]
public virtual string RedirectUrl { get; set; }
///
///The unique token for this request
///
[ApiMember(DataType="string", Description="The unique token for this request", IsRequired=true)]
public virtual string Token { get; set; }
///
///status of the callback url
///
[ApiMember(DataType="enum", Description="status of the callback url", IsRequired=true)]
public virtual DibStatus Status { get; set; }
}
public enum DibStatus
{
Success,
Cancelled,
}
}