' Options: 'Date: 2024-07-03 14:04:03 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: PaysonV2CreateCheckout.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports System.IO Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Enums Imports PaysonIntegrationCO2.Models.Enums Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class PaysonCheckoutV2Response ''' '''The checkout id ''' Public Overridable Property Id As Guid ''' '''The code snippet to for checkout module ''' Public Overridable Property Snippet As String ''' '''The checkout status ''' Public Overridable Property Status As Payson2CheckoutStatus End Class Public Partial Class PaysonV2CreateCheckout Implements IReturn(Of PaysonCheckoutV2Response) Implements ICompany ''' '''The company id. ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''The booking id. ''' Public Overridable Property BookingId As Integer ''' '''Optional to set the checkout url. This url will be redirected to if payment is interupted for some reason. ''' Public Overridable Property CheckoutUrl As Uri ''' '''Optional to set your own confirmation url after payment completed. ''' Public Overridable Property ConfirmationUrl As Uri ''' '''The payment origin id. HomePage = 0, Embedded = 1, Admin = 2, Apps = 3 ''' Public Overridable Property PaymentOrigin As PaymentOrigin ''' '''If you want to have another language (sv, fi, dk, no, en) than the default language in system settings, specify it here. Leave empty if default language should be used. ''' Public Overridable Property Language As String ''' '''Country code for checkout ''' Public Overridable Property CountryCode As String ''' '''Determins if it's a test call ''' Public Overridable Property TestMode As Boolean End Class End Namespace Namespace BokaMera.API.ServiceModel.Enums Public Enum PaymentOrigin HomePage Embedded Admin Apps HomePageNew End Enum End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace Namespace PaysonIntegrationCO2.Models.Enums Public Enum Payson2CheckoutStatus None Created FormsFilled ReadyToPay ProcessingPayment ReadyToShip Shipped PaidToAccount Canceled Credited Expired Denied End Enum End Namespace End Namespace