/* Options: Date: 2024-11-07 07:27:34 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.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: StripeV1CreateCheckout.* //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.Net; using System.Net.Http.Headers; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class StripeCheckoutQueryResponse { /// ///The checkout session id /// [ApiMember(Description="The checkout session id")] public virtual string Number { get; set; } /// ///The url for checkout module to be placed in a iframe /// [ApiMember(Description="The url for checkout module to be placed in a iframe")] public virtual string Url { get; set; } /// ///The checkout status /// [ApiMember(Description="The checkout status")] public virtual string Status { get; set; } /// ///Client secret to be used when initializing Stripe.js embedded checkout. /// [ApiMember(Description="Client secret to be used when initializing Stripe.js embedded checkout.")] public virtual string ClientSecret { get; set; } } [Route("/payment/stripe/v1/checkout", "POST")] public partial class StripeV1CreateCheckout : IReturn, ICompany { public StripeV1CreateCheckout() { Articles = new ArticleToCreate[]{}; } /// ///The company id. /// [ApiMember(Description="The company id.", IsRequired=true)] public virtual Guid? CompanyId { get; set; } /// ///Country code for checkout /// [ApiMember(Description="Country code for checkout", IsRequired=true)] public virtual string CountryCode { get; set; } /// ///Articles (Could be Service, rebate code types, etc.. /// [ApiMember(Description="Articles (Could be Service, rebate code types, etc..", IsRequired=true)] public virtual ArticleToCreate[] Articles { get; set; } /// ///An internal reference id (Could be booking, rebate code etc.) /// [ApiMember(Description="An internal reference id (Could be booking, rebate code etc.)", IsRequired=true)] public virtual string InternalReferenceId { get; set; } /// ///Optional to set your own confirmation url after payment completed. /// [ApiMember(Description="Optional to set your own confirmation url after payment completed.")] public virtual string ConfirmationUrl { get; set; } /// ///If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is embedded. /// [ApiMember(Description="If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is embedded.")] public virtual string CancelUrl { get; set; } /// ///The UI mode of the Session. Defaults to hosted; One of: embedded, or hosted /// [ApiMember(Description="The UI mode of the Session. Defaults to hosted; One of: embedded, or hosted", IsRequired=true)] public virtual string UiMode { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }