' Options:
'Date: 2024-11-21 12:05:26
'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: PaymentSettingsQuery.*
'''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 ServiceStack.Data
Imports System.IO
Imports BokaMera.API.ServiceModel.Interfaces
Imports BokaMera.API.ServiceModel.Dtos
Namespace Global
Namespace BokaMera.API.ServiceModel.Dtos
Public Partial Class AdminPaymentOptionsResponse
'''
'''The payment options id
'''
Public Overridable Property Id As Integer
'''
'''The payment options name
'''
Public Overridable Property Name As String
'''
'''The payment options description
'''
Public Overridable Property Description As String
End Class
Public Partial Class PaymentProviderOptionsResponse
'''
'''The payment provider id
'''
Public Overridable Property Id As Integer
'''
'''The payment provider name
'''
Public Overridable Property Name As String
'''
'''The payment provider description
'''
Public Overridable Property Description As String
End Class
Public Partial Class PaymentSettingsQuery
Implements IReturn(Of PaymentSettingsQueryResponse)
Implements ICompany
'''
'''The company id, if empty will use the company id for the user you are logged in with.
'''
Public Overridable Property CompanyId As Nullable(Of Guid)
'''
'''If you want to include the admin payment options to select from
'''
Public Overridable Property IncludeAdminPaymentOptions As Boolean
'''
'''If you want to include the payment provider options to select from
'''
Public Overridable Property IncludePaymentProviderOptions As Boolean
End Class
Public Partial Class PaymentSettingsQueryResponse
Public Sub New()
AdminPaymentOptions = New List(Of AdminPaymentOptionsResponse)
PaymentProviderOptions = New List(Of PaymentProviderOptionsResponse)
End Sub
'''
'''The company id
'''
Public Overridable Property CompanyId As Guid
'''
'''The payment is enabled
'''
Public Overridable Property Enabled As Boolean
'''
'''If there should be any fee added when customer selected invoice payment method
'''
Public Overridable Property InvoiceFee As Integer
'''
'''If allow credit card payment
'''
Public Overridable Property AllowCreditCardPayment As Boolean
'''
'''If allow invoice payment
'''
Public Overridable Property AllowInvoicePayment As Boolean
'''
'''If allow bank payment
'''
Public Overridable Property AllowBankPayment As Boolean
'''
'''Automatically refund customer on canceled booking
'''
Public Overridable Property RefundOnCancelBooking As Boolean
'''
'''The default option when admin creates a new booking
'''
Public Overridable Property DefaultPaymentOptionId As Nullable(Of Integer)
'''
'''What payment provider to use
'''
Public Overridable Property PaymentProviderId As Integer
'''
'''If you want to include the admin payment options to select from
'''
Public Overridable Property AdminPaymentOptions As List(Of AdminPaymentOptionsResponse)
'''
'''If you want to include the payment provider options to select from
'''
Public Overridable Property PaymentProviderOptions As List(Of PaymentProviderOptionsResponse)
'''
'''SendPaymentRequestDirectly
'''
Public Overridable Property SendPaymentRequestDirectly As Boolean
End Class
End Namespace
Namespace BokaMera.API.ServiceModel.Interfaces
Public Interface ICompany
Property CompanyId As Nullable(Of Guid)
End Interface
End Namespace
End Namespace