GET | /rebatecodes | Get RebateCode. | Get RebateCode. |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*
@ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)
@ValidateRequest(Validator="IsAuthenticated")
open class RebateCodeQuery : QueryDb<RebateCode, RebateCodeResponse>(), ICompany
{
/**
* Enter the company and id you want to see the information for a rebate code, if blank company id and you are an admin, your company id will be used. If blank id, all rebate codes will be shown
*/
@ApiMember(Description="Enter the company and id you want to see the information for a rebate code, if blank company id and you are an admin, your company id will be used. If blank id, all rebate codes will be shown ", ParameterType="query")
var CompanyId:UUID? = null
/**
* RebateCodeId
*/
@ApiMember(Description="RebateCodeId")
var Id:Int? = null
/**
*
*/
@ApiMember(Description="")
var Active:Boolean? = null
/**
*
*/
@ApiMember(Description="")
var RebateCodeSign:String? = null
/**
* 1 - Percent, 2 - Сurrency, 3 - PunchTicket, 4 - ValueCard, 5 - GiftCard
*/
@ApiMember(Description="1 - Percent, 2 - Сurrency, 3 - PunchTicket, 4 - ValueCard, 5 - GiftCard")
var RebateCodeTypeIds:ArrayList<Int>? = null
/**
*
*/
@ApiMember(Description="")
var IncludeCodeTypeOptions:Boolean? = null
/**
*
*/
@ApiMember(Description="")
var IncludeStatusOptions:Boolean? = null
/**
*
*/
@ApiMember(Description="")
var IncludeConnectedServices:Boolean? = null
/**
*
*/
@ApiMember(Description="")
var IncludeConnectedDaysOfWeek:Boolean? = null
/**
*
*/
@ApiMember(Description="")
var IncludeConnectedCustomers:Boolean? = null
/**
*
*/
@ApiMember(Description="")
var IncludeArticleInformation:Boolean? = null
/**
*
*/
@ApiMember(Description="")
var IncludeCompanyInformation:Boolean? = null
/**
*
*/
@ApiMember(Description="")
var CompanyRebateCodes:Boolean? = null
/**
*
*/
@ApiMember(Description="")
var IncludeUsages:Boolean? = null
/**
* If you want to include the payment log on the rebate code
*/
@ApiMember(DataType="boolean", Description="If you want to include the payment log on the rebate code", ParameterType="query")
var IncludePaymentLog:Boolean? = null
/**
*
*/
@ApiMember(Description="")
var CustomerId:UUID? = null
}
open class QueryDb<From, Into> : QueryBase()
{
}
@DataContract
open class QueryBase
{
/**
* Skip over a given number of elements in a sequence and then return the remainder. Use this when you need paging.<br/><br/><strong>Example:</strong><br/><code>?skip=10&orderBy=Id</code>
*/
@DataMember(Order=1)
var Skip:Int? = null
/**
* Return a given number of elements in a sequence and then skip over the remainder. Use this when you need paging.<br/><br/><strong>Example:</strong><br/><code>?take=20</code>
*/
@DataMember(Order=2)
var Take:Int? = null
/**
* Comma separated list of fields to order by. Prefix the field name with a minus if you wan't to invert the sort for that field.<br/><br/><strong>Example:</strong><br/><code>?orderBy=Id,-Age,FirstName</code>
*/
@DataMember(Order=3)
var OrderBy:String? = null
/**
* Comma separated list of fields to order by in descending order. Prefix the field name with a minus if you wan't to invert the sort for that field.<br/><br/><strong>Example:</strong><br/><code>?orderByDesc=Id,-Age,FirstName</code>
*/
@DataMember(Order=4)
var OrderByDesc:String? = null
/**
* Include any of the aggregates <code>AVG, COUNT, FIRST, LAST, MAX, MIN, SUM</code> in your result set. The results will be returned in the meta field.<br/><br/><strong>Example:</strong><br/><code>?include=COUNT(*) as Total</code><br/><br/>or multiple fields with<br/><code>?include=Count(*) Total, Min(Age), AVG(Age) AverageAge</code><br/></br>or unique with<br/><code>?include=COUNT(DISTINCT LivingStatus) as UniqueStatus</code>
*/
@DataMember(Order=5)
var Include:String? = null
@DataMember(Order=6)
var Fields:String? = null
@DataMember(Order=7)
var Meta:HashMap<String,String> = HashMap<String,String>()
}
open class RebateCode : PayableEntity()
{
@References(RebateCodeType.class)
var RebateCodeTypeId:Int? = null
var RebateCodeTypeInfo:RebateCodeType? = null
@References(RebateCodeStatus.class)
var RebateCodeStatusId:Int? = null
var RebateCodeStatusInfo:RebateCodeStatus? = null
@Ignore()
var Article:Article? = null
@Ignore()
var Services:ArrayList<Service> = ArrayList<Service>()
var RebateCodeDayOfWeekRelation:ArrayList<RebateCodeDayOfWeekRelation> = ArrayList<RebateCodeDayOfWeekRelation>()
var RebateCodeServiceRelation:ArrayList<RebateCodeServiceRelation> = ArrayList<RebateCodeServiceRelation>()
var RebateCodeBookingPriceRelation:ArrayList<RebateCodeBookingPriceRelation> = ArrayList<RebateCodeBookingPriceRelation>()
var RebateCodeCustomerRelation:ArrayList<RebateCodeCustomerRelation> = ArrayList<RebateCodeCustomerRelation>()
@Ignore()
var ServicesNames:String? = null
@Ignore()
var DaysOfWeek:ArrayList<DaysOfWeek> = ArrayList<DaysOfWeek>()
@Ignore()
var RebateCodeStatus:RebateCodeStatus? = null
@Ignore()
var RebateCodeType:RebateCodeType? = null
@Ignore()
var Transactions:ArrayList<RebateCodeTransaction> = ArrayList<RebateCodeTransaction>()
@Ignore()
var RemainingAmount:Double? = null
@Ignore()
var RemainingUsage:Int? = null
@Ignore()
var CurrentNumberOfUsesPerCustomer:Int? = null
@Ignore()
var IsSpecificByDayOfWeek:Boolean? = null
@Ignore()
var Active:Boolean? = null
@Ignore()
var ActiveByStatus:Boolean? = null
@Ignore()
var RebateCodeCurrencySign:String? = null
var CurrencyInfo:Currency? = null
@Ignore()
var PaymentReceived:Boolean? = null
@Ignore()
var InternalReferenceId:String? = null
@Required()
var ValidFrom:Date? = null
@Required()
var ValidTo:Date? = null
@Required()
var RebateCodeSign:String? = null
@Required()
var RebateCodeValue:Int? = null
@Required()
var MaxNumberOfUses:Int? = null
@Required()
var MaxNumberOfUsesPerCustomer:Int? = null
@Required()
var NumberOfUsesUsed:Int? = null
var PersonalNote:String? = null
@Required()
var CreatedBy:String? = null
@Required()
var Created:Date? = null
@Required()
var UpdatedBy:String? = null
@Required()
var UpdatedDate:Date? = null
@Required()
var FromTime:TimeSpan? = null
@Required()
var ToTime:TimeSpan? = null
var ModifiedDate:Date? = null
var Id:Int? = null
var ArticleId:Int? = null
}
open class PayableEntity : BaseModel()
{
@Ignore()
var DbFactory:IDbConnectionFactory? = null
@Ignore()
var QvicklyPaymentManager:IBokameraPaymentManager<InitCheckoutRequestBody, QvicklyCheckoutResponse, QvicklyPaymentResponse>? = null
@Ignore()
var Payson2PaymentManager:IBokameraPaymentManager<Payson2CheckoutResponse, Payson2CheckoutResponse, Payson2CheckoutResponse>? = null
@Ignore()
var StripePaymentManager:IBokameraPaymentManager<StripeCreateCheckoutQuery, CustomCheckoutData, CustomCheckoutData>? = null
@Ignore()
var PaysonPaymentCheckout1:IPaysonPaymentCheckout1? = null
@Ignore()
var Logger:ILogger<PayableEntity>? = null
@Ignore()
var InternalReferenceId:String? = null
@Ignore()
var PaymentLog:ArrayList<PaymentLog> = ArrayList<PaymentLog>()
var CompanyId:UUID? = null
var PriceVat:BigDecimal? = null
@References(Currency.class)
var CurrencyId:String? = null
@Ignore()
var Customer:Customer? = null
@Ignore()
var Customers:ArrayList<Customer> = ArrayList<Customer>()
@Ignore()
var Company:Company? = null
}
open class BaseModel
{
}
open interface IDbConnectionFactory
{
}
open interface IBokameraPaymentManager<TCreatedCheckoutResponse, TCheckoutResponse, TPaymentResponse>
{
}
open class InitCheckoutRequestBody
{
var credentials:Credentials? = null
@SerializedName("data") var Data:InitCheckoutData? = null
var function:String? = null
}
open class Credentials
{
var hash:String? = null
var id:String? = null
var version:String? = null
var client:String? = null
var serverdata:ServerData? = null
var time:String? = null
var test:String? = null
var language:String? = null
}
open class ServerData
{
var HTTP_HOST:String? = null
var HTTP_CONNECTION:String? = null
var HTTP_CACHE_CONTROL:String? = null
var HTTP_ACCEPT:String? = null
var HTTP_USER_AGENT:String? = null
var HTTP_ACCEPT_ENCODING:String? = null
var HTTP_ACCEPT_LANGUAGE:String? = null
var PATH:String? = null
var SERVER_SOFTWARE:String? = null
var SERVER_NAME:String? = null
var SERVER_ADDR:String? = null
var SERVER_PORT:String? = null
var REMOTE_ADDR:String? = null
var REMOTE_PORT:String? = null
var GATEWAY_INTERFACE:String? = null
var SERVER_PROTOCOL:String? = null
var REQUEST_METHOD:String? = null
var QUERY_STRING:String? = null
var REQUEST_TIME:String? = null
}
open class InitCheckoutData
{
var CheckoutData:CheckoutData? = null
var PaymentData:CheckoutPaymentData? = null
var PaymentInfo:PaymentInfo? = null
var Articles:ArrayList<QvicklyArticle>? = null
var Cart:Cart? = null
var QvicklyCustomer:QvicklyCustomer? = null
}
open class CheckoutData
{
var terms:Uri? = null
var privacyPolicy:Uri? = null
var redirectOnSuccess:String? = null
}
open class CheckoutPaymentData
{
var currency:String? = null
var language:String? = null
var country:String? = null
var autoactivate:String? = null
var orderid:String? = null
var returnmethod:String? = null
var accepturl:String? = null
var cancelurl:String? = null
var callbackurl:Uri? = null
}
open class PaymentInfo
{
var paymentdate:String? = null
var paymentterms:String? = null
var yourreference:String? = null
var ourreference:String? = null
var projectname:String? = null
var deliverymethod:String? = null
var deliveryterms:String? = null
}
open class QvicklyArticle
{
var artnr:String? = null
var title:String? = null
var quantity:Int? = null
var aprice:Int? = null
var tax:Int? = null
var discount:Int? = null
var withouttax:Int? = null
var taxrate:Int? = null
}
open class Cart
{
var Handling:CartHandling? = null
var Total:CartTotal? = null
var Shipping:Shipping? = null
}
open class CartHandling
{
var withouttax:String? = null
var taxrate:String? = null
}
open class CartTotal
{
var rounding:String? = null
var withouttax:String? = null
var tax:String? = null
var withtax:String? = null
}
open class Shipping
{
var firstname:String? = null
var lastname:String? = null
var company:String? = null
var street:String? = null
var street2:String? = null
var zip:String? = null
var city:String? = null
var country:String? = null
var phone:String? = null
var withouttax:String? = null
var taxrate:String? = null
}
open class QvicklyCustomer
{
var nr:String? = null
var pno:String? = null
var Billing:CustomerBilling? = null
}
open class CustomerBilling
{
var firstname:String? = null
var lastname:String? = null
var company:String? = null
var street:String? = null
var street2:String? = null
var zip:String? = null
var city:String? = null
var country:String? = null
var phone:String? = null
var email:String? = null
}
open class QvicklyCheckoutResponse
{
var Number:Int? = null
var Status:String? = null
var OrderId:String? = null
var Url:String? = null
}
open class QvicklyPaymentResponse
{
var PaymentData:QvikclyPaymentData? = null
var PaymentInfo:PaymentInfo? = null
var Card:Card? = null
var Settlement:Settlement? = null
var QvicklyCustomer:QvicklyCustomer? = null
var Articles:ArrayList<QvicklyArticle>? = null
var Cart:Cart? = null
}
open class QvikclyPaymentData
{
var method:String? = null
var paymentplanid:String? = null
var currency:String? = null
var country:String? = null
var language:String? = null
var autoactivate:String? = null
var orderid:String? = null
var status:String? = null
var paymentid_related:String? = null
var url:String? = null
}
open class Card
{
var promptname:String? = null
var recurring:String? = null
var recurringnr:String? = null
var accepturl:String? = null
var cancelurl:String? = null
var callbackurl:String? = null
var returnmethod:String? = null
}
open class Settlement
{
var number:String? = null
var date:String? = null
}
open class Payson2CheckoutResponse
{
var Id:UUID? = null
var ExpirationTime:Date? = null
var Snippet:String? = null
var Status:Payson2CheckoutStatus? = null
var Customer:Customer? = null
var Order:Order? = null
var Merchant:Merchant? = null
var Gui:Gui? = null
var History:History? = null
var PurchaseId:Int? = null
}
enum class Payson2CheckoutStatus
{
None,
Created,
FormsFilled,
ReadyToPay,
ProcessingPayment,
ReadyToShip,
Shipped,
PaidToAccount,
Canceled,
Credited,
Expired,
Denied,
}
open class Customer
{
var City:String? = null
var CountryCode:String? = null
var IdentityNumber:String? = null
var Email:String? = null
var FirstName:String? = null
var LastName:String? = null
var Phone:String? = null
var PostalCode:String? = null
var Street:String? = null
var Reference:String? = null
var Type:CustomerType? = null
}
enum class CustomerType
{
Person,
Business,
}
open class Order
{
var Currency:Currency? = null
var TotalFeeExcludingTax:BigDecimal? = null
var TotalFeeIncludingTax:BigDecimal? = null
var TotalPriceExcludingTax:BigDecimal? = null
var TotalPriceIncludingTax:BigDecimal? = null
var TotalTaxAmount:BigDecimal? = null
var TotalCreditedAmount:BigDecimal? = null
var Items:IList<Item>? = null
}
enum class Currency(val value:Int)
{
Sek(1),
Eur(2),
}
open class Item
{
var ItemId:UUID? = null
var DiscountRate:BigDecimal? = null
var Ean:String? = null
var ImageUri:Uri? = null
var Name:String? = null
var Quantity:BigDecimal? = null
var Reference:String? = null
var TaxRate:BigDecimal? = null
var TotalPriceExcludingTax:BigDecimal? = null
var TotalPriceIncludingTax:BigDecimal? = null
var TotalTaxAmount:BigDecimal? = null
var CreditedAmount:BigDecimal? = null
var Type:ItemType? = null
var UnitPrice:BigDecimal? = null
var Uri:Uri? = null
}
enum class ItemType
{
Physical,
Service,
Fee,
Discount,
}
open class Merchant
{
var CheckoutUri:String? = null
var ConfirmationUri:String? = null
var NotificationUri:Uri? = null
var ValidationUri:Uri? = null
var TermsUri:Uri? = null
var Reference:String? = null
var PartnerId:String? = null
}
open class Gui
{
var ColorScheme:ColorScheme? = null
var Locale:String? = null
var RequestPhone:Boolean? = null
var PhoneOptional:Boolean? = null
}
enum class ColorScheme
{
White,
Blue,
Gray,
GrayTextLogos,
BlueTextLogos,
WhiteTextLogos,
WhiteNoFooter,
GrayNoFooter,
BlueNoFooter,
}
open class History
{
var Created:Date? = null
var ReadyToPay:Date? = null
var ReadyToShip:Date? = null
var Shipped:Date? = null
var PaidToAccount:Date? = null
var Canceled:Date? = null
var Expired:Date? = null
var Denied:Date? = null
}
open class StripeCreateCheckoutQuery
{
var CheckoutData:StripeCreatePaymentOptions? = null
var RequestOptions:RequestOptions? = null
}
open class StripeCreatePaymentOptions
{
var SessionCreateOptions:SessionCreateOptions? = null
var PaymentIntentCreateOptions:PaymentIntentCreateOptions? = null
var CustomerCreateOptions:CustomerCreateOptions? = null
}
open class SessionCreateOptions : BaseOptions(), IHasMetadata
{
var AfterExpiration:SessionAfterExpirationOptions? = null
var AllowPromotionCodes:Boolean? = null
var AutomaticTax:SessionAutomaticTaxOptions? = null
var BillingAddressCollection:String? = null
var CancelUrl:String? = null
var ClientReferenceId:String? = null
var ConsentCollection:SessionConsentCollectionOptions? = null
var Currency:String? = null
var CustomFields:ArrayList<SessionCustomFieldOptions> = ArrayList<SessionCustomFieldOptions>()
var CustomText:SessionCustomTextOptions? = null
var Customer:String? = null
var CustomerCreation:String? = null
var CustomerEmail:String? = null
var CustomerUpdate:SessionCustomerUpdateOptions? = null
var Discounts:ArrayList<SessionDiscountOptions> = ArrayList<SessionDiscountOptions>()
var ExpiresAt:Date? = null
var InvoiceCreation:SessionInvoiceCreationOptions? = null
var LineItems:ArrayList<SessionLineItemOptions> = ArrayList<SessionLineItemOptions>()
var Locale:String? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var Mode:String? = null
var PaymentIntentData:SessionPaymentIntentDataOptions? = null
var PaymentMethodCollection:String? = null
var PaymentMethodConfiguration:String? = null
var PaymentMethodData:SessionPaymentMethodDataOptions? = null
var PaymentMethodOptions:SessionPaymentMethodOptionsOptions? = null
var PaymentMethodTypes:ArrayList<String> = ArrayList<String>()
var PhoneNumberCollection:SessionPhoneNumberCollectionOptions? = null
var RedirectOnCompletion:String? = null
var ReturnUrl:String? = null
var SavedPaymentMethodOptions:SessionSavedPaymentMethodOptionsOptions? = null
var SetupIntentData:SessionSetupIntentDataOptions? = null
var ShippingAddressCollection:SessionShippingAddressCollectionOptions? = null
var ShippingOptions:ArrayList<SessionShippingOptionOptions> = ArrayList<SessionShippingOptionOptions>()
var SubmitType:String? = null
var SubscriptionData:SessionSubscriptionDataOptions? = null
var SuccessUrl:String? = null
var TaxIdCollection:SessionTaxIdCollectionOptions? = null
var UiMode:String? = null
}
open class BaseOptions : INestedOptions
{
var Expand:ArrayList<String> = ArrayList<String>()
var ExtraParams:HashMap<String,Object> = HashMap<String,Object>()
}
open class SessionAfterExpirationOptions : INestedOptions
{
var Recovery:SessionAfterExpirationRecoveryOptions? = null
}
open class SessionAfterExpirationRecoveryOptions : INestedOptions
{
var AllowPromotionCodes:Boolean? = null
var Enabled:Boolean? = null
}
open class SessionAutomaticTaxOptions : INestedOptions
{
var Enabled:Boolean? = null
var Liability:SessionAutomaticTaxLiabilityOptions? = null
}
open class SessionAutomaticTaxLiabilityOptions : INestedOptions
{
var Account:String? = null
var Type:String? = null
}
open class SessionConsentCollectionOptions : INestedOptions
{
var PaymentMethodReuseAgreement:SessionConsentCollectionPaymentMethodReuseAgreementOptions? = null
var Promotions:String? = null
var TermsOfService:String? = null
}
open class SessionConsentCollectionPaymentMethodReuseAgreementOptions : INestedOptions
{
var Position:String? = null
}
open class SessionCustomFieldOptions : INestedOptions
{
var Dropdown:SessionCustomFieldDropdownOptions? = null
var Key:String? = null
var Label:SessionCustomFieldLabelOptions? = null
var Numeric:SessionCustomFieldNumericOptions? = null
var Optional:Boolean? = null
var Text:SessionCustomFieldTextOptions? = null
var Type:String? = null
}
open class SessionCustomFieldDropdownOptions : INestedOptions
{
var DefaultValue:String? = null
var Options:ArrayList<SessionCustomFieldDropdownOptionOptions> = ArrayList<SessionCustomFieldDropdownOptionOptions>()
}
open class SessionCustomFieldDropdownOptionOptions : INestedOptions
{
var Label:String? = null
var Value:String? = null
}
open class SessionCustomFieldLabelOptions : INestedOptions
{
var Custom:String? = null
var Type:String? = null
}
open class SessionCustomFieldNumericOptions : INestedOptions
{
var DefaultValue:String? = null
var MaximumLength:Long? = null
var MinimumLength:Long? = null
}
open class SessionCustomFieldTextOptions : INestedOptions
{
var DefaultValue:String? = null
var MaximumLength:Long? = null
var MinimumLength:Long? = null
}
open class SessionCustomTextOptions : INestedOptions
{
var AfterSubmit:SessionCustomTextAfterSubmitOptions? = null
var ShippingAddress:SessionCustomTextShippingAddressOptions? = null
var Submit:SessionCustomTextSubmitOptions? = null
var TermsOfServiceAcceptance:SessionCustomTextTermsOfServiceAcceptanceOptions? = null
}
open class SessionCustomTextAfterSubmitOptions : INestedOptions
{
var Message:String? = null
}
open class SessionCustomTextShippingAddressOptions : INestedOptions
{
var Message:String? = null
}
open class SessionCustomTextSubmitOptions : INestedOptions
{
var Message:String? = null
}
open class SessionCustomTextTermsOfServiceAcceptanceOptions : INestedOptions
{
var Message:String? = null
}
open class SessionCustomerUpdateOptions : INestedOptions
{
var Address:String? = null
var Name:String? = null
var Shipping:String? = null
}
open class SessionDiscountOptions : INestedOptions
{
var Coupon:String? = null
var PromotionCode:String? = null
}
open class SessionInvoiceCreationOptions : INestedOptions
{
var Enabled:Boolean? = null
var InvoiceData:SessionInvoiceCreationInvoiceDataOptions? = null
}
open class SessionInvoiceCreationInvoiceDataOptions : INestedOptions, IHasMetadata
{
var AccountTaxIds:ArrayList<String> = ArrayList<String>()
var CustomFields:ArrayList<SessionInvoiceCreationInvoiceDataCustomFieldOptions> = ArrayList<SessionInvoiceCreationInvoiceDataCustomFieldOptions>()
var Description:String? = null
var Footer:String? = null
var Issuer:SessionInvoiceCreationInvoiceDataIssuerOptions? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var RenderingOptions:SessionInvoiceCreationInvoiceDataRenderingOptionsOptions? = null
}
open class SessionInvoiceCreationInvoiceDataCustomFieldOptions : INestedOptions
{
var Name:String? = null
var Value:String? = null
}
open class SessionInvoiceCreationInvoiceDataIssuerOptions : INestedOptions
{
var Account:String? = null
var Type:String? = null
}
open class SessionInvoiceCreationInvoiceDataRenderingOptionsOptions : INestedOptions
{
var AmountTaxDisplay:String? = null
}
open class SessionLineItemOptions : INestedOptions
{
var AdjustableQuantity:SessionLineItemAdjustableQuantityOptions? = null
var DynamicTaxRates:ArrayList<String> = ArrayList<String>()
var Price:String? = null
var PriceData:SessionLineItemPriceDataOptions? = null
var Quantity:Long? = null
var TaxRates:ArrayList<String> = ArrayList<String>()
}
open class SessionLineItemAdjustableQuantityOptions : INestedOptions
{
var Enabled:Boolean? = null
var Maximum:Long? = null
var Minimum:Long? = null
}
open class SessionLineItemPriceDataOptions : INestedOptions
{
var Currency:String? = null
var Product:String? = null
var ProductData:SessionLineItemPriceDataProductDataOptions? = null
var Recurring:SessionLineItemPriceDataRecurringOptions? = null
var TaxBehavior:String? = null
var UnitAmount:Long? = null
var UnitAmountDecimal:BigDecimal? = null
}
open class SessionLineItemPriceDataProductDataOptions : INestedOptions, IHasMetadata
{
var Description:String? = null
var Images:ArrayList<String> = ArrayList<String>()
var Metadata:HashMap<String,String> = HashMap<String,String>()
var Name:String? = null
var TaxCode:String? = null
}
open class SessionLineItemPriceDataRecurringOptions : INestedOptions
{
var Interval:String? = null
var IntervalCount:Long? = null
}
open class SessionPaymentIntentDataOptions : INestedOptions, IHasMetadata
{
var ApplicationFeeAmount:Long? = null
var CaptureMethod:String? = null
var Description:String? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var OnBehalfOf:String? = null
var ReceiptEmail:String? = null
var SetupFutureUsage:String? = null
var Shipping:ChargeShippingOptions? = null
var StatementDescriptor:String? = null
var StatementDescriptorSuffix:String? = null
var TransferData:SessionPaymentIntentDataTransferDataOptions? = null
var TransferGroup:String? = null
}
open class ChargeShippingOptions : INestedOptions
{
var Address:AddressOptions? = null
var Carrier:String? = null
var Name:String? = null
var Phone:String? = null
var TrackingNumber:String? = null
}
open class AddressOptions : INestedOptions
{
var City:String? = null
var Country:String? = null
var Line1:String? = null
var Line2:String? = null
var PostalCode:String? = null
var State:String? = null
}
open class SessionPaymentIntentDataTransferDataOptions : INestedOptions
{
var Amount:Long? = null
var Destination:String? = null
}
open class SessionPaymentMethodDataOptions : INestedOptions
{
var AllowRedisplay:String? = null
}
open class SessionPaymentMethodOptionsOptions : INestedOptions
{
var AcssDebit:SessionPaymentMethodOptionsAcssDebitOptions? = null
var Affirm:SessionPaymentMethodOptionsAffirmOptions? = null
var AfterpayClearpay:SessionPaymentMethodOptionsAfterpayClearpayOptions? = null
var Alipay:SessionPaymentMethodOptionsAlipayOptions? = null
var AmazonPay:SessionPaymentMethodOptionsAmazonPayOptions? = null
var AuBecsDebit:SessionPaymentMethodOptionsAuBecsDebitOptions? = null
var BacsDebit:SessionPaymentMethodOptionsBacsDebitOptions? = null
var Bancontact:SessionPaymentMethodOptionsBancontactOptions? = null
var Boleto:SessionPaymentMethodOptionsBoletoOptions? = null
var Card:SessionPaymentMethodOptionsCardOptions? = null
var Cashapp:SessionPaymentMethodOptionsCashappOptions? = null
var CustomerBalance:SessionPaymentMethodOptionsCustomerBalanceOptions? = null
var Eps:SessionPaymentMethodOptionsEpsOptions? = null
var Fpx:SessionPaymentMethodOptionsFpxOptions? = null
var Giropay:SessionPaymentMethodOptionsGiropayOptions? = null
var Grabpay:SessionPaymentMethodOptionsGrabpayOptions? = null
var Ideal:SessionPaymentMethodOptionsIdealOptions? = null
var Klarna:SessionPaymentMethodOptionsKlarnaOptions? = null
var Konbini:SessionPaymentMethodOptionsKonbiniOptions? = null
var Link:SessionPaymentMethodOptionsLinkOptions? = null
var Mobilepay:SessionPaymentMethodOptionsMobilepayOptions? = null
var Multibanco:SessionPaymentMethodOptionsMultibancoOptions? = null
var Oxxo:SessionPaymentMethodOptionsOxxoOptions? = null
var P24:SessionPaymentMethodOptionsP24Options? = null
var Paynow:SessionPaymentMethodOptionsPaynowOptions? = null
var Paypal:SessionPaymentMethodOptionsPaypalOptions? = null
var Pix:SessionPaymentMethodOptionsPixOptions? = null
var RevolutPay:SessionPaymentMethodOptionsRevolutPayOptions? = null
var SepaDebit:SessionPaymentMethodOptionsSepaDebitOptions? = null
var Sofort:SessionPaymentMethodOptionsSofortOptions? = null
var Swish:SessionPaymentMethodOptionsSwishOptions? = null
var UsBankAccount:SessionPaymentMethodOptionsUsBankAccountOptions? = null
var WechatPay:SessionPaymentMethodOptionsWechatPayOptions? = null
}
open class SessionPaymentMethodOptionsAcssDebitOptions : INestedOptions
{
var Currency:String? = null
var MandateOptions:SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions? = null
var SetupFutureUsage:String? = null
var VerificationMethod:String? = null
}
open class SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions : INestedOptions
{
var CustomMandateUrl:String? = null
var DefaultFor:ArrayList<String> = ArrayList<String>()
var IntervalDescription:String? = null
var PaymentSchedule:String? = null
var TransactionType:String? = null
}
open class SessionPaymentMethodOptionsAffirmOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsAfterpayClearpayOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsAlipayOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsAmazonPayOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsAuBecsDebitOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsBacsDebitOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsBancontactOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsBoletoOptions : INestedOptions
{
var ExpiresAfterDays:Long? = null
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsCardOptions : INestedOptions
{
var Installments:SessionPaymentMethodOptionsCardInstallmentsOptions? = null
var RequestThreeDSecure:String? = null
var SetupFutureUsage:String? = null
var StatementDescriptorSuffixKana:String? = null
var StatementDescriptorSuffixKanji:String? = null
}
open class SessionPaymentMethodOptionsCardInstallmentsOptions : INestedOptions
{
var Enabled:Boolean? = null
}
open class SessionPaymentMethodOptionsCashappOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsCustomerBalanceOptions : INestedOptions
{
var BankTransfer:SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions? = null
var FundingType:String? = null
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions : INestedOptions
{
var EuBankTransfer:SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions? = null
var RequestedAddressTypes:ArrayList<String> = ArrayList<String>()
var Type:String? = null
}
open class SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions : INestedOptions
{
var Country:String? = null
}
open class SessionPaymentMethodOptionsEpsOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsFpxOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsGiropayOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsGrabpayOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsIdealOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsKlarnaOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsKonbiniOptions : INestedOptions
{
var ExpiresAfterDays:Long? = null
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsLinkOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsMobilepayOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsMultibancoOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsOxxoOptions : INestedOptions
{
var ExpiresAfterDays:Long? = null
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsP24Options : INestedOptions
{
var SetupFutureUsage:String? = null
var TosShownAndAccepted:Boolean? = null
}
open class SessionPaymentMethodOptionsPaynowOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsPaypalOptions : INestedOptions
{
var CaptureMethod:String? = null
var PreferredLocale:String? = null
var Reference:String? = null
var RiskCorrelationId:String? = null
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsPixOptions : INestedOptions
{
var ExpiresAfterSeconds:Long? = null
}
open class SessionPaymentMethodOptionsRevolutPayOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsSepaDebitOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsSofortOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsSwishOptions : INestedOptions
{
var Reference:String? = null
}
open class SessionPaymentMethodOptionsUsBankAccountOptions : INestedOptions
{
var FinancialConnections:SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions? = null
var SetupFutureUsage:String? = null
var VerificationMethod:String? = null
}
open class SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions : INestedOptions
{
var Permissions:ArrayList<String> = ArrayList<String>()
var Prefetch:ArrayList<String> = ArrayList<String>()
}
open class SessionPaymentMethodOptionsWechatPayOptions : INestedOptions
{
var AppId:String? = null
var Client:String? = null
var SetupFutureUsage:String? = null
}
open class SessionPhoneNumberCollectionOptions : INestedOptions
{
var Enabled:Boolean? = null
}
open class SessionSavedPaymentMethodOptionsOptions : INestedOptions
{
var AllowRedisplayFilters:ArrayList<String> = ArrayList<String>()
var PaymentMethodSave:String? = null
}
open class SessionSetupIntentDataOptions : INestedOptions, IHasMetadata
{
var Description:String? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var OnBehalfOf:String? = null
}
open class SessionShippingAddressCollectionOptions : INestedOptions
{
var AllowedCountries:ArrayList<String> = ArrayList<String>()
}
open class SessionShippingOptionOptions : INestedOptions
{
var ShippingRate:String? = null
var ShippingRateData:SessionShippingOptionShippingRateDataOptions? = null
}
open class SessionShippingOptionShippingRateDataOptions : INestedOptions, IHasMetadata
{
var DeliveryEstimate:SessionShippingOptionShippingRateDataDeliveryEstimateOptions? = null
var DisplayName:String? = null
var FixedAmount:SessionShippingOptionShippingRateDataFixedAmountOptions? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var TaxBehavior:String? = null
var TaxCode:String? = null
var Type:String? = null
}
open class SessionShippingOptionShippingRateDataDeliveryEstimateOptions : INestedOptions
{
var Maximum:SessionShippingOptionShippingRateDataDeliveryEstimateMaximumOptions? = null
var Minimum:SessionShippingOptionShippingRateDataDeliveryEstimateMinimumOptions? = null
}
open class SessionShippingOptionShippingRateDataDeliveryEstimateMaximumOptions : INestedOptions
{
var Unit:String? = null
var Value:Long? = null
}
open class SessionShippingOptionShippingRateDataDeliveryEstimateMinimumOptions : INestedOptions
{
var Unit:String? = null
var Value:Long? = null
}
open class SessionShippingOptionShippingRateDataFixedAmountOptions : INestedOptions
{
var Amount:Long? = null
var Currency:String? = null
var CurrencyOptions:HashMap<String,SessionShippingOptionShippingRateDataFixedAmountCurrencyOptionsOptions> = HashMap<String,SessionShippingOptionShippingRateDataFixedAmountCurrencyOptionsOptions>()
}
open class SessionShippingOptionShippingRateDataFixedAmountCurrencyOptionsOptions : INestedOptions
{
var Amount:Long? = null
var TaxBehavior:String? = null
}
open class SessionSubscriptionDataOptions : INestedOptions, IHasMetadata
{
var ApplicationFeePercent:BigDecimal? = null
var BillingCycleAnchor:Date? = null
var DefaultTaxRates:ArrayList<String> = ArrayList<String>()
var Description:String? = null
var InvoiceSettings:SessionSubscriptionDataInvoiceSettingsOptions? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var OnBehalfOf:String? = null
var ProrationBehavior:String? = null
var TransferData:SessionSubscriptionDataTransferDataOptions? = null
var TrialEnd:Date? = null
var TrialPeriodDays:Long? = null
var TrialSettings:SessionSubscriptionDataTrialSettingsOptions? = null
}
open class SessionSubscriptionDataInvoiceSettingsOptions : INestedOptions
{
var Issuer:SessionSubscriptionDataInvoiceSettingsIssuerOptions? = null
}
open class SessionSubscriptionDataInvoiceSettingsIssuerOptions : INestedOptions
{
var Account:String? = null
var Type:String? = null
}
open class SessionSubscriptionDataTransferDataOptions : INestedOptions
{
var AmountPercent:BigDecimal? = null
var Destination:String? = null
}
open class SessionSubscriptionDataTrialSettingsOptions : INestedOptions
{
var EndBehavior:SessionSubscriptionDataTrialSettingsEndBehaviorOptions? = null
}
open class SessionSubscriptionDataTrialSettingsEndBehaviorOptions : INestedOptions
{
var MissingPaymentMethod:String? = null
}
open class SessionTaxIdCollectionOptions : INestedOptions
{
var Enabled:Boolean? = null
var Required:String? = null
}
open class PaymentIntentCreateOptions : BaseOptions(), IHasMetadata
{
var Amount:Long? = null
var ApplicationFeeAmount:Long? = null
var AutomaticPaymentMethods:PaymentIntentAutomaticPaymentMethodsOptions? = null
var CaptureMethod:String? = null
var Confirm:Boolean? = null
var ConfirmationMethod:String? = null
var ConfirmationToken:String? = null
var Currency:String? = null
var Customer:String? = null
var Description:String? = null
var ErrorOnRequiresAction:Boolean? = null
var Mandate:String? = null
var MandateData:PaymentIntentMandateDataOptions? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var OffSession:Boolean? = null
var OnBehalfOf:String? = null
var PaymentMethod:String? = null
var PaymentMethodConfiguration:String? = null
var PaymentMethodData:PaymentIntentPaymentMethodDataOptions? = null
var PaymentMethodOptions:PaymentIntentPaymentMethodOptionsOptions? = null
var PaymentMethodTypes:ArrayList<String> = ArrayList<String>()
var RadarOptions:PaymentIntentRadarOptionsOptions? = null
var ReceiptEmail:String? = null
var ReturnUrl:String? = null
var SetupFutureUsage:String? = null
var Shipping:ChargeShippingOptions? = null
var StatementDescriptor:String? = null
var StatementDescriptorSuffix:String? = null
var TransferData:PaymentIntentTransferDataOptions? = null
var TransferGroup:String? = null
var UseStripeSdk:Boolean? = null
}
open class PaymentIntentAutomaticPaymentMethodsOptions : INestedOptions
{
var AllowRedirects:String? = null
var Enabled:Boolean? = null
}
open class PaymentIntentMandateDataOptions : INestedOptions
{
var CustomerAcceptance:PaymentIntentMandateDataCustomerAcceptanceOptions? = null
}
open class PaymentIntentMandateDataCustomerAcceptanceOptions : INestedOptions
{
var AcceptedAt:Date? = null
var Offline:PaymentIntentMandateDataCustomerAcceptanceOfflineOptions? = null
var Online:PaymentIntentMandateDataCustomerAcceptanceOnlineOptions? = null
var Type:String? = null
}
open class PaymentIntentMandateDataCustomerAcceptanceOfflineOptions : INestedOptions
{
}
open class PaymentIntentMandateDataCustomerAcceptanceOnlineOptions : INestedOptions
{
var IpAddress:String? = null
var UserAgent:String? = null
}
open class PaymentIntentPaymentMethodDataOptions : INestedOptions, IHasMetadata
{
var AcssDebit:PaymentIntentPaymentMethodDataAcssDebitOptions? = null
var Affirm:PaymentIntentPaymentMethodDataAffirmOptions? = null
var AfterpayClearpay:PaymentIntentPaymentMethodDataAfterpayClearpayOptions? = null
var Alipay:PaymentIntentPaymentMethodDataAlipayOptions? = null
var AllowRedisplay:String? = null
var AmazonPay:PaymentIntentPaymentMethodDataAmazonPayOptions? = null
var AuBecsDebit:PaymentIntentPaymentMethodDataAuBecsDebitOptions? = null
var BacsDebit:PaymentIntentPaymentMethodDataBacsDebitOptions? = null
var Bancontact:PaymentIntentPaymentMethodDataBancontactOptions? = null
var BillingDetails:PaymentIntentPaymentMethodDataBillingDetailsOptions? = null
var Blik:PaymentIntentPaymentMethodDataBlikOptions? = null
var Boleto:PaymentIntentPaymentMethodDataBoletoOptions? = null
var Cashapp:PaymentIntentPaymentMethodDataCashappOptions? = null
var CustomerBalance:PaymentIntentPaymentMethodDataCustomerBalanceOptions? = null
var Eps:PaymentIntentPaymentMethodDataEpsOptions? = null
var Fpx:PaymentIntentPaymentMethodDataFpxOptions? = null
var Giropay:PaymentIntentPaymentMethodDataGiropayOptions? = null
var Grabpay:PaymentIntentPaymentMethodDataGrabpayOptions? = null
var Ideal:PaymentIntentPaymentMethodDataIdealOptions? = null
var InteracPresent:PaymentIntentPaymentMethodDataInteracPresentOptions? = null
var Klarna:PaymentIntentPaymentMethodDataKlarnaOptions? = null
var Konbini:PaymentIntentPaymentMethodDataKonbiniOptions? = null
var Link:PaymentIntentPaymentMethodDataLinkOptions? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var Mobilepay:PaymentIntentPaymentMethodDataMobilepayOptions? = null
var Multibanco:PaymentIntentPaymentMethodDataMultibancoOptions? = null
var Oxxo:PaymentIntentPaymentMethodDataOxxoOptions? = null
var P24:PaymentIntentPaymentMethodDataP24Options? = null
var Paynow:PaymentIntentPaymentMethodDataPaynowOptions? = null
var Paypal:PaymentIntentPaymentMethodDataPaypalOptions? = null
var Pix:PaymentIntentPaymentMethodDataPixOptions? = null
var Promptpay:PaymentIntentPaymentMethodDataPromptpayOptions? = null
var RadarOptions:PaymentIntentPaymentMethodDataRadarOptionsOptions? = null
var RevolutPay:PaymentIntentPaymentMethodDataRevolutPayOptions? = null
var SepaDebit:PaymentIntentPaymentMethodDataSepaDebitOptions? = null
var Sofort:PaymentIntentPaymentMethodDataSofortOptions? = null
var Swish:PaymentIntentPaymentMethodDataSwishOptions? = null
var Twint:PaymentIntentPaymentMethodDataTwintOptions? = null
var Type:String? = null
var UsBankAccount:PaymentIntentPaymentMethodDataUsBankAccountOptions? = null
var WechatPay:PaymentIntentPaymentMethodDataWechatPayOptions? = null
var Zip:PaymentIntentPaymentMethodDataZipOptions? = null
}
open class PaymentIntentPaymentMethodDataAcssDebitOptions : INestedOptions
{
var AccountNumber:String? = null
var InstitutionNumber:String? = null
var TransitNumber:String? = null
}
open class PaymentIntentPaymentMethodDataAffirmOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataAfterpayClearpayOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataAlipayOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataAmazonPayOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataAuBecsDebitOptions : INestedOptions
{
var AccountNumber:String? = null
var BsbNumber:String? = null
}
open class PaymentIntentPaymentMethodDataBacsDebitOptions : INestedOptions
{
var AccountNumber:String? = null
var SortCode:String? = null
}
open class PaymentIntentPaymentMethodDataBancontactOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataBillingDetailsOptions : INestedOptions
{
var Address:AddressOptions? = null
var Email:String? = null
var Name:String? = null
var Phone:String? = null
}
open class PaymentIntentPaymentMethodDataBlikOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataBoletoOptions : INestedOptions
{
var TaxId:String? = null
}
open class PaymentIntentPaymentMethodDataCashappOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataCustomerBalanceOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataEpsOptions : INestedOptions
{
var Bank:String? = null
}
open class PaymentIntentPaymentMethodDataFpxOptions : INestedOptions
{
var AccountHolderType:String? = null
var Bank:String? = null
}
open class PaymentIntentPaymentMethodDataGiropayOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataGrabpayOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataIdealOptions : INestedOptions
{
var Bank:String? = null
}
open class PaymentIntentPaymentMethodDataInteracPresentOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataKlarnaOptions : INestedOptions
{
var Dob:DobOptions? = null
}
open class DobOptions : INestedOptions
{
var Day:Long? = null
var Month:Long? = null
var Year:Long? = null
}
open class PaymentIntentPaymentMethodDataKonbiniOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataLinkOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataMobilepayOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataMultibancoOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataOxxoOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataP24Options : INestedOptions
{
var Bank:String? = null
}
open class PaymentIntentPaymentMethodDataPaynowOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataPaypalOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataPixOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataPromptpayOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataRadarOptionsOptions : INestedOptions
{
var Session:String? = null
}
open class PaymentIntentPaymentMethodDataRevolutPayOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataSepaDebitOptions : INestedOptions
{
var Iban:String? = null
}
open class PaymentIntentPaymentMethodDataSofortOptions : INestedOptions
{
var Country:String? = null
}
open class PaymentIntentPaymentMethodDataSwishOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataTwintOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataUsBankAccountOptions : INestedOptions
{
var AccountHolderType:String? = null
var AccountNumber:String? = null
var AccountType:String? = null
var FinancialConnectionsAccount:String? = null
var RoutingNumber:String? = null
}
open class PaymentIntentPaymentMethodDataWechatPayOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodDataZipOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodOptionsOptions : INestedOptions
{
var AcssDebit:PaymentIntentPaymentMethodOptionsAcssDebitOptions? = null
var Affirm:PaymentIntentPaymentMethodOptionsAffirmOptions? = null
var AfterpayClearpay:PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions? = null
var Alipay:PaymentIntentPaymentMethodOptionsAlipayOptions? = null
var AmazonPay:PaymentIntentPaymentMethodOptionsAmazonPayOptions? = null
var AuBecsDebit:PaymentIntentPaymentMethodOptionsAuBecsDebitOptions? = null
var BacsDebit:PaymentIntentPaymentMethodOptionsBacsDebitOptions? = null
var Bancontact:PaymentIntentPaymentMethodOptionsBancontactOptions? = null
var Blik:PaymentIntentPaymentMethodOptionsBlikOptions? = null
var Boleto:PaymentIntentPaymentMethodOptionsBoletoOptions? = null
var Card:PaymentIntentPaymentMethodOptionsCardOptions? = null
var CardPresent:PaymentIntentPaymentMethodOptionsCardPresentOptions? = null
var Cashapp:PaymentIntentPaymentMethodOptionsCashappOptions? = null
var CustomerBalance:PaymentIntentPaymentMethodOptionsCustomerBalanceOptions? = null
var Eps:PaymentIntentPaymentMethodOptionsEpsOptions? = null
var Fpx:PaymentIntentPaymentMethodOptionsFpxOptions? = null
var Giropay:PaymentIntentPaymentMethodOptionsGiropayOptions? = null
var Grabpay:PaymentIntentPaymentMethodOptionsGrabpayOptions? = null
var Ideal:PaymentIntentPaymentMethodOptionsIdealOptions? = null
var InteracPresent:PaymentIntentPaymentMethodOptionsInteracPresentOptions? = null
var Klarna:PaymentIntentPaymentMethodOptionsKlarnaOptions? = null
var Konbini:PaymentIntentPaymentMethodOptionsKonbiniOptions? = null
var Link:PaymentIntentPaymentMethodOptionsLinkOptions? = null
var Mobilepay:PaymentIntentPaymentMethodOptionsMobilepayOptions? = null
var Multibanco:PaymentIntentPaymentMethodOptionsMultibancoOptions? = null
var Oxxo:PaymentIntentPaymentMethodOptionsOxxoOptions? = null
var P24:PaymentIntentPaymentMethodOptionsP24Options? = null
var Paynow:PaymentIntentPaymentMethodOptionsPaynowOptions? = null
var Paypal:PaymentIntentPaymentMethodOptionsPaypalOptions? = null
var Pix:PaymentIntentPaymentMethodOptionsPixOptions? = null
var Promptpay:PaymentIntentPaymentMethodOptionsPromptpayOptions? = null
var RevolutPay:PaymentIntentPaymentMethodOptionsRevolutPayOptions? = null
var SepaDebit:PaymentIntentPaymentMethodOptionsSepaDebitOptions? = null
var Sofort:PaymentIntentPaymentMethodOptionsSofortOptions? = null
var Swish:PaymentIntentPaymentMethodOptionsSwishOptions? = null
var Twint:PaymentIntentPaymentMethodOptionsTwintOptions? = null
var UsBankAccount:PaymentIntentPaymentMethodOptionsUsBankAccountOptions? = null
var WechatPay:PaymentIntentPaymentMethodOptionsWechatPayOptions? = null
var Zip:PaymentIntentPaymentMethodOptionsZipOptions? = null
}
open class PaymentIntentPaymentMethodOptionsAcssDebitOptions : INestedOptions
{
var MandateOptions:PaymentIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions? = null
var SetupFutureUsage:String? = null
var VerificationMethod:String? = null
}
open class PaymentIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions : INestedOptions
{
var CustomMandateUrl:String? = null
var IntervalDescription:String? = null
var PaymentSchedule:String? = null
var TransactionType:String? = null
}
open class PaymentIntentPaymentMethodOptionsAffirmOptions : INestedOptions
{
var CaptureMethod:String? = null
var PreferredLocale:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions : INestedOptions
{
var CaptureMethod:String? = null
var Reference:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsAlipayOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsAmazonPayOptions : INestedOptions
{
var CaptureMethod:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsAuBecsDebitOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsBacsDebitOptions : INestedOptions
{
var MandateOptions:PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodOptionsBancontactOptions : INestedOptions
{
var PreferredLanguage:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsBlikOptions : INestedOptions
{
var Code:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsBoletoOptions : INestedOptions
{
var ExpiresAfterDays:Long? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsCardOptions : INestedOptions
{
var CaptureMethod:String? = null
var CvcToken:String? = null
var Installments:PaymentIntentPaymentMethodOptionsCardInstallmentsOptions? = null
var MandateOptions:PaymentIntentPaymentMethodOptionsCardMandateOptionsOptions? = null
var Moto:Boolean? = null
var Network:String? = null
var RequestExtendedAuthorization:String? = null
var RequestIncrementalAuthorization:String? = null
var RequestMulticapture:String? = null
var RequestOvercapture:String? = null
var RequestThreeDSecure:String? = null
var RequireCvcRecollection:Boolean? = null
var SetupFutureUsage:String? = null
var StatementDescriptorSuffixKana:String? = null
var StatementDescriptorSuffixKanji:String? = null
var ThreeDSecure:PaymentIntentPaymentMethodOptionsCardThreeDSecureOptions? = null
}
open class PaymentIntentPaymentMethodOptionsCardInstallmentsOptions : INestedOptions
{
var Enabled:Boolean? = null
var Plan:PaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions? = null
}
open class PaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions : INestedOptions
{
var Count:Long? = null
var Interval:String? = null
var Type:String? = null
}
open class PaymentIntentPaymentMethodOptionsCardMandateOptionsOptions : INestedOptions
{
var Amount:Long? = null
var AmountType:String? = null
var Description:String? = null
var EndDate:Date? = null
var Interval:String? = null
var IntervalCount:Long? = null
var Reference:String? = null
var StartDate:Date? = null
var SupportedTypes:ArrayList<String> = ArrayList<String>()
}
open class PaymentIntentPaymentMethodOptionsCardThreeDSecureOptions : INestedOptions
{
var AresTransStatus:String? = null
var Cryptogram:String? = null
var ElectronicCommerceIndicator:String? = null
var ExemptionIndicator:String? = null
var NetworkOptions:PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsOptions? = null
var RequestorChallengeIndicator:String? = null
var TransactionId:String? = null
var Version:String? = null
}
open class PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsOptions : INestedOptions
{
var CartesBancaires:PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancairesOptions? = null
}
open class PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancairesOptions : INestedOptions
{
var CbAvalgo:String? = null
var CbExemption:String? = null
var CbScore:Long? = null
}
open class PaymentIntentPaymentMethodOptionsCardPresentOptions : INestedOptions
{
var RequestExtendedAuthorization:Boolean? = null
var RequestIncrementalAuthorizationSupport:Boolean? = null
var Routing:PaymentIntentPaymentMethodOptionsCardPresentRoutingOptions? = null
}
open class PaymentIntentPaymentMethodOptionsCardPresentRoutingOptions : INestedOptions
{
var RequestedPriority:String? = null
}
open class PaymentIntentPaymentMethodOptionsCashappOptions : INestedOptions
{
var CaptureMethod:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsCustomerBalanceOptions : INestedOptions
{
var BankTransfer:PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions? = null
var FundingType:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions : INestedOptions
{
var EuBankTransfer:PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions? = null
var RequestedAddressTypes:ArrayList<String> = ArrayList<String>()
var Type:String? = null
}
open class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions : INestedOptions
{
var Country:String? = null
}
open class PaymentIntentPaymentMethodOptionsEpsOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsFpxOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsGiropayOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsGrabpayOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsIdealOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsInteracPresentOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodOptionsKlarnaOptions : INestedOptions
{
var CaptureMethod:String? = null
var PreferredLocale:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsKonbiniOptions : INestedOptions
{
var ConfirmationNumber:String? = null
var ExpiresAfterDays:Long? = null
var ExpiresAt:Date? = null
var ProductDescription:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsLinkOptions : INestedOptions
{
var CaptureMethod:String? = null
var PersistentToken:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsMobilepayOptions : INestedOptions
{
var CaptureMethod:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsMultibancoOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsOxxoOptions : INestedOptions
{
var ExpiresAfterDays:Long? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsP24Options : INestedOptions
{
var SetupFutureUsage:String? = null
var TosShownAndAccepted:Boolean? = null
}
open class PaymentIntentPaymentMethodOptionsPaynowOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsPaypalOptions : INestedOptions
{
var CaptureMethod:String? = null
var PreferredLocale:String? = null
var Reference:String? = null
var RiskCorrelationId:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsPixOptions : INestedOptions
{
var ExpiresAfterSeconds:Long? = null
var ExpiresAt:Date? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsPromptpayOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsRevolutPayOptions : INestedOptions
{
var CaptureMethod:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsSepaDebitOptions : INestedOptions
{
var MandateOptions:PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions : INestedOptions
{
}
open class PaymentIntentPaymentMethodOptionsSofortOptions : INestedOptions
{
var PreferredLanguage:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsSwishOptions : INestedOptions
{
var Reference:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsTwintOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsUsBankAccountOptions : INestedOptions
{
var FinancialConnections:PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions? = null
var MandateOptions:PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptionsOptions? = null
var Networks:PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions? = null
var PreferredSettlementSpeed:String? = null
var SetupFutureUsage:String? = null
var VerificationMethod:String? = null
}
open class PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions : INestedOptions
{
var Filters:PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersOptions? = null
var Permissions:ArrayList<String> = ArrayList<String>()
var Prefetch:ArrayList<String> = ArrayList<String>()
var ReturnUrl:String? = null
}
open class PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersOptions : INestedOptions
{
var AccountSubcategories:ArrayList<String> = ArrayList<String>()
}
open class PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptionsOptions : INestedOptions
{
var CollectionMethod:String? = null
}
open class PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions : INestedOptions
{
var Requested:ArrayList<String> = ArrayList<String>()
}
open class PaymentIntentPaymentMethodOptionsWechatPayOptions : INestedOptions
{
var AppId:String? = null
var Client:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsZipOptions : INestedOptions
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentRadarOptionsOptions : INestedOptions
{
var Session:String? = null
}
open class PaymentIntentTransferDataOptions : INestedOptions
{
var Amount:Long? = null
var Destination:String? = null
}
open class CustomerCreateOptions : BaseOptions(), IHasMetadata
{
var Address:AddressOptions? = null
var Balance:Long? = null
var CashBalance:CustomerCashBalanceOptions? = null
var Coupon:String? = null
var Description:String? = null
var Email:String? = null
var InvoicePrefix:String? = null
var InvoiceSettings:CustomerInvoiceSettingsOptions? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var Name:String? = null
var NextInvoiceSequence:Long? = null
var PaymentMethod:String? = null
var Phone:String? = null
var Plan:String? = null
var PreferredLocales:ArrayList<String> = ArrayList<String>()
var PromotionCode:String? = null
var Shipping:ShippingOptions? = null
var Source:AnyOf_2<String, CardCreateNestedOptions>? = null
var Tax:CustomerTaxOptions? = null
var TaxExempt:String? = null
var TaxIdData:ArrayList<CustomerTaxIdDataOptions> = ArrayList<CustomerTaxIdDataOptions>()
var TestClock:String? = null
var Validate:Boolean? = null
}
open class CustomerCashBalanceOptions : INestedOptions
{
var Settings:CustomerCashBalanceSettingsOptions? = null
}
open class CustomerCashBalanceSettingsOptions : INestedOptions
{
var ReconciliationMode:String? = null
}
open class CustomerInvoiceSettingsOptions : INestedOptions
{
var CustomFields:ArrayList<CustomerInvoiceSettingsCustomFieldOptions> = ArrayList<CustomerInvoiceSettingsCustomFieldOptions>()
var DefaultPaymentMethod:String? = null
var Footer:String? = null
var RenderingOptions:CustomerInvoiceSettingsRenderingOptionsOptions? = null
}
open class CustomerInvoiceSettingsCustomFieldOptions : INestedOptions
{
var Name:String? = null
var Value:String? = null
}
open class CustomerInvoiceSettingsRenderingOptionsOptions : INestedOptions
{
var AmountTaxDisplay:String? = null
var Template:String? = null
}
open class ShippingOptions : INestedOptions
{
var Address:AddressOptions? = null
var Name:String? = null
var Phone:String? = null
}
open class AnyOf_2<T1, T2> : AnyOf()
{
var Value:Object? = null
var Type:Class? = null
}
open class AnyOf : IAnyOf
{
var Value:Object? = null
var Type:Class? = null
}
open class CardCreateNestedOptions : INestedOptions, IHasMetadata, IHasObject
{
var AddressCity:String? = null
var AddressCountry:String? = null
var AddressLine1:String? = null
var AddressLine2:String? = null
var AddressState:String? = null
var AddressZip:String? = null
var Currency:String? = null
var Cvc:String? = null
var ExpMonth:Long? = null
var ExpYear:Long? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var Name:String? = null
var Number:String? = null
var Object:String? = null
}
open class CustomerTaxOptions : INestedOptions
{
var IpAddress:String? = null
var ValidateLocation:String? = null
}
open class CustomerTaxIdDataOptions : INestedOptions
{
var Type:String? = null
var Value:String? = null
}
open class RequestOptions
{
var ApiKey:String? = null
var IdempotencyKey:String? = null
var StripeAccount:String? = null
var StripeContext:String? = null
}
open class CustomCheckoutData
{
var CustomSessionData:CustomSessionData? = null
var CustomPaymentIntentData:CustomPaymentIntentData? = null
}
open class CustomSessionData
{
var Session:Session? = null
var LineItems:ArrayList<LineItem> = ArrayList<LineItem>()
var PaymentIntent:PaymentIntent? = null
}
open class Session : StripeEntity_1<Session>(), IHasId, IHasMetadata, IHasObject
{
var Id:String? = null
var Object:String? = null
var AfterExpiration:SessionAfterExpiration? = null
var AllowPromotionCodes:Boolean? = null
var AmountSubtotal:Long? = null
var AmountTotal:Long? = null
var AutomaticTax:SessionAutomaticTax? = null
var BillingAddressCollection:String? = null
var CancelUrl:String? = null
var ClientReferenceId:String? = null
var ClientSecret:String? = null
var Consent:SessionConsent? = null
var ConsentCollection:SessionConsentCollection? = null
var Created:Date? = null
var Currency:String? = null
var CurrencyConversion:SessionCurrencyConversion? = null
var CustomFields:ArrayList<SessionCustomField> = ArrayList<SessionCustomField>()
var CustomText:SessionCustomText? = null
var CustomerCreation:String? = null
var CustomerDetails:SessionCustomerDetails? = null
var CustomerEmail:String? = null
var ExpiresAt:Date? = null
var InvoiceCreation:SessionInvoiceCreation? = null
var LineItems:StripeList<LineItem>? = null
var Livemode:Boolean? = null
var Locale:String? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var Mode:String? = null
var PaymentMethodCollection:String? = null
var PaymentMethodConfigurationDetails:SessionPaymentMethodConfigurationDetails? = null
var PaymentMethodOptions:SessionPaymentMethodOptions? = null
var PaymentMethodTypes:ArrayList<String> = ArrayList<String>()
var PaymentStatus:String? = null
var PhoneNumberCollection:SessionPhoneNumberCollection? = null
var RecoveredFrom:String? = null
var RedirectOnCompletion:String? = null
var ReturnUrl:String? = null
var SavedPaymentMethodOptions:SessionSavedPaymentMethodOptions? = null
var ShippingAddressCollection:SessionShippingAddressCollection? = null
var ShippingCost:SessionShippingCost? = null
var ShippingDetails:SessionShippingDetails? = null
var ShippingOptions:ArrayList<SessionShippingOption> = ArrayList<SessionShippingOption>()
var Status:String? = null
var SubmitType:String? = null
var SuccessUrl:String? = null
var TaxIdCollection:SessionTaxIdCollection? = null
var TotalDetails:SessionTotalDetails? = null
var UiMode:String? = null
var Url:String? = null
}
open class StripeEntity_1<T> : StripeEntity()
{
}
open class StripeEntity : IStripeEntity
{
}
open class SessionAfterExpiration : StripeEntity_1<SessionAfterExpiration>()
{
var Recovery:SessionAfterExpirationRecovery? = null
}
open class SessionAfterExpirationRecovery : StripeEntity_1<SessionAfterExpirationRecovery>()
{
var AllowPromotionCodes:Boolean? = null
var Enabled:Boolean? = null
var ExpiresAt:Date? = null
var Url:String? = null
}
open class SessionAutomaticTax : StripeEntity_1<SessionAutomaticTax>()
{
var Enabled:Boolean? = null
var Liability:SessionAutomaticTaxLiability? = null
var Status:String? = null
}
open class SessionAutomaticTaxLiability : StripeEntity_1<SessionAutomaticTaxLiability>()
{
var Type:String? = null
}
open class SessionConsent : StripeEntity_1<SessionConsent>()
{
var Promotions:String? = null
var TermsOfService:String? = null
}
open class SessionConsentCollection : StripeEntity_1<SessionConsentCollection>()
{
var PaymentMethodReuseAgreement:SessionConsentCollectionPaymentMethodReuseAgreement? = null
var Promotions:String? = null
var TermsOfService:String? = null
}
open class SessionConsentCollectionPaymentMethodReuseAgreement : StripeEntity_1<SessionConsentCollectionPaymentMethodReuseAgreement>()
{
var Position:String? = null
}
open class SessionCurrencyConversion : StripeEntity_1<SessionCurrencyConversion>()
{
var AmountSubtotal:Long? = null
var AmountTotal:Long? = null
var FxRate:BigDecimal? = null
var SourceCurrency:String? = null
}
open class SessionCustomField : StripeEntity_1<SessionCustomField>()
{
var Dropdown:SessionCustomFieldDropdown? = null
var Key:String? = null
var Label:SessionCustomFieldLabel? = null
var Numeric:SessionCustomFieldNumeric? = null
var Optional:Boolean? = null
var Text:SessionCustomFieldText? = null
var Type:String? = null
}
open class SessionCustomFieldDropdown : StripeEntity_1<SessionCustomFieldDropdown>()
{
var DefaultValue:String? = null
var Options:ArrayList<SessionCustomFieldDropdownOption> = ArrayList<SessionCustomFieldDropdownOption>()
var Value:String? = null
}
open class SessionCustomFieldDropdownOption : StripeEntity_1<SessionCustomFieldDropdownOption>()
{
var Label:String? = null
var Value:String? = null
}
open class SessionCustomFieldLabel : StripeEntity_1<SessionCustomFieldLabel>()
{
var Custom:String? = null
var Type:String? = null
}
open class SessionCustomFieldNumeric : StripeEntity_1<SessionCustomFieldNumeric>()
{
var DefaultValue:String? = null
var MaximumLength:Long? = null
var MinimumLength:Long? = null
var Value:String? = null
}
open class SessionCustomFieldText : StripeEntity_1<SessionCustomFieldText>()
{
var DefaultValue:String? = null
var MaximumLength:Long? = null
var MinimumLength:Long? = null
var Value:String? = null
}
open class SessionCustomText : StripeEntity_1<SessionCustomText>()
{
var AfterSubmit:SessionCustomTextAfterSubmit? = null
var ShippingAddress:SessionCustomTextShippingAddress? = null
var Submit:SessionCustomTextSubmit? = null
var TermsOfServiceAcceptance:SessionCustomTextTermsOfServiceAcceptance? = null
}
open class SessionCustomTextAfterSubmit : StripeEntity_1<SessionCustomTextAfterSubmit>()
{
var Message:String? = null
}
open class SessionCustomTextShippingAddress : StripeEntity_1<SessionCustomTextShippingAddress>()
{
var Message:String? = null
}
open class SessionCustomTextSubmit : StripeEntity_1<SessionCustomTextSubmit>()
{
var Message:String? = null
}
open class SessionCustomTextTermsOfServiceAcceptance : StripeEntity_1<SessionCustomTextTermsOfServiceAcceptance>()
{
var Message:String? = null
}
open class SessionCustomerDetails : StripeEntity_1<SessionCustomerDetails>()
{
var Address:Address? = null
var Email:String? = null
var Name:String? = null
var Phone:String? = null
var TaxExempt:String? = null
var TaxIds:ArrayList<SessionCustomerDetailsTaxId> = ArrayList<SessionCustomerDetailsTaxId>()
}
open class Address : StripeEntity_1<Address>()
{
var City:String? = null
var Country:String? = null
var Line1:String? = null
var Line2:String? = null
var PostalCode:String? = null
var State:String? = null
}
open class SessionCustomerDetailsTaxId : StripeEntity_1<SessionCustomerDetailsTaxId>()
{
var Type:String? = null
var Value:String? = null
}
open class SessionInvoiceCreation : StripeEntity_1<SessionInvoiceCreation>()
{
var Enabled:Boolean? = null
var InvoiceData:SessionInvoiceCreationInvoiceData? = null
}
open class SessionInvoiceCreationInvoiceData : StripeEntity_1<SessionInvoiceCreationInvoiceData>(), IHasMetadata
{
var CustomFields:ArrayList<SessionInvoiceCreationInvoiceDataCustomField> = ArrayList<SessionInvoiceCreationInvoiceDataCustomField>()
var Description:String? = null
var Footer:String? = null
var Issuer:SessionInvoiceCreationInvoiceDataIssuer? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var RenderingOptions:SessionInvoiceCreationInvoiceDataRenderingOptions? = null
}
open class SessionInvoiceCreationInvoiceDataCustomField : StripeEntity_1<SessionInvoiceCreationInvoiceDataCustomField>()
{
var Name:String? = null
var Value:String? = null
}
open class SessionInvoiceCreationInvoiceDataIssuer : StripeEntity_1<SessionInvoiceCreationInvoiceDataIssuer>()
{
var Type:String? = null
}
open class SessionInvoiceCreationInvoiceDataRenderingOptions : StripeEntity_1<SessionInvoiceCreationInvoiceDataRenderingOptions>()
{
var AmountTaxDisplay:String? = null
}
open class StripeList<T> : StripeEntity_1<StripeList<T>>(), IHasObject
{
}
open class LineItem : StripeEntity_1<LineItem>(), IHasId, IHasObject
{
var Id:String? = null
var Object:String? = null
var AmountDiscount:Long? = null
var AmountSubtotal:Long? = null
var AmountTax:Long? = null
var AmountTotal:Long? = null
var Currency:String? = null
var Deleted:Boolean? = null
var Description:String? = null
var Discounts:ArrayList<LineItemDiscount> = ArrayList<LineItemDiscount>()
var Price:Price? = null
var Quantity:Long? = null
var Taxes:ArrayList<LineItemTax> = ArrayList<LineItemTax>()
}
open class LineItemDiscount : StripeEntity_1<LineItemDiscount>()
{
var Amount:Long? = null
var Discount:Discount? = null
}
open class Discount : StripeEntity_1<Discount>(), IHasId, IHasObject
{
var Id:String? = null
var Object:String? = null
var CheckoutSession:String? = null
var Coupon:Coupon? = null
var Deleted:Boolean? = null
var End:Date? = null
var Invoice:String? = null
var InvoiceItem:String? = null
var Start:Date? = null
var Subscription:String? = null
var SubscriptionItem:String? = null
}
open class Coupon : StripeEntity_1<Coupon>(), IHasId, IHasMetadata, IHasObject
{
var Id:String? = null
var Object:String? = null
var AmountOff:Long? = null
var AppliesTo:CouponAppliesTo? = null
var Created:Date? = null
var Currency:String? = null
var CurrencyOptions:HashMap<String,CouponCurrencyOptions> = HashMap<String,CouponCurrencyOptions>()
var Deleted:Boolean? = null
var Duration:String? = null
var DurationInMonths:Long? = null
var Livemode:Boolean? = null
var MaxRedemptions:Long? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var Name:String? = null
var PercentOff:BigDecimal? = null
var RedeemBy:Date? = null
var TimesRedeemed:Long? = null
var Valid:Boolean? = null
}
open class CouponAppliesTo : StripeEntity_1<CouponAppliesTo>()
{
var Products:ArrayList<String> = ArrayList<String>()
}
open class CouponCurrencyOptions : StripeEntity_1<CouponCurrencyOptions>()
{
var AmountOff:Long? = null
}
open class Price : StripeEntity_1<Price>(), IHasId, IHasMetadata, IHasObject
{
var Id:String? = null
var Object:String? = null
var Active:Boolean? = null
var BillingScheme:String? = null
var Created:Date? = null
var Currency:String? = null
var CurrencyOptions:HashMap<String,PriceCurrencyOptions> = HashMap<String,PriceCurrencyOptions>()
var CustomUnitAmount:PriceCustomUnitAmount? = null
var Deleted:Boolean? = null
var Livemode:Boolean? = null
var LookupKey:String? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var Nickname:String? = null
var Recurring:PriceRecurring? = null
var TaxBehavior:String? = null
var Tiers:ArrayList<PriceTier> = ArrayList<PriceTier>()
var TiersMode:String? = null
var TransformQuantity:PriceTransformQuantity? = null
var Type:String? = null
var UnitAmount:Long? = null
var UnitAmountDecimal:BigDecimal? = null
}
open class PriceCurrencyOptions : StripeEntity_1<PriceCurrencyOptions>()
{
var CustomUnitAmount:PriceCurrencyOptionsCustomUnitAmount? = null
var TaxBehavior:String? = null
var Tiers:ArrayList<PriceCurrencyOptionsTier> = ArrayList<PriceCurrencyOptionsTier>()
var UnitAmount:Long? = null
var UnitAmountDecimal:BigDecimal? = null
}
open class PriceCurrencyOptionsCustomUnitAmount : StripeEntity_1<PriceCurrencyOptionsCustomUnitAmount>()
{
var Maximum:Long? = null
var Minimum:Long? = null
var Preset:Long? = null
}
open class PriceCurrencyOptionsTier : StripeEntity_1<PriceCurrencyOptionsTier>()
{
var FlatAmount:Long? = null
var FlatAmountDecimal:BigDecimal? = null
var UnitAmount:Long? = null
var UnitAmountDecimal:BigDecimal? = null
var UpTo:Long? = null
}
open class PriceCustomUnitAmount : StripeEntity_1<PriceCustomUnitAmount>()
{
var Maximum:Long? = null
var Minimum:Long? = null
var Preset:Long? = null
}
open class PriceRecurring : StripeEntity_1<PriceRecurring>()
{
var AggregateUsage:String? = null
var Interval:String? = null
var IntervalCount:Long? = null
var Meter:String? = null
var TrialPeriodDays:Long? = null
var UsageType:String? = null
}
open class PriceTier : StripeEntity_1<PriceTier>()
{
var FlatAmount:Long? = null
var FlatAmountDecimal:BigDecimal? = null
var UnitAmount:Long? = null
var UnitAmountDecimal:BigDecimal? = null
var UpTo:Long? = null
}
open class PriceTransformQuantity : StripeEntity_1<PriceTransformQuantity>()
{
var DivideBy:Long? = null
var Round:String? = null
}
open class LineItemTax : StripeEntity_1<LineItemTax>()
{
var Amount:Long? = null
var Rate:TaxRate? = null
var TaxabilityReason:String? = null
var TaxableAmount:Long? = null
}
open class TaxRate : StripeEntity_1<TaxRate>(), IHasId, IHasMetadata, IHasObject
{
var Id:String? = null
var Object:String? = null
var Active:Boolean? = null
var Country:String? = null
var Created:Date? = null
var Description:String? = null
var DisplayName:String? = null
var EffectivePercentage:BigDecimal? = null
var Inclusive:Boolean? = null
var Jurisdiction:String? = null
var JurisdictionLevel:String? = null
var Livemode:Boolean? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var Percentage:BigDecimal? = null
var State:String? = null
var TaxType:String? = null
}
open class SessionPaymentMethodConfigurationDetails : StripeEntity_1<SessionPaymentMethodConfigurationDetails>(), IHasId
{
var Id:String? = null
var Parent:String? = null
}
open class SessionPaymentMethodOptions : StripeEntity_1<SessionPaymentMethodOptions>()
{
var AcssDebit:SessionPaymentMethodOptionsAcssDebit? = null
var Affirm:SessionPaymentMethodOptionsAffirm? = null
var AfterpayClearpay:SessionPaymentMethodOptionsAfterpayClearpay? = null
var Alipay:SessionPaymentMethodOptionsAlipay? = null
var AmazonPay:SessionPaymentMethodOptionsAmazonPay? = null
var AuBecsDebit:SessionPaymentMethodOptionsAuBecsDebit? = null
var BacsDebit:SessionPaymentMethodOptionsBacsDebit? = null
var Bancontact:SessionPaymentMethodOptionsBancontact? = null
var Boleto:SessionPaymentMethodOptionsBoleto? = null
var Card:SessionPaymentMethodOptionsCard? = null
var Cashapp:SessionPaymentMethodOptionsCashapp? = null
var CustomerBalance:SessionPaymentMethodOptionsCustomerBalance? = null
var Eps:SessionPaymentMethodOptionsEps? = null
var Fpx:SessionPaymentMethodOptionsFpx? = null
var Giropay:SessionPaymentMethodOptionsGiropay? = null
var Grabpay:SessionPaymentMethodOptionsGrabpay? = null
var Ideal:SessionPaymentMethodOptionsIdeal? = null
var Klarna:SessionPaymentMethodOptionsKlarna? = null
var Konbini:SessionPaymentMethodOptionsKonbini? = null
var Link:SessionPaymentMethodOptionsLink? = null
var Mobilepay:SessionPaymentMethodOptionsMobilepay? = null
var Multibanco:SessionPaymentMethodOptionsMultibanco? = null
var Oxxo:SessionPaymentMethodOptionsOxxo? = null
var P24:SessionPaymentMethodOptionsP24? = null
var Paynow:SessionPaymentMethodOptionsPaynow? = null
var Paypal:SessionPaymentMethodOptionsPaypal? = null
var Pix:SessionPaymentMethodOptionsPix? = null
var RevolutPay:SessionPaymentMethodOptionsRevolutPay? = null
var SepaDebit:SessionPaymentMethodOptionsSepaDebit? = null
var Sofort:SessionPaymentMethodOptionsSofort? = null
var Swish:SessionPaymentMethodOptionsSwish? = null
var UsBankAccount:SessionPaymentMethodOptionsUsBankAccount? = null
}
open class SessionPaymentMethodOptionsAcssDebit : StripeEntity_1<SessionPaymentMethodOptionsAcssDebit>()
{
var Currency:String? = null
var MandateOptions:SessionPaymentMethodOptionsAcssDebitMandateOptions? = null
var SetupFutureUsage:String? = null
var VerificationMethod:String? = null
}
open class SessionPaymentMethodOptionsAcssDebitMandateOptions : StripeEntity_1<SessionPaymentMethodOptionsAcssDebitMandateOptions>()
{
var CustomMandateUrl:String? = null
var DefaultFor:ArrayList<String> = ArrayList<String>()
var IntervalDescription:String? = null
var PaymentSchedule:String? = null
var TransactionType:String? = null
}
open class SessionPaymentMethodOptionsAffirm : StripeEntity_1<SessionPaymentMethodOptionsAffirm>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsAfterpayClearpay : StripeEntity_1<SessionPaymentMethodOptionsAfterpayClearpay>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsAlipay : StripeEntity_1<SessionPaymentMethodOptionsAlipay>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsAmazonPay : StripeEntity_1<SessionPaymentMethodOptionsAmazonPay>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsAuBecsDebit : StripeEntity_1<SessionPaymentMethodOptionsAuBecsDebit>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsBacsDebit : StripeEntity_1<SessionPaymentMethodOptionsBacsDebit>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsBancontact : StripeEntity_1<SessionPaymentMethodOptionsBancontact>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsBoleto : StripeEntity_1<SessionPaymentMethodOptionsBoleto>()
{
var ExpiresAfterDays:Long? = null
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsCard : StripeEntity_1<SessionPaymentMethodOptionsCard>()
{
var Installments:SessionPaymentMethodOptionsCardInstallments? = null
var RequestThreeDSecure:String? = null
var SetupFutureUsage:String? = null
var StatementDescriptorSuffixKana:String? = null
var StatementDescriptorSuffixKanji:String? = null
}
open class SessionPaymentMethodOptionsCardInstallments : StripeEntity_1<SessionPaymentMethodOptionsCardInstallments>()
{
var Enabled:Boolean? = null
}
open class SessionPaymentMethodOptionsCashapp : StripeEntity_1<SessionPaymentMethodOptionsCashapp>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsCustomerBalance : StripeEntity_1<SessionPaymentMethodOptionsCustomerBalance>()
{
var BankTransfer:SessionPaymentMethodOptionsCustomerBalanceBankTransfer? = null
var FundingType:String? = null
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsCustomerBalanceBankTransfer : StripeEntity_1<SessionPaymentMethodOptionsCustomerBalanceBankTransfer>()
{
var EuBankTransfer:SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer? = null
var RequestedAddressTypes:ArrayList<String> = ArrayList<String>()
var Type:String? = null
}
open class SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer : StripeEntity_1<SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer>()
{
var Country:String? = null
}
open class SessionPaymentMethodOptionsEps : StripeEntity_1<SessionPaymentMethodOptionsEps>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsFpx : StripeEntity_1<SessionPaymentMethodOptionsFpx>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsGiropay : StripeEntity_1<SessionPaymentMethodOptionsGiropay>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsGrabpay : StripeEntity_1<SessionPaymentMethodOptionsGrabpay>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsIdeal : StripeEntity_1<SessionPaymentMethodOptionsIdeal>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsKlarna : StripeEntity_1<SessionPaymentMethodOptionsKlarna>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsKonbini : StripeEntity_1<SessionPaymentMethodOptionsKonbini>()
{
var ExpiresAfterDays:Long? = null
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsLink : StripeEntity_1<SessionPaymentMethodOptionsLink>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsMobilepay : StripeEntity_1<SessionPaymentMethodOptionsMobilepay>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsMultibanco : StripeEntity_1<SessionPaymentMethodOptionsMultibanco>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsOxxo : StripeEntity_1<SessionPaymentMethodOptionsOxxo>()
{
var ExpiresAfterDays:Long? = null
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsP24 : StripeEntity_1<SessionPaymentMethodOptionsP24>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsPaynow : StripeEntity_1<SessionPaymentMethodOptionsPaynow>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsPaypal : StripeEntity_1<SessionPaymentMethodOptionsPaypal>()
{
var CaptureMethod:String? = null
var PreferredLocale:String? = null
var Reference:String? = null
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsPix : StripeEntity_1<SessionPaymentMethodOptionsPix>()
{
var ExpiresAfterSeconds:Long? = null
}
open class SessionPaymentMethodOptionsRevolutPay : StripeEntity_1<SessionPaymentMethodOptionsRevolutPay>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsSepaDebit : StripeEntity_1<SessionPaymentMethodOptionsSepaDebit>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsSofort : StripeEntity_1<SessionPaymentMethodOptionsSofort>()
{
var SetupFutureUsage:String? = null
}
open class SessionPaymentMethodOptionsSwish : StripeEntity_1<SessionPaymentMethodOptionsSwish>()
{
var Reference:String? = null
}
open class SessionPaymentMethodOptionsUsBankAccount : StripeEntity_1<SessionPaymentMethodOptionsUsBankAccount>()
{
var FinancialConnections:SessionPaymentMethodOptionsUsBankAccountFinancialConnections? = null
var SetupFutureUsage:String? = null
var VerificationMethod:String? = null
}
open class SessionPaymentMethodOptionsUsBankAccountFinancialConnections : StripeEntity_1<SessionPaymentMethodOptionsUsBankAccountFinancialConnections>()
{
var Filters:SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters? = null
var Permissions:ArrayList<String> = ArrayList<String>()
var Prefetch:ArrayList<String> = ArrayList<String>()
var ReturnUrl:String? = null
}
open class SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters : StripeEntity_1<SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters>()
{
var AccountSubcategories:ArrayList<String> = ArrayList<String>()
}
open class SessionPhoneNumberCollection : StripeEntity_1<SessionPhoneNumberCollection>()
{
var Enabled:Boolean? = null
}
open class SessionSavedPaymentMethodOptions : StripeEntity_1<SessionSavedPaymentMethodOptions>()
{
var AllowRedisplayFilters:ArrayList<String> = ArrayList<String>()
var PaymentMethodRemove:String? = null
var PaymentMethodSave:String? = null
}
open class SessionShippingAddressCollection : StripeEntity_1<SessionShippingAddressCollection>()
{
var AllowedCountries:ArrayList<String> = ArrayList<String>()
}
open class SessionShippingCost : StripeEntity_1<SessionShippingCost>()
{
var AmountSubtotal:Long? = null
var AmountTax:Long? = null
var AmountTotal:Long? = null
var Taxes:ArrayList<SessionShippingCostTax> = ArrayList<SessionShippingCostTax>()
}
open class SessionShippingCostTax : StripeEntity_1<SessionShippingCostTax>()
{
var Amount:Long? = null
var Rate:TaxRate? = null
var TaxabilityReason:String? = null
var TaxableAmount:Long? = null
}
open class SessionShippingDetails : StripeEntity_1<SessionShippingDetails>()
{
var Address:Address? = null
var Carrier:String? = null
var Name:String? = null
var Phone:String? = null
var TrackingNumber:String? = null
}
open class SessionShippingOption : StripeEntity_1<SessionShippingOption>()
{
var ShippingAmount:Long? = null
}
open class SessionTaxIdCollection : StripeEntity_1<SessionTaxIdCollection>()
{
var Enabled:Boolean? = null
var Required:String? = null
}
open class SessionTotalDetails : StripeEntity_1<SessionTotalDetails>()
{
var AmountDiscount:Long? = null
var AmountShipping:Long? = null
var AmountTax:Long? = null
var Breakdown:SessionTotalDetailsBreakdown? = null
}
open class SessionTotalDetailsBreakdown : StripeEntity_1<SessionTotalDetailsBreakdown>()
{
var Discounts:ArrayList<SessionTotalDetailsBreakdownDiscount> = ArrayList<SessionTotalDetailsBreakdownDiscount>()
var Taxes:ArrayList<SessionTotalDetailsBreakdownTax> = ArrayList<SessionTotalDetailsBreakdownTax>()
}
open class SessionTotalDetailsBreakdownDiscount : StripeEntity_1<SessionTotalDetailsBreakdownDiscount>()
{
var Amount:Long? = null
var Discount:Discount? = null
}
open class SessionTotalDetailsBreakdownTax : StripeEntity_1<SessionTotalDetailsBreakdownTax>()
{
var Amount:Long? = null
var Rate:TaxRate? = null
var TaxabilityReason:String? = null
var TaxableAmount:Long? = null
}
open class PaymentIntent : StripeEntity_1<PaymentIntent>(), IHasId, IHasMetadata, IHasObject
{
var Id:String? = null
var Object:String? = null
var Amount:Long? = null
var AmountCapturable:Long? = null
var AmountDetails:PaymentIntentAmountDetails? = null
var AmountReceived:Long? = null
var ApplicationFeeAmount:Long? = null
var AutomaticPaymentMethods:PaymentIntentAutomaticPaymentMethods? = null
var CanceledAt:Date? = null
var CancellationReason:String? = null
var CaptureMethod:String? = null
var ClientSecret:String? = null
var ConfirmationMethod:String? = null
var Created:Date? = null
var Currency:String? = null
var Description:String? = null
var LastPaymentError:StripeError? = null
var Livemode:Boolean? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var NextAction:PaymentIntentNextAction? = null
var PaymentMethodConfigurationDetails:PaymentIntentPaymentMethodConfigurationDetails? = null
var PaymentMethodOptions:PaymentIntentPaymentMethodOptions? = null
var PaymentMethodTypes:ArrayList<String> = ArrayList<String>()
var Processing:PaymentIntentProcessing? = null
var ReceiptEmail:String? = null
var SetupFutureUsage:String? = null
var Shipping:Shipping? = null
var StatementDescriptor:String? = null
var StatementDescriptorSuffix:String? = null
var Status:String? = null
var TransferData:PaymentIntentTransferData? = null
var TransferGroup:String? = null
}
open class PaymentIntentAmountDetails : StripeEntity_1<PaymentIntentAmountDetails>()
{
var Tip:PaymentIntentAmountDetailsTip? = null
}
open class PaymentIntentAmountDetailsTip : StripeEntity_1<PaymentIntentAmountDetailsTip>()
{
var Amount:Long? = null
}
open class PaymentIntentAutomaticPaymentMethods : StripeEntity_1<PaymentIntentAutomaticPaymentMethods>()
{
var AllowRedirects:String? = null
var Enabled:Boolean? = null
}
open class StripeError : StripeEntity_1<StripeError>()
{
var Charge:String? = null
var Code:String? = null
var DeclineCode:String? = null
var DocUrl:String? = null
var Message:String? = null
var Param:String? = null
var PaymentIntent:PaymentIntent? = null
var PaymentMethod:PaymentMethod? = null
var PaymentMethodType:String? = null
var RequestLogUrl:String? = null
var SetupIntent:SetupIntent? = null
var Source:IPaymentSource? = null
var Type:String? = null
var Error:String? = null
var ErrorDescription:String? = null
}
open class PaymentMethod : StripeEntity_1<PaymentMethod>(), IHasId, IHasMetadata, IHasObject
{
var Id:String? = null
var Object:String? = null
var AcssDebit:PaymentMethodAcssDebit? = null
var Affirm:PaymentMethodAffirm? = null
var AfterpayClearpay:PaymentMethodAfterpayClearpay? = null
var Alipay:PaymentMethodAlipay? = null
var AllowRedisplay:String? = null
var AmazonPay:PaymentMethodAmazonPay? = null
var AuBecsDebit:PaymentMethodAuBecsDebit? = null
var BacsDebit:PaymentMethodBacsDebit? = null
var Bancontact:PaymentMethodBancontact? = null
var BillingDetails:PaymentMethodBillingDetails? = null
var Blik:PaymentMethodBlik? = null
var Boleto:PaymentMethodBoleto? = null
var Card:PaymentMethodCard? = null
var CardPresent:PaymentMethodCardPresent? = null
var Cashapp:PaymentMethodCashapp? = null
var Created:Date? = null
var CustomerBalance:PaymentMethodCustomerBalance? = null
var Eps:PaymentMethodEps? = null
var Fpx:PaymentMethodFpx? = null
var Giropay:PaymentMethodGiropay? = null
var Grabpay:PaymentMethodGrabpay? = null
var Ideal:PaymentMethodIdeal? = null
var InteracPresent:PaymentMethodInteracPresent? = null
var Klarna:PaymentMethodKlarna? = null
var Konbini:PaymentMethodKonbini? = null
var Link:PaymentMethodLink? = null
var Livemode:Boolean? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var Mobilepay:PaymentMethodMobilepay? = null
var Multibanco:PaymentMethodMultibanco? = null
var Oxxo:PaymentMethodOxxo? = null
var P24:PaymentMethodP24? = null
var Paynow:PaymentMethodPaynow? = null
var Paypal:PaymentMethodPaypal? = null
var Pix:PaymentMethodPix? = null
var Promptpay:PaymentMethodPromptpay? = null
var RadarOptions:PaymentMethodRadarOptions? = null
var RevolutPay:PaymentMethodRevolutPay? = null
var SepaDebit:PaymentMethodSepaDebit? = null
var Sofort:PaymentMethodSofort? = null
var Swish:PaymentMethodSwish? = null
var Twint:PaymentMethodTwint? = null
var Type:String? = null
var UsBankAccount:PaymentMethodUsBankAccount? = null
var WechatPay:PaymentMethodWechatPay? = null
var Zip:PaymentMethodZip? = null
}
open class PaymentMethodAcssDebit : StripeEntity_1<PaymentMethodAcssDebit>()
{
var BankName:String? = null
var Fingerprint:String? = null
var InstitutionNumber:String? = null
var Last4:String? = null
var TransitNumber:String? = null
}
open class PaymentMethodAffirm : StripeEntity_1<PaymentMethodAffirm>()
{
}
open class PaymentMethodAfterpayClearpay : StripeEntity_1<PaymentMethodAfterpayClearpay>()
{
}
open class PaymentMethodAlipay : StripeEntity_1<PaymentMethodAlipay>()
{
}
open class PaymentMethodAmazonPay : StripeEntity_1<PaymentMethodAmazonPay>()
{
}
open class PaymentMethodAuBecsDebit : StripeEntity_1<PaymentMethodAuBecsDebit>()
{
var BsbNumber:String? = null
var Fingerprint:String? = null
var Last4:String? = null
}
open class PaymentMethodBacsDebit : StripeEntity_1<PaymentMethodBacsDebit>()
{
var Fingerprint:String? = null
var Last4:String? = null
var SortCode:String? = null
}
open class PaymentMethodBancontact : StripeEntity_1<PaymentMethodBancontact>()
{
}
open class PaymentMethodBillingDetails : StripeEntity_1<PaymentMethodBillingDetails>()
{
var Address:Address? = null
var Email:String? = null
var Name:String? = null
var Phone:String? = null
}
open class PaymentMethodBlik : StripeEntity_1<PaymentMethodBlik>()
{
}
open class PaymentMethodBoleto : StripeEntity_1<PaymentMethodBoleto>()
{
var TaxId:String? = null
}
open class PaymentMethodCard : StripeEntity_1<PaymentMethodCard>()
{
var Brand:String? = null
var Checks:PaymentMethodCardChecks? = null
var Country:String? = null
var Description:String? = null
var DisplayBrand:String? = null
var ExpMonth:Long? = null
var ExpYear:Long? = null
var Fingerprint:String? = null
var Funding:String? = null
var GeneratedFrom:PaymentMethodCardGeneratedFrom? = null
var Iin:String? = null
var Issuer:String? = null
var Last4:String? = null
var Networks:PaymentMethodCardNetworks? = null
var ThreeDSecureUsage:PaymentMethodCardThreeDSecureUsage? = null
var Wallet:PaymentMethodCardWallet? = null
}
open class PaymentMethodCardChecks : StripeEntity_1<PaymentMethodCardChecks>()
{
var AddressLine1Check:String? = null
var AddressPostalCodeCheck:String? = null
var CvcCheck:String? = null
}
open class PaymentMethodCardGeneratedFrom : StripeEntity_1<PaymentMethodCardGeneratedFrom>()
{
var Charge:String? = null
var PaymentMethodDetails:PaymentMethodCardGeneratedFromPaymentMethodDetails? = null
}
open class PaymentMethodCardGeneratedFromPaymentMethodDetails : StripeEntity_1<PaymentMethodCardGeneratedFromPaymentMethodDetails>()
{
var CardPresent:PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent? = null
var Type:String? = null
}
open class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent : StripeEntity_1<PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent>()
{
var AmountAuthorized:Long? = null
var Brand:String? = null
var BrandProduct:String? = null
var CaptureBefore:Date? = null
var CardholderName:String? = null
var Country:String? = null
var Description:String? = null
var EmvAuthData:String? = null
var ExpMonth:Long? = null
var ExpYear:Long? = null
var Fingerprint:String? = null
var Funding:String? = null
var GeneratedCard:String? = null
var Iin:String? = null
var IncrementalAuthorizationSupported:Boolean? = null
var Issuer:String? = null
var Last4:String? = null
var Network:String? = null
var NetworkTransactionId:String? = null
var Offline:PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline? = null
var OvercaptureSupported:Boolean? = null
var PreferredLocales:ArrayList<String> = ArrayList<String>()
var ReadMethod:String? = null
var Receipt:PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt? = null
var Wallet:PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet? = null
}
open class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline : StripeEntity_1<PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline>()
{
var StoredAt:Date? = null
var Type:String? = null
}
open class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt : StripeEntity_1<PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt>()
{
var AccountType:String? = null
var ApplicationCryptogram:String? = null
var ApplicationPreferredName:String? = null
var AuthorizationCode:String? = null
var AuthorizationResponseCode:String? = null
var CardholderVerificationMethod:String? = null
var DedicatedFileName:String? = null
var TerminalVerificationResults:String? = null
var TransactionStatusInformation:String? = null
}
open class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet : StripeEntity_1<PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet>()
{
var Type:String? = null
}
open class PaymentMethodCardNetworks : StripeEntity_1<PaymentMethodCardNetworks>()
{
var Available:ArrayList<String> = ArrayList<String>()
var Preferred:String? = null
}
open class PaymentMethodCardThreeDSecureUsage : StripeEntity_1<PaymentMethodCardThreeDSecureUsage>()
{
var Supported:Boolean? = null
}
open class PaymentMethodCardWallet : StripeEntity_1<PaymentMethodCardWallet>()
{
var AmexExpressCheckout:PaymentMethodCardWalletAmexExpressCheckout? = null
var ApplePay:PaymentMethodCardWalletApplePay? = null
var DynamicLast4:String? = null
var GooglePay:PaymentMethodCardWalletGooglePay? = null
var Link:PaymentMethodCardWalletLink? = null
var Masterpass:PaymentMethodCardWalletMasterpass? = null
var SamsungPay:PaymentMethodCardWalletSamsungPay? = null
var Type:String? = null
var VisaCheckout:PaymentMethodCardWalletVisaCheckout? = null
}
open class PaymentMethodCardWalletAmexExpressCheckout : StripeEntity_1<PaymentMethodCardWalletAmexExpressCheckout>()
{
}
open class PaymentMethodCardWalletApplePay : StripeEntity_1<PaymentMethodCardWalletApplePay>()
{
}
open class PaymentMethodCardWalletGooglePay : StripeEntity_1<PaymentMethodCardWalletGooglePay>()
{
}
open class PaymentMethodCardWalletLink : StripeEntity_1<PaymentMethodCardWalletLink>()
{
}
open class PaymentMethodCardWalletMasterpass : StripeEntity_1<PaymentMethodCardWalletMasterpass>()
{
var BillingAddress:Address? = null
var Email:String? = null
var Name:String? = null
var ShippingAddress:Address? = null
}
open class PaymentMethodCardWalletSamsungPay : StripeEntity_1<PaymentMethodCardWalletSamsungPay>()
{
}
open class PaymentMethodCardWalletVisaCheckout : StripeEntity_1<PaymentMethodCardWalletVisaCheckout>()
{
var BillingAddress:Address? = null
var Email:String? = null
var Name:String? = null
var ShippingAddress:Address? = null
}
open class PaymentMethodCardPresent : StripeEntity_1<PaymentMethodCardPresent>()
{
var Brand:String? = null
var BrandProduct:String? = null
var CardholderName:String? = null
var Country:String? = null
var Description:String? = null
var ExpMonth:Long? = null
var ExpYear:Long? = null
var Fingerprint:String? = null
var Funding:String? = null
var Iin:String? = null
var Issuer:String? = null
var Last4:String? = null
var Networks:PaymentMethodCardPresentNetworks? = null
var Offline:PaymentMethodCardPresentOffline? = null
var PreferredLocales:ArrayList<String> = ArrayList<String>()
var ReadMethod:String? = null
var Wallet:PaymentMethodCardPresentWallet? = null
}
open class PaymentMethodCardPresentNetworks : StripeEntity_1<PaymentMethodCardPresentNetworks>()
{
var Available:ArrayList<String> = ArrayList<String>()
var Preferred:String? = null
}
open class PaymentMethodCardPresentOffline : StripeEntity_1<PaymentMethodCardPresentOffline>()
{
var StoredAt:Date? = null
var Type:String? = null
}
open class PaymentMethodCardPresentWallet : StripeEntity_1<PaymentMethodCardPresentWallet>()
{
var Type:String? = null
}
open class PaymentMethodCashapp : StripeEntity_1<PaymentMethodCashapp>()
{
var BuyerId:String? = null
var Cashtag:String? = null
}
open class PaymentMethodCustomerBalance : StripeEntity_1<PaymentMethodCustomerBalance>()
{
}
open class PaymentMethodEps : StripeEntity_1<PaymentMethodEps>()
{
var Bank:String? = null
}
open class PaymentMethodFpx : StripeEntity_1<PaymentMethodFpx>()
{
var AccountHolderType:String? = null
var Bank:String? = null
}
open class PaymentMethodGiropay : StripeEntity_1<PaymentMethodGiropay>()
{
}
open class PaymentMethodGrabpay : StripeEntity_1<PaymentMethodGrabpay>()
{
}
open class PaymentMethodIdeal : StripeEntity_1<PaymentMethodIdeal>()
{
var Bank:String? = null
var Bic:String? = null
}
open class PaymentMethodInteracPresent : StripeEntity_1<PaymentMethodInteracPresent>()
{
var Brand:String? = null
var CardholderName:String? = null
var Country:String? = null
var Description:String? = null
var ExpMonth:Long? = null
var ExpYear:Long? = null
var Fingerprint:String? = null
var Funding:String? = null
var Iin:String? = null
var Issuer:String? = null
var Last4:String? = null
var Networks:PaymentMethodInteracPresentNetworks? = null
var PreferredLocales:ArrayList<String> = ArrayList<String>()
var ReadMethod:String? = null
}
open class PaymentMethodInteracPresentNetworks : StripeEntity_1<PaymentMethodInteracPresentNetworks>()
{
var Available:ArrayList<String> = ArrayList<String>()
var Preferred:String? = null
}
open class PaymentMethodKlarna : StripeEntity_1<PaymentMethodKlarna>()
{
var Dob:PaymentMethodKlarnaDob? = null
}
open class PaymentMethodKlarnaDob : StripeEntity_1<PaymentMethodKlarnaDob>()
{
var Day:Long? = null
var Month:Long? = null
var Year:Long? = null
}
open class PaymentMethodKonbini : StripeEntity_1<PaymentMethodKonbini>()
{
}
open class PaymentMethodLink : StripeEntity_1<PaymentMethodLink>()
{
var Email:String? = null
var PersistentToken:String? = null
}
open class PaymentMethodMobilepay : StripeEntity_1<PaymentMethodMobilepay>()
{
}
open class PaymentMethodMultibanco : StripeEntity_1<PaymentMethodMultibanco>()
{
}
open class PaymentMethodOxxo : StripeEntity_1<PaymentMethodOxxo>()
{
}
open class PaymentMethodP24 : StripeEntity_1<PaymentMethodP24>()
{
var Bank:String? = null
}
open class PaymentMethodPaynow : StripeEntity_1<PaymentMethodPaynow>()
{
}
open class PaymentMethodPaypal : StripeEntity_1<PaymentMethodPaypal>()
{
var PayerEmail:String? = null
var PayerId:String? = null
}
open class PaymentMethodPix : StripeEntity_1<PaymentMethodPix>()
{
}
open class PaymentMethodPromptpay : StripeEntity_1<PaymentMethodPromptpay>()
{
}
open class PaymentMethodRadarOptions : StripeEntity_1<PaymentMethodRadarOptions>()
{
var Session:String? = null
}
open class PaymentMethodRevolutPay : StripeEntity_1<PaymentMethodRevolutPay>()
{
}
open class PaymentMethodSepaDebit : StripeEntity_1<PaymentMethodSepaDebit>()
{
var BankCode:String? = null
var BranchCode:String? = null
var Country:String? = null
var Fingerprint:String? = null
var GeneratedFrom:PaymentMethodSepaDebitGeneratedFrom? = null
var Last4:String? = null
}
open class PaymentMethodSepaDebitGeneratedFrom : StripeEntity_1<PaymentMethodSepaDebitGeneratedFrom>()
{
}
open class PaymentMethodSofort : StripeEntity_1<PaymentMethodSofort>()
{
var Country:String? = null
}
open class PaymentMethodSwish : StripeEntity_1<PaymentMethodSwish>()
{
}
open class PaymentMethodTwint : StripeEntity_1<PaymentMethodTwint>()
{
}
open class PaymentMethodUsBankAccount : StripeEntity_1<PaymentMethodUsBankAccount>()
{
var AccountHolderType:String? = null
var AccountType:String? = null
var BankName:String? = null
var FinancialConnectionsAccount:String? = null
var Fingerprint:String? = null
var Last4:String? = null
var Networks:PaymentMethodUsBankAccountNetworks? = null
var RoutingNumber:String? = null
var StatusDetails:PaymentMethodUsBankAccountStatusDetails? = null
}
open class PaymentMethodUsBankAccountNetworks : StripeEntity_1<PaymentMethodUsBankAccountNetworks>()
{
var Preferred:String? = null
var Supported:ArrayList<String> = ArrayList<String>()
}
open class PaymentMethodUsBankAccountStatusDetails : StripeEntity_1<PaymentMethodUsBankAccountStatusDetails>()
{
var Blocked:PaymentMethodUsBankAccountStatusDetailsBlocked? = null
}
open class PaymentMethodUsBankAccountStatusDetailsBlocked : StripeEntity_1<PaymentMethodUsBankAccountStatusDetailsBlocked>()
{
var NetworkCode:String? = null
var Reason:String? = null
}
open class PaymentMethodWechatPay : StripeEntity_1<PaymentMethodWechatPay>()
{
}
open class PaymentMethodZip : StripeEntity_1<PaymentMethodZip>()
{
}
open class SetupIntent : StripeEntity_1<SetupIntent>(), IHasId, IHasMetadata, IHasObject
{
var Id:String? = null
var Object:String? = null
var AttachToSelf:Boolean? = null
var AutomaticPaymentMethods:SetupIntentAutomaticPaymentMethods? = null
var CancellationReason:String? = null
var ClientSecret:String? = null
var Created:Date? = null
var Description:String? = null
var FlowDirections:ArrayList<String> = ArrayList<String>()
var LastSetupError:StripeError? = null
var Livemode:Boolean? = null
var Metadata:HashMap<String,String> = HashMap<String,String>()
var NextAction:SetupIntentNextAction? = null
var PaymentMethodConfigurationDetails:SetupIntentPaymentMethodConfigurationDetails? = null
var PaymentMethodOptions:SetupIntentPaymentMethodOptions? = null
var PaymentMethodTypes:ArrayList<String> = ArrayList<String>()
var Status:String? = null
var Usage:String? = null
}
open class SetupIntentAutomaticPaymentMethods : StripeEntity_1<SetupIntentAutomaticPaymentMethods>()
{
var AllowRedirects:String? = null
var Enabled:Boolean? = null
}
open class SetupIntentNextAction : StripeEntity_1<SetupIntentNextAction>()
{
var CashappHandleRedirectOrDisplayQrCode:SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode? = null
var RedirectToUrl:SetupIntentNextActionRedirectToUrl? = null
var Type:String? = null
var UseStripeSdk:SetupIntentNextActionUseStripeSdk? = null
var VerifyWithMicrodeposits:SetupIntentNextActionVerifyWithMicrodeposits? = null
}
open class SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode : StripeEntity_1<SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode>()
{
var HostedInstructionsUrl:String? = null
var MobileAuthUrl:String? = null
var QrCode:SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode? = null
}
open class SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode : StripeEntity_1<SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode>()
{
var ExpiresAt:Date? = null
var ImageUrlPng:String? = null
var ImageUrlSvg:String? = null
}
open class SetupIntentNextActionRedirectToUrl : StripeEntity_1<SetupIntentNextActionRedirectToUrl>()
{
var ReturnUrl:String? = null
var Url:String? = null
}
open class SetupIntentNextActionUseStripeSdk : StripeEntity_1<SetupIntentNextActionUseStripeSdk>()
{
}
open class SetupIntentNextActionVerifyWithMicrodeposits : StripeEntity_1<SetupIntentNextActionVerifyWithMicrodeposits>()
{
var ArrivalDate:Date? = null
var HostedVerificationUrl:String? = null
var MicrodepositType:String? = null
}
open class SetupIntentPaymentMethodConfigurationDetails : StripeEntity_1<SetupIntentPaymentMethodConfigurationDetails>(), IHasId
{
var Id:String? = null
var Parent:String? = null
}
open class SetupIntentPaymentMethodOptions : StripeEntity_1<SetupIntentPaymentMethodOptions>()
{
var AcssDebit:SetupIntentPaymentMethodOptionsAcssDebit? = null
var AmazonPay:SetupIntentPaymentMethodOptionsAmazonPay? = null
var BacsDebit:SetupIntentPaymentMethodOptionsBacsDebit? = null
var Card:SetupIntentPaymentMethodOptionsCard? = null
var CardPresent:SetupIntentPaymentMethodOptionsCardPresent? = null
var Link:SetupIntentPaymentMethodOptionsLink? = null
var Paypal:SetupIntentPaymentMethodOptionsPaypal? = null
var SepaDebit:SetupIntentPaymentMethodOptionsSepaDebit? = null
var UsBankAccount:SetupIntentPaymentMethodOptionsUsBankAccount? = null
}
open class SetupIntentPaymentMethodOptionsAcssDebit : StripeEntity_1<SetupIntentPaymentMethodOptionsAcssDebit>()
{
var Currency:String? = null
var MandateOptions:SetupIntentPaymentMethodOptionsAcssDebitMandateOptions? = null
var VerificationMethod:String? = null
}
open class SetupIntentPaymentMethodOptionsAcssDebitMandateOptions : StripeEntity_1<SetupIntentPaymentMethodOptionsAcssDebitMandateOptions>()
{
var CustomMandateUrl:String? = null
var DefaultFor:ArrayList<String> = ArrayList<String>()
var IntervalDescription:String? = null
var PaymentSchedule:String? = null
var TransactionType:String? = null
}
open class SetupIntentPaymentMethodOptionsAmazonPay : StripeEntity_1<SetupIntentPaymentMethodOptionsAmazonPay>()
{
}
open class SetupIntentPaymentMethodOptionsBacsDebit : StripeEntity_1<SetupIntentPaymentMethodOptionsBacsDebit>()
{
var MandateOptions:SetupIntentPaymentMethodOptionsBacsDebitMandateOptions? = null
}
open class SetupIntentPaymentMethodOptionsBacsDebitMandateOptions : StripeEntity_1<SetupIntentPaymentMethodOptionsBacsDebitMandateOptions>()
{
}
open class SetupIntentPaymentMethodOptionsCard : StripeEntity_1<SetupIntentPaymentMethodOptionsCard>()
{
var MandateOptions:SetupIntentPaymentMethodOptionsCardMandateOptions? = null
var Network:String? = null
var RequestThreeDSecure:String? = null
}
open class SetupIntentPaymentMethodOptionsCardMandateOptions : StripeEntity_1<SetupIntentPaymentMethodOptionsCardMandateOptions>()
{
var Amount:Long? = null
var AmountType:String? = null
var Currency:String? = null
var Description:String? = null
var EndDate:Date? = null
var Interval:String? = null
var IntervalCount:Long? = null
var Reference:String? = null
var StartDate:Date? = null
var SupportedTypes:ArrayList<String> = ArrayList<String>()
}
open class SetupIntentPaymentMethodOptionsCardPresent : StripeEntity_1<SetupIntentPaymentMethodOptionsCardPresent>()
{
}
open class SetupIntentPaymentMethodOptionsLink : StripeEntity_1<SetupIntentPaymentMethodOptionsLink>()
{
var PersistentToken:String? = null
}
open class SetupIntentPaymentMethodOptionsPaypal : StripeEntity_1<SetupIntentPaymentMethodOptionsPaypal>()
{
var BillingAgreementId:String? = null
}
open class SetupIntentPaymentMethodOptionsSepaDebit : StripeEntity_1<SetupIntentPaymentMethodOptionsSepaDebit>()
{
var MandateOptions:SetupIntentPaymentMethodOptionsSepaDebitMandateOptions? = null
}
open class SetupIntentPaymentMethodOptionsSepaDebitMandateOptions : StripeEntity_1<SetupIntentPaymentMethodOptionsSepaDebitMandateOptions>()
{
}
open class SetupIntentPaymentMethodOptionsUsBankAccount : StripeEntity_1<SetupIntentPaymentMethodOptionsUsBankAccount>()
{
var FinancialConnections:SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections? = null
var MandateOptions:SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions? = null
var VerificationMethod:String? = null
}
open class SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections : StripeEntity_1<SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections>()
{
var Filters:SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters? = null
var Permissions:ArrayList<String> = ArrayList<String>()
var Prefetch:ArrayList<String> = ArrayList<String>()
var ReturnUrl:String? = null
}
open class SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters : StripeEntity_1<SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters>()
{
var AccountSubcategories:ArrayList<String> = ArrayList<String>()
}
open class SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions : StripeEntity_1<SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions>()
{
var CollectionMethod:String? = null
}
open interface IPaymentSource : IStripeEntity, IHasId, IHasObject
{
}
open class PaymentIntentNextAction : StripeEntity_1<PaymentIntentNextAction>()
{
var AlipayHandleRedirect:PaymentIntentNextActionAlipayHandleRedirect? = null
var BoletoDisplayDetails:PaymentIntentNextActionBoletoDisplayDetails? = null
var CardAwaitNotification:PaymentIntentNextActionCardAwaitNotification? = null
var CashappHandleRedirectOrDisplayQrCode:PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode? = null
var DisplayBankTransferInstructions:PaymentIntentNextActionDisplayBankTransferInstructions? = null
var KonbiniDisplayDetails:PaymentIntentNextActionKonbiniDisplayDetails? = null
var MultibancoDisplayDetails:PaymentIntentNextActionMultibancoDisplayDetails? = null
var OxxoDisplayDetails:PaymentIntentNextActionOxxoDisplayDetails? = null
var PaynowDisplayQrCode:PaymentIntentNextActionPaynowDisplayQrCode? = null
var PixDisplayQrCode:PaymentIntentNextActionPixDisplayQrCode? = null
var PromptpayDisplayQrCode:PaymentIntentNextActionPromptpayDisplayQrCode? = null
var RedirectToUrl:PaymentIntentNextActionRedirectToUrl? = null
var SwishHandleRedirectOrDisplayQrCode:PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode? = null
var Type:String? = null
var UseStripeSdk:PaymentIntentNextActionUseStripeSdk? = null
var VerifyWithMicrodeposits:PaymentIntentNextActionVerifyWithMicrodeposits? = null
var WechatPayDisplayQrCode:PaymentIntentNextActionWechatPayDisplayQrCode? = null
var WechatPayRedirectToAndroidApp:PaymentIntentNextActionWechatPayRedirectToAndroidApp? = null
var WechatPayRedirectToIosApp:PaymentIntentNextActionWechatPayRedirectToIosApp? = null
}
open class PaymentIntentNextActionAlipayHandleRedirect : StripeEntity_1<PaymentIntentNextActionAlipayHandleRedirect>()
{
var NativeData:String? = null
var NativeUrl:String? = null
var ReturnUrl:String? = null
var Url:String? = null
}
open class PaymentIntentNextActionBoletoDisplayDetails : StripeEntity_1<PaymentIntentNextActionBoletoDisplayDetails>()
{
var ExpiresAt:Date? = null
var HostedVoucherUrl:String? = null
var Number:String? = null
var Pdf:String? = null
}
open class PaymentIntentNextActionCardAwaitNotification : StripeEntity_1<PaymentIntentNextActionCardAwaitNotification>()
{
var ChargeAttemptAt:Date? = null
var CustomerApprovalRequired:Boolean? = null
}
open class PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode : StripeEntity_1<PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode>()
{
var HostedInstructionsUrl:String? = null
var MobileAuthUrl:String? = null
var QrCode:PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode? = null
}
open class PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode : StripeEntity_1<PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode>()
{
var ExpiresAt:Date? = null
var ImageUrlPng:String? = null
var ImageUrlSvg:String? = null
}
open class PaymentIntentNextActionDisplayBankTransferInstructions : StripeEntity_1<PaymentIntentNextActionDisplayBankTransferInstructions>()
{
var AmountRemaining:Long? = null
var Currency:String? = null
var FinancialAddresses:ArrayList<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress> = ArrayList<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress>()
var HostedInstructionsUrl:String? = null
var Reference:String? = null
var Type:String? = null
}
open class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress : StripeEntity_1<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress>()
{
var Aba:PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba? = null
var Iban:PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban? = null
var SortCode:PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode? = null
var Spei:PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei? = null
var SupportedNetworks:ArrayList<String> = ArrayList<String>()
var Swift:PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift? = null
var Type:String? = null
var Zengin:PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin? = null
}
open class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba : StripeEntity_1<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba>()
{
var AccountNumber:String? = null
var BankName:String? = null
var RoutingNumber:String? = null
}
open class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban : StripeEntity_1<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban>()
{
var AccountHolderName:String? = null
var Bic:String? = null
var Country:String? = null
var Iban:String? = null
}
open class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode : StripeEntity_1<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode>()
{
var AccountHolderName:String? = null
var AccountNumber:String? = null
var SortCode:String? = null
}
open class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei : StripeEntity_1<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei>()
{
var BankCode:String? = null
var BankName:String? = null
var Clabe:String? = null
}
open class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift : StripeEntity_1<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift>()
{
var AccountNumber:String? = null
var BankName:String? = null
var SwiftCode:String? = null
}
open class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin : StripeEntity_1<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin>()
{
var AccountHolderName:String? = null
var AccountNumber:String? = null
var AccountType:String? = null
var BankCode:String? = null
var BankName:String? = null
var BranchCode:String? = null
var BranchName:String? = null
}
open class PaymentIntentNextActionKonbiniDisplayDetails : StripeEntity_1<PaymentIntentNextActionKonbiniDisplayDetails>()
{
var ExpiresAt:Date? = null
var HostedVoucherUrl:String? = null
var Stores:PaymentIntentNextActionKonbiniDisplayDetailsStores? = null
}
open class PaymentIntentNextActionKonbiniDisplayDetailsStores : StripeEntity_1<PaymentIntentNextActionKonbiniDisplayDetailsStores>()
{
var Familymart:PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart? = null
var Lawson:PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson? = null
var Ministop:PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop? = null
var Seicomart:PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart? = null
}
open class PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart : StripeEntity_1<PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart>()
{
var ConfirmationNumber:String? = null
var PaymentCode:String? = null
}
open class PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson : StripeEntity_1<PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson>()
{
var ConfirmationNumber:String? = null
var PaymentCode:String? = null
}
open class PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop : StripeEntity_1<PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop>()
{
var ConfirmationNumber:String? = null
var PaymentCode:String? = null
}
open class PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart : StripeEntity_1<PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart>()
{
var ConfirmationNumber:String? = null
var PaymentCode:String? = null
}
open class PaymentIntentNextActionMultibancoDisplayDetails : StripeEntity_1<PaymentIntentNextActionMultibancoDisplayDetails>()
{
var Entity:String? = null
var ExpiresAt:Date? = null
var HostedVoucherUrl:String? = null
var Reference:String? = null
}
open class PaymentIntentNextActionOxxoDisplayDetails : StripeEntity_1<PaymentIntentNextActionOxxoDisplayDetails>()
{
var ExpiresAfter:Date? = null
var HostedVoucherUrl:String? = null
var Number:String? = null
}
open class PaymentIntentNextActionPaynowDisplayQrCode : StripeEntity_1<PaymentIntentNextActionPaynowDisplayQrCode>()
{
var Data:String? = null
var HostedInstructionsUrl:String? = null
var ImageUrlPng:String? = null
var ImageUrlSvg:String? = null
}
open class PaymentIntentNextActionPixDisplayQrCode : StripeEntity_1<PaymentIntentNextActionPixDisplayQrCode>()
{
var Data:String? = null
var ExpiresAt:Date? = null
var HostedInstructionsUrl:String? = null
var ImageUrlPng:String? = null
var ImageUrlSvg:String? = null
}
open class PaymentIntentNextActionPromptpayDisplayQrCode : StripeEntity_1<PaymentIntentNextActionPromptpayDisplayQrCode>()
{
var Data:String? = null
var HostedInstructionsUrl:String? = null
var ImageUrlPng:String? = null
var ImageUrlSvg:String? = null
}
open class PaymentIntentNextActionRedirectToUrl : StripeEntity_1<PaymentIntentNextActionRedirectToUrl>()
{
var ReturnUrl:String? = null
var Url:String? = null
}
open class PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode : StripeEntity_1<PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode>()
{
var HostedInstructionsUrl:String? = null
var MobileAuthUrl:String? = null
var QrCode:PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode? = null
}
open class PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode : StripeEntity_1<PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode>()
{
var Data:String? = null
var ImageUrlPng:String? = null
var ImageUrlSvg:String? = null
}
open class PaymentIntentNextActionUseStripeSdk : StripeEntity_1<PaymentIntentNextActionUseStripeSdk>()
{
}
open class PaymentIntentNextActionVerifyWithMicrodeposits : StripeEntity_1<PaymentIntentNextActionVerifyWithMicrodeposits>()
{
var ArrivalDate:Date? = null
var HostedVerificationUrl:String? = null
var MicrodepositType:String? = null
}
open class PaymentIntentNextActionWechatPayDisplayQrCode : StripeEntity_1<PaymentIntentNextActionWechatPayDisplayQrCode>()
{
var Data:String? = null
var HostedInstructionsUrl:String? = null
var ImageDataUrl:String? = null
var ImageUrlPng:String? = null
var ImageUrlSvg:String? = null
}
open class PaymentIntentNextActionWechatPayRedirectToAndroidApp : StripeEntity_1<PaymentIntentNextActionWechatPayRedirectToAndroidApp>()
{
var AppId:String? = null
var NonceStr:String? = null
var Package:String? = null
var PartnerId:String? = null
var PrepayId:String? = null
var Sign:String? = null
var Timestamp:String? = null
}
open class PaymentIntentNextActionWechatPayRedirectToIosApp : StripeEntity_1<PaymentIntentNextActionWechatPayRedirectToIosApp>()
{
var NativeUrl:String? = null
}
open class PaymentIntentPaymentMethodConfigurationDetails : StripeEntity_1<PaymentIntentPaymentMethodConfigurationDetails>(), IHasId
{
var Id:String? = null
var Parent:String? = null
}
open class PaymentIntentPaymentMethodOptions : StripeEntity_1<PaymentIntentPaymentMethodOptions>()
{
var AcssDebit:PaymentIntentPaymentMethodOptionsAcssDebit? = null
var Affirm:PaymentIntentPaymentMethodOptionsAffirm? = null
var AfterpayClearpay:PaymentIntentPaymentMethodOptionsAfterpayClearpay? = null
var Alipay:PaymentIntentPaymentMethodOptionsAlipay? = null
var AmazonPay:PaymentIntentPaymentMethodOptionsAmazonPay? = null
var AuBecsDebit:PaymentIntentPaymentMethodOptionsAuBecsDebit? = null
var BacsDebit:PaymentIntentPaymentMethodOptionsBacsDebit? = null
var Bancontact:PaymentIntentPaymentMethodOptionsBancontact? = null
var Blik:PaymentIntentPaymentMethodOptionsBlik? = null
var Boleto:PaymentIntentPaymentMethodOptionsBoleto? = null
var Card:PaymentIntentPaymentMethodOptionsCard? = null
var CardPresent:PaymentIntentPaymentMethodOptionsCardPresent? = null
var Cashapp:PaymentIntentPaymentMethodOptionsCashapp? = null
var CustomerBalance:PaymentIntentPaymentMethodOptionsCustomerBalance? = null
var Eps:PaymentIntentPaymentMethodOptionsEps? = null
var Fpx:PaymentIntentPaymentMethodOptionsFpx? = null
var Giropay:PaymentIntentPaymentMethodOptionsGiropay? = null
var Grabpay:PaymentIntentPaymentMethodOptionsGrabpay? = null
var Ideal:PaymentIntentPaymentMethodOptionsIdeal? = null
var InteracPresent:PaymentIntentPaymentMethodOptionsInteracPresent? = null
var Klarna:PaymentIntentPaymentMethodOptionsKlarna? = null
var Konbini:PaymentIntentPaymentMethodOptionsKonbini? = null
var Link:PaymentIntentPaymentMethodOptionsLink? = null
var Mobilepay:PaymentIntentPaymentMethodOptionsMobilepay? = null
var Multibanco:PaymentIntentPaymentMethodOptionsMultibanco? = null
var Oxxo:PaymentIntentPaymentMethodOptionsOxxo? = null
var P24:PaymentIntentPaymentMethodOptionsP24? = null
var Paynow:PaymentIntentPaymentMethodOptionsPaynow? = null
var Paypal:PaymentIntentPaymentMethodOptionsPaypal? = null
var Pix:PaymentIntentPaymentMethodOptionsPix? = null
var Promptpay:PaymentIntentPaymentMethodOptionsPromptpay? = null
var RevolutPay:PaymentIntentPaymentMethodOptionsRevolutPay? = null
var SepaDebit:PaymentIntentPaymentMethodOptionsSepaDebit? = null
var Sofort:PaymentIntentPaymentMethodOptionsSofort? = null
var Swish:PaymentIntentPaymentMethodOptionsSwish? = null
var Twint:PaymentIntentPaymentMethodOptionsTwint? = null
var UsBankAccount:PaymentIntentPaymentMethodOptionsUsBankAccount? = null
var WechatPay:PaymentIntentPaymentMethodOptionsWechatPay? = null
var Zip:PaymentIntentPaymentMethodOptionsZip? = null
}
open class PaymentIntentPaymentMethodOptionsAcssDebit : StripeEntity_1<PaymentIntentPaymentMethodOptionsAcssDebit>()
{
var MandateOptions:PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions? = null
var SetupFutureUsage:String? = null
var VerificationMethod:String? = null
}
open class PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions : StripeEntity_1<PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions>()
{
var CustomMandateUrl:String? = null
var IntervalDescription:String? = null
var PaymentSchedule:String? = null
var TransactionType:String? = null
}
open class PaymentIntentPaymentMethodOptionsAffirm : StripeEntity_1<PaymentIntentPaymentMethodOptionsAffirm>()
{
var CaptureMethod:String? = null
var PreferredLocale:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsAfterpayClearpay : StripeEntity_1<PaymentIntentPaymentMethodOptionsAfterpayClearpay>()
{
var CaptureMethod:String? = null
var Reference:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsAlipay : StripeEntity_1<PaymentIntentPaymentMethodOptionsAlipay>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsAmazonPay : StripeEntity_1<PaymentIntentPaymentMethodOptionsAmazonPay>()
{
var CaptureMethod:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsAuBecsDebit : StripeEntity_1<PaymentIntentPaymentMethodOptionsAuBecsDebit>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsBacsDebit : StripeEntity_1<PaymentIntentPaymentMethodOptionsBacsDebit>()
{
var MandateOptions:PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions : StripeEntity_1<PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions>()
{
}
open class PaymentIntentPaymentMethodOptionsBancontact : StripeEntity_1<PaymentIntentPaymentMethodOptionsBancontact>()
{
var PreferredLanguage:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsBlik : StripeEntity_1<PaymentIntentPaymentMethodOptionsBlik>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsBoleto : StripeEntity_1<PaymentIntentPaymentMethodOptionsBoleto>()
{
var ExpiresAfterDays:Long? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsCard : StripeEntity_1<PaymentIntentPaymentMethodOptionsCard>()
{
var CaptureMethod:String? = null
var Installments:PaymentIntentPaymentMethodOptionsCardInstallments? = null
var MandateOptions:PaymentIntentPaymentMethodOptionsCardMandateOptions? = null
var Network:String? = null
var RequestExtendedAuthorization:String? = null
var RequestIncrementalAuthorization:String? = null
var RequestMulticapture:String? = null
var RequestOvercapture:String? = null
var RequestThreeDSecure:String? = null
var RequireCvcRecollection:Boolean? = null
var SetupFutureUsage:String? = null
var StatementDescriptorSuffixKana:String? = null
var StatementDescriptorSuffixKanji:String? = null
}
open class PaymentIntentPaymentMethodOptionsCardInstallments : StripeEntity_1<PaymentIntentPaymentMethodOptionsCardInstallments>()
{
var AvailablePlans:ArrayList<PaymentIntentPaymentMethodOptionsCardInstallmentsPlan> = ArrayList<PaymentIntentPaymentMethodOptionsCardInstallmentsPlan>()
var Enabled:Boolean? = null
var Plan:PaymentIntentPaymentMethodOptionsCardInstallmentsPlan? = null
}
open class PaymentIntentPaymentMethodOptionsCardInstallmentsPlan : StripeEntity_1<PaymentIntentPaymentMethodOptionsCardInstallmentsPlan>()
{
var Count:Long? = null
var Interval:String? = null
var Type:String? = null
}
open class PaymentIntentPaymentMethodOptionsCardMandateOptions : StripeEntity_1<PaymentIntentPaymentMethodOptionsCardMandateOptions>()
{
var Amount:Long? = null
var AmountType:String? = null
var Description:String? = null
var EndDate:Date? = null
var Interval:String? = null
var IntervalCount:Long? = null
var Reference:String? = null
var StartDate:Date? = null
var SupportedTypes:ArrayList<String> = ArrayList<String>()
}
open class PaymentIntentPaymentMethodOptionsCardPresent : StripeEntity_1<PaymentIntentPaymentMethodOptionsCardPresent>()
{
var RequestExtendedAuthorization:Boolean? = null
var RequestIncrementalAuthorizationSupport:Boolean? = null
var Routing:PaymentIntentPaymentMethodOptionsCardPresentRouting? = null
}
open class PaymentIntentPaymentMethodOptionsCardPresentRouting : StripeEntity_1<PaymentIntentPaymentMethodOptionsCardPresentRouting>()
{
var RequestedPriority:String? = null
}
open class PaymentIntentPaymentMethodOptionsCashapp : StripeEntity_1<PaymentIntentPaymentMethodOptionsCashapp>()
{
var CaptureMethod:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsCustomerBalance : StripeEntity_1<PaymentIntentPaymentMethodOptionsCustomerBalance>()
{
var BankTransfer:PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer? = null
var FundingType:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer : StripeEntity_1<PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer>()
{
var EuBankTransfer:PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer? = null
var RequestedAddressTypes:ArrayList<String> = ArrayList<String>()
var Type:String? = null
}
open class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer : StripeEntity_1<PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer>()
{
var Country:String? = null
}
open class PaymentIntentPaymentMethodOptionsEps : StripeEntity_1<PaymentIntentPaymentMethodOptionsEps>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsFpx : StripeEntity_1<PaymentIntentPaymentMethodOptionsFpx>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsGiropay : StripeEntity_1<PaymentIntentPaymentMethodOptionsGiropay>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsGrabpay : StripeEntity_1<PaymentIntentPaymentMethodOptionsGrabpay>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsIdeal : StripeEntity_1<PaymentIntentPaymentMethodOptionsIdeal>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsInteracPresent : StripeEntity_1<PaymentIntentPaymentMethodOptionsInteracPresent>()
{
}
open class PaymentIntentPaymentMethodOptionsKlarna : StripeEntity_1<PaymentIntentPaymentMethodOptionsKlarna>()
{
var CaptureMethod:String? = null
var PreferredLocale:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsKonbini : StripeEntity_1<PaymentIntentPaymentMethodOptionsKonbini>()
{
var ConfirmationNumber:String? = null
var ExpiresAfterDays:Long? = null
var ExpiresAt:Date? = null
var ProductDescription:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsLink : StripeEntity_1<PaymentIntentPaymentMethodOptionsLink>()
{
var CaptureMethod:String? = null
var PersistentToken:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsMobilepay : StripeEntity_1<PaymentIntentPaymentMethodOptionsMobilepay>()
{
var CaptureMethod:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsMultibanco : StripeEntity_1<PaymentIntentPaymentMethodOptionsMultibanco>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsOxxo : StripeEntity_1<PaymentIntentPaymentMethodOptionsOxxo>()
{
var ExpiresAfterDays:Long? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsP24 : StripeEntity_1<PaymentIntentPaymentMethodOptionsP24>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsPaynow : StripeEntity_1<PaymentIntentPaymentMethodOptionsPaynow>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsPaypal : StripeEntity_1<PaymentIntentPaymentMethodOptionsPaypal>()
{
var CaptureMethod:String? = null
var PreferredLocale:String? = null
var Reference:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsPix : StripeEntity_1<PaymentIntentPaymentMethodOptionsPix>()
{
var ExpiresAfterSeconds:Long? = null
var ExpiresAt:Date? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsPromptpay : StripeEntity_1<PaymentIntentPaymentMethodOptionsPromptpay>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsRevolutPay : StripeEntity_1<PaymentIntentPaymentMethodOptionsRevolutPay>()
{
var CaptureMethod:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsSepaDebit : StripeEntity_1<PaymentIntentPaymentMethodOptionsSepaDebit>()
{
var MandateOptions:PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions : StripeEntity_1<PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions>()
{
}
open class PaymentIntentPaymentMethodOptionsSofort : StripeEntity_1<PaymentIntentPaymentMethodOptionsSofort>()
{
var PreferredLanguage:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsSwish : StripeEntity_1<PaymentIntentPaymentMethodOptionsSwish>()
{
var Reference:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsTwint : StripeEntity_1<PaymentIntentPaymentMethodOptionsTwint>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsUsBankAccount : StripeEntity_1<PaymentIntentPaymentMethodOptionsUsBankAccount>()
{
var FinancialConnections:PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections? = null
var MandateOptions:PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions? = null
var PreferredSettlementSpeed:String? = null
var SetupFutureUsage:String? = null
var VerificationMethod:String? = null
}
open class PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections : StripeEntity_1<PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections>()
{
var Filters:PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters? = null
var Permissions:ArrayList<String> = ArrayList<String>()
var Prefetch:ArrayList<String> = ArrayList<String>()
var ReturnUrl:String? = null
}
open class PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters : StripeEntity_1<PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters>()
{
var AccountSubcategories:ArrayList<String> = ArrayList<String>()
}
open class PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions : StripeEntity_1<PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions>()
{
var CollectionMethod:String? = null
}
open class PaymentIntentPaymentMethodOptionsWechatPay : StripeEntity_1<PaymentIntentPaymentMethodOptionsWechatPay>()
{
var AppId:String? = null
var Client:String? = null
var SetupFutureUsage:String? = null
}
open class PaymentIntentPaymentMethodOptionsZip : StripeEntity_1<PaymentIntentPaymentMethodOptionsZip>()
{
var SetupFutureUsage:String? = null
}
open class PaymentIntentProcessing : StripeEntity_1<PaymentIntentProcessing>()
{
var Card:PaymentIntentProcessingCard? = null
var Type:String? = null
}
open class PaymentIntentProcessingCard : StripeEntity_1<PaymentIntentProcessingCard>()
{
var CustomerNotification:PaymentIntentProcessingCardCustomerNotification? = null
}
open class PaymentIntentProcessingCardCustomerNotification : StripeEntity_1<PaymentIntentProcessingCardCustomerNotification>()
{
var ApprovalRequested:Boolean? = null
var CompletesAt:Date? = null
}
open class Shipping : StripeEntity_1<Shipping>()
{
var Address:Address? = null
var Carrier:String? = null
var Name:String? = null
var Phone:String? = null
var TrackingNumber:String? = null
}
open class PaymentIntentTransferData : StripeEntity_1<PaymentIntentTransferData>()
{
var Amount:Long? = null
}
open class CustomPaymentIntentData
{
var PaymentIntent:PaymentIntent? = null
}
open interface IPaysonPaymentCheckout1
{
}
open interface ILogger<TCategoryName> : ILogger
{
}
open class PaymentLog : BaseModel()
{
@References(Currency.class)
var CurrencyId:String? = null
var CurrencyInfo:Currency? = null
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
@Required()
var InternalReferenceId:String? = null
@Required()
var ArticleTypeId:Int? = null
var PaymentReferenceId:String? = null
var PaymentProviderId:Int? = null
var OrderItemReferenceId:String? = null
var Amount:Double? = null
var VAT:BigDecimal? = null
var AmountCredited:Double? = null
var Comments:String? = null
@Required()
var Created:Date? = null
@Required()
var Updated:Date? = null
var ModifiedDate:Date? = null
}
open class Currency : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var CurrencySign:String? = null
@Required()
var Active:Boolean? = null
var ModifiedDate:Date? = null
@Required()
var Id:String? = null
}
open class Customer : BaseModel(), IUser, ICustomFieldTable
{
var IdentityId:Int? = null
var Id:UUID? = null
@Ignore()
var CustomerId:UUID? = null
@Ignore()
var AccessKeys:IList<UserAccessKeys>? = null
var Email:String? = null
@Ignore()
var ExternalReferences:IList<ExternalReference>? = null
@Ignore()
var Company:Company? = null
@Ignore()
var CustomFieldsConfig:IList<CustomFieldConfig>? = null
@Ignore()
var CustomFieldsData:IList<CustomFieldDataResponse>? = null
@Ignore()
var Comments:IList<CustomerComment>? = null
@Ignore()
var RebateCodes:IList<RebateCode>? = null
var Firstname:String? = null
@Ignore()
var FullName:String? = null
@Ignore()
var ImageUrl:String? = null
@Required()
var Active:Boolean? = null
var FacebookUsername:String? = null
@Required()
var Updated:Date? = null
@Required()
var Created:Date? = null
var IpAddress:String? = null
var ModifiedDate:Date? = null
var TextField1:String? = null
var TextField2:String? = null
var TextField3:String? = null
var TextField4:String? = null
var TextField5:String? = null
var TextField6:String? = null
var TextField7:String? = null
var TextField8:String? = null
var TextField9:String? = null
var TextField10:String? = null
var TextField11:String? = null
var TextField12:String? = null
var TextField13:String? = null
var TextField14:String? = null
var TextField15:String? = null
var TextField16:String? = null
var TextField17:String? = null
var TextField18:String? = null
var TextField19:String? = null
var TextField20:String? = null
var UserId:UUID? = null
var Lastname:String? = null
var Phone:String? = null
var CorporateIdentityNumber:String? = null
var InvoiceAddress1:String? = null
var InvoiceAddress2:String? = null
var InvoiceCity:String? = null
var InvoicePostalCode:String? = null
var InvoiceCountryCode:String? = null
@Required()
var CompanyId:UUID? = null
var SubscribedToNewsletter:Boolean? = null
}
open class UserAccessKeys : BaseModel()
{
@Required()
var CompanyId:UUID? = null
@Required()
var AccessKeyTypeId:Int? = null
@Required()
var Value:String? = null
@Required()
var CustomerId:UUID? = null
var Description:String? = null
@Required()
var Id:UUID? = null
}
open class ExternalReference : BaseModel()
{
@Required()
var CompanyId:UUID? = null
@Required()
var Id:UUID? = null
@Required()
var OwnerId:UUID? = null
@Required()
var ReferenceType:String? = null
var ExternalData:String? = null
var CreatedBy:String? = null
@Required()
var Updated:Date? = null
@Required()
var Created:Date? = null
var ModifiedDate:Date? = null
}
open class Company : BaseModel()
{
@Ignore()
var Status:CompanyStatus? = null
@Ignore()
var Active:Boolean? = null
@Ignore()
var CustomerCustomFieldsConfig:IList<CustomFieldConfig>? = null
@Ignore()
var BookingAgreements:String? = null
@Ignore()
var BookingSettings:BookingSettings? = null
@Ignore()
var CompanyType:CompanyType? = null
@Ignore()
var CodeLockSettings:CodeLockSetting? = null
@Ignore()
var PaymentSettings:PaymentSetting? = null
@Ignore()
var Settings:CompanySetting? = null
@Ignore()
var WidgetSettings:HomepageWidgetSetting? = null
@Ignore()
var HomepageSettings:HomepageSetting? = null
@Ignore()
var RatingScore:AverageRatingScore? = null
@Ignore()
var Ratings:ArrayList<Rating> = ArrayList<Rating>()
@Ignore()
var Distance:Double? = null
@Ignore()
var Licenses:ArrayList<License> = ArrayList<License>()
@Ignore()
var BillingInformation:BillingInformation? = null
@Ignore()
var CompanyUsers:ArrayList<CompanyUser> = ArrayList<CompanyUser>()
@Ignore()
var ActiveLicenses:ArrayList<License> = ArrayList<License>()
@Ignore()
var CurrentLicense:License? = null
@Ignore()
var IsFreeAccount:Boolean? = null
@Ignore()
var DefaultLanguage:CultureInfo? = null
var Category:CompanyCategory? = null
@Ignore()
var Lat:Double? = null
@Ignore()
var Lon:Double? = null
@Ignore()
var IsFavorite:Boolean? = null
@Ignore()
var ExternalReferences:IList<ExternalReference>? = null
@Required()
var OrganisationNumber:String? = null
@Required()
var StatusId:Int? = null
@Required()
var CategoryId:Int? = null
@Required()
var SitePath:String? = null
@Required()
var Name:String? = null
var Street1:String? = null
var Street2:String? = null
var ZipCode:String? = null
var City:String? = null
var OpeningHours:String? = null
var FaxNumber:String? = null
@Required()
var Email:String? = null
var Phone:String? = null
var Details:String? = null
var LogoType:String? = null
@Required()
var ApprovedByAdmin:Boolean? = null
@Required()
var Updated:Date? = null
@Required()
var Created:Date? = null
var IpAddress:String? = null
var Homepage:String? = null
var DomainName:String? = null
@Required()
var CountryId:String? = null
@Required()
var CompanyOwnerId:Int? = null
var TypeId:Int? = null
var ModifiedDate:Date? = null
@Required()
var Id:UUID? = null
var DeletionNotificationDate:Date? = null
}
enum class CompanyStatus(val value:Int)
{
Registered(1),
AwaitingApproval(2),
Approved(3),
Inactive(4),
ClosedDown(5),
NotApproved(6),
}
open class CustomFieldConfig : BaseModel()
{
@Ignore()
var Values:ArrayList<CustomFieldValue> = ArrayList<CustomFieldValue>()
var CustomField:CustomField? = null
@Ignore()
var RegEx:RegEx? = null
@Ignore()
var Services:ArrayList<Service> = ArrayList<Service>()
var CustomFieldServiceRelation:ArrayList<CustomFieldServiceRelation> = ArrayList<CustomFieldServiceRelation>()
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
var GroupId:Int? = null
@Required()
var FieldId:Int? = null
@Required()
var IconId:Int? = null
var RegExId:Int? = null
@Required()
var Name:String? = null
@Required()
var Description:String? = null
@Required()
var Datatype:String? = null
@Required()
var MaxLength:Int? = null
@Required()
var IsPublic:Boolean? = null
@Required()
var IsHidden:Boolean? = null
@Required()
var IsMandatory:Boolean? = null
var DefaultValue:String? = null
var RegExErrorMessage:String? = null
var MandatoryErrorMessage:String? = null
var Width:Int? = null
@Required()
var MultipleLineText:Boolean? = null
var ModifiedDate:Date? = null
}
open class CustomFieldValue : BaseModel()
{
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
@Required()
var Value:String? = null
@Required()
var Active:Boolean? = null
var SortOrder:Short? = null
var ModifiedDate:Date? = null
}
open class CustomField : BaseModel()
{
@Required()
var Table:String? = null
@Required()
var Column:String? = null
@Required()
var DataType:String? = null
@Required()
var Description:String? = null
@Required()
var Active:Boolean? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class RegEx : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
@Required()
var RegExCode:String? = null
var ErrorMessage:String? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class Service : BaseModel(), ICustomFieldTable, IBaseModelCreated, IBaseModelUpdated
{
@Ignore()
var ResourceTypes:ArrayList<ResourceType> = ArrayList<ResourceType>()
@Ignore()
var Resources:ArrayList<Resource> = ArrayList<Resource>()
@Ignore()
var TotalPrice:TotalPriceInformation? = null
@Ignore()
var Prices:ArrayList<ServicePrice> = ArrayList<ServicePrice>()
@Ignore()
var BookingStatusOptions:ArrayList<BookingStatusOptions> = ArrayList<BookingStatusOptions>()
@Ignore()
var IsGroupBooking:Boolean? = null
@Ignore()
var IsMultipleResource:Boolean? = null
@Ignore()
var Settings:BookingSettings? = null
@Ignore()
var PaymentSetting:PaymentSetting? = null
@Ignore()
var BookingCustomFieldsConfig:IList<CustomFieldConfig>? = null
@Ignore()
var CustomerCustomFieldsConfig:IList<CustomFieldConfig>? = null
@Ignore()
var CustomFieldsConfig:IList<CustomFieldConfig>? = null
@Ignore()
var CustomFieldsData:IList<CustomFieldDataResponse>? = null
@Ignore()
var Schedules:IList<ISchedule>? = null
@Ignore()
var CustomerActiveBookings:IList<Booking>? = null
@Ignore()
var ScheduleType:ScheduleType? = null
@Ignore()
var LastTimeToUnbookThreshold:TimeSpan? = null
@Ignore()
var LastTimeToBookThreshold:TimeSpan? = null
@Ignore()
var RatingScore:AverageRatingScore? = null
@Ignore()
var Ratings:ArrayList<Rating> = ArrayList<Rating>()
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
@Required()
var Name:String? = null
@Required()
var Description:String? = null
var Group:String? = null
@Required()
var Active:Boolean? = null
@Required()
var SortOrder:Int? = null
@Required()
var PauseAfterBooking:Int? = null
@Required()
var UnbookBeforeDays:Int? = null
@Required()
var UnbookBeforeHours:Int? = null
@Required()
var UnbookBeforeMinutes:Int? = null
@Required()
var BookBeforeDays:Int? = null
@Required()
var BookBeforeHours:Int? = null
@Required()
var BookBeforeMinutes:Int? = null
var Duration:Int? = null
var DurationTypeId:Int? = null
var MinDuration:Int? = null
var MaxDuration:Int? = null
var DurationInterval:Int? = null
var TotalSpots:Int? = null
var ImageUrl:String? = null
@Required()
var ScheduleTypeId:Int? = null
@Required()
var UpdatedDate:Date? = null
@Required()
var CreatedDate:Date? = null
@Required()
var OnlyVisibleByAdmin:Boolean? = null
@Required()
var MinNumberOfSpotsPerBooking:Int? = null
@Required()
var MaxNumberOfSpotsPerBooking:Int? = null
@Required()
var MinNumberOfResourcesToBook:Int? = null
@Required()
var MaxNumberOfResourcesToBook:Int? = null
@Required()
var IsPaymentEnabled:Boolean? = null
@Required()
var MaxPaymentTime:Int? = null
@Required()
var LockSpotsToBooking:Boolean? = null
@Required()
var EnableBookingQueue:Boolean? = null
var ModifiedDate:Date? = null
@Required()
var BookingStatusId:Int? = null
@Required()
var EnableCodeLockSync:Boolean? = null
@Required()
var EnableCustomerManualPayment:Boolean? = null
var PriceViewTypeId:Int? = null
var TextField1:String? = null
var TextField2:String? = null
var TextField3:String? = null
var TextField4:String? = null
var TextField5:String? = null
var TextField6:String? = null
var TextField7:String? = null
var TextField8:String? = null
var TextField9:String? = null
var TextField10:String? = null
var TextField11:String? = null
var TextField12:String? = null
var TextField13:String? = null
var TextField14:String? = null
var TextField15:String? = null
var TextField16:String? = null
var TextField17:String? = null
var TextField18:String? = null
var TextField19:String? = null
var TextField20:String? = null
}
open class ResourceType : BaseModel(), IBaseModelCreated, IBaseModelUpdated
{
@Ignore()
var SelectableByUser:Boolean? = null
@Ignore()
var Resources:ArrayList<Resource> = ArrayList<Resource>()
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
@Required()
var Name:String? = null
var Description:String? = null
@Required()
var Active:Boolean? = null
@Required()
var UpdatedDate:Date? = null
@Required()
var CreatedDate:Date? = null
var ModifiedDate:Date? = null
}
open class Resource : BaseModel(), ICustomFieldTable, IBaseModelCreated, IBaseModelUpdated
{
@Ignore()
var Priority:Int? = null
@Ignore()
var Schedules:IList<ISchedule>? = null
@Ignore()
var Exceptions:IList<ITimeException>? = null
@Ignore()
var Bookings:IList<IBookedTime>? = null
@Ignore()
var CustomFieldsConfig:IList<CustomFieldConfig>? = null
@Ignore()
var CustomFieldsData:IList<CustomFieldDataResponse>? = null
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
@Required()
var Name:String? = null
@Required()
var Active:Boolean? = null
var Description:String? = null
var ImageUrl:String? = null
@Required()
var UpdatedDate:Date? = null
@Required()
var CreatedDate:Date? = null
@Required()
var Color:String? = null
var Email:String? = null
var MobilePhone:String? = null
var EmailNotification:Boolean? = null
var SMSNotification:Boolean? = null
@Required()
var SendSMSReminder:Boolean? = null
@Required()
var SendEmailReminder:Boolean? = null
var ModifiedDate:Date? = null
var AccessGroup:String? = null
var TextField1:String? = null
var TextField2:String? = null
var TextField3:String? = null
var TextField4:String? = null
var TextField5:String? = null
var TextField6:String? = null
var TextField7:String? = null
var TextField8:String? = null
var TextField9:String? = null
var TextField10:String? = null
var TextField11:String? = null
var TextField12:String? = null
var TextField13:String? = null
var TextField14:String? = null
var TextField15:String? = null
var TextField16:String? = null
var TextField17:String? = null
var TextField18:String? = null
var TextField19:String? = null
var TextField20:String? = null
}
open interface ISchedule
{
var CompanyId:UUID?
var Resources:IList<Resource>?
var Type:ScheduleType?
var Active:Boolean?
var IsResourceSpecific:Boolean?
}
enum class ScheduleType
{
NotDefined,
RecurringSchedule,
DateSchedule,
}
open interface ITimeException : IInterval
{
var Id:Int?
var ReasonText:String?
var IsBlock:Boolean?
var ReasonTextPublic:String?
var IsRecurring:Boolean?
var ResourceIds:ArrayList<Int>?
}
open interface IBookedTime : IInterval
{
var Id:Int?
var ServiceId:Int?
var BookedSpots:Int?
var TotalSpots:Int?
var PauseAfterInMinutes:Int?
var Status:BookingStatusEnum?
var StatusId:Int?
var Customer:BookedCustomer?
}
enum class BookingStatusEnum(val value:Int)
{
Booked(1),
Unbooked(2),
Reserved(3),
Canceled(4),
AwaitingPayment(5),
AwaitingPaymentNoTimeLimit(6),
Payed(7),
AwaitingPaymentRequestFromAdmin(8),
AwaitingPaymentFromProvider(9),
Invoiced(10),
}
open class BookedCustomer
{
var Id:UUID? = null
var Firstname:String? = null
var Lastname:String? = null
var Email:String? = null
var Phone:String? = null
var FacebookUserName:String? = null
var ImageUrl:String? = null
var CorporateIdentityNumber:String? = null
var InvoiceAddress1:String? = null
var InvoiceAddress2:String? = null
var InvoiceCity:String? = null
var InvoicePostalCode:String? = null
var InvoiceCountryCode:String? = null
}
open class CustomFieldDataResponse
{
var Id:Int? = null
var Column:String? = null
var Name:String? = null
var Description:String? = null
var Value:String? = null
/**
* Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'
*/
@ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'")
var DataType:String? = null
}
open class TotalPriceInformation
{
var TotalPrice:Double? = null
var TotalVATAmount:Double? = null
var TotalRebate:Double? = null
var TotalPriceBeforeRebate:Double? = null
var AppliedCodes:ArrayList<AppliedRebateCodes> = ArrayList<AppliedRebateCodes>()
var PriceSign:String? = null
var CurrencyId:String? = null
var VAT:BigDecimal? = null
}
open class AppliedRebateCodes
{
var RebateCodeId:Int? = null
var RebateCodeSign:String? = null
var RebateCodeValue:Int? = null
var RebateAmount:Double? = null
var RebateCodeType:RebateCodeType? = null
}
open class RebateCodeType : BaseModel()
{
@Required()
var Name:String? = null
var Description:String? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class ServicePrice : BaseModel(), IInterval
{
@References(Currency.class)
var CurrencyId:String? = null
var CurrencyInfo:Currency? = null
@Ignore()
var Service:Service? = null
@Ignore()
var PriceMappings:ArrayList<PriceMapping> = ArrayList<PriceMapping>()
@Ignore()
var isTimeSpecific:Boolean? = null
@Ignore()
var isDaysOfWeekSpecific:Boolean? = null
var DayOfWeeks:ArrayList<ServicePriceDayOfWeekRelation> = ArrayList<ServicePriceDayOfWeekRelation>()
@Ignore()
var PriceBeforeRebate:Double? = null
@Ignore()
var RebateCodesApplied:ArrayList<RebateCode> = ArrayList<RebateCode>()
@Ignore()
var PriceText:String? = null
@Ignore()
var OverlappingPrices:ArrayList<ServicePrice> = ArrayList<ServicePrice>()
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
@Required()
var ServiceId:Int? = null
var Price:Double? = null
@Required()
var Updated:Date? = null
@Required()
var Created:Date? = null
@Required()
var FromTime:TimeSpan? = null
@Required()
var ToTime:TimeSpan? = null
@Required()
var VAT:BigDecimal? = null
var Category:String? = null
var ModifiedDate:Date? = null
@Required()
var From:Date? = null
@Required()
var To:Date? = null
@Required()
var CalculationTypeId:Int? = null
}
open class PriceMapping : BaseModel()
{
@Required()
var CompanyId:UUID? = null
@Required()
var Id:UUID? = null
@Required()
var ServicePriceId:Int? = null
var ReferenceType:String? = null
var ExternalReference:String? = null
@Required()
var UpdatedDate:Date? = null
@Required()
var CreatedDate:Date? = null
var ModifiedDate:Date? = null
}
open class ServicePriceDayOfWeekRelation : BaseModel()
{
@Ignore()
var DayOfWeek:BokaMeraDayOfWeek? = null
@Required()
var CompanyId:UUID? = null
@Required()
var ServicePriceId:Int? = null
@Required()
var DayOfWeekId:Int? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
enum class BokaMeraDayOfWeek(val value:Int)
{
Monday(1),
Tuesday(2),
Wednesday(3),
Thursday(4),
Friday(5),
Saturday(6),
Sunday(7),
}
open class BookingStatusOptions
{
var Id:Int? = null
var Name:String? = null
var Description:String? = null
}
open class BookingSettings : BaseModel()
{
@References(FreeSpotTexts.class)
var FreeSpotTextsId:Int? = null
@Ignore()
var SendEmailConfirmation:Boolean? = null
@Ignore()
var ScheduleViewOptions:ArrayList<ScheduleView> = ArrayList<ScheduleView>()
@Ignore()
var WeekNumberSettingOptions:ArrayList<WeekNumberSetting> = ArrayList<WeekNumberSetting>()
@Ignore()
var BookingTemplateOptions:ArrayList<BookingTemplate> = ArrayList<BookingTemplate>()
@Ignore()
var CalendarTypeOptions:ArrayList<CalendarType> = ArrayList<CalendarType>()
@Ignore()
var FreeSpotTextOptions:ArrayList<FreeSpotTexts> = ArrayList<FreeSpotTexts>()
@Ignore()
var BookingStatusOptions:ArrayList<BookingStatusOptions> = ArrayList<BookingStatusOptions>()
var FreeSpotTextsInfo:FreeSpotTexts? = null
@Ignore()
var FreeSpotsTextSingular:String? = null
@Ignore()
var FreeSpotsTextPlural:String? = null
@Required()
var BookingStatusId:Int? = null
@Required()
var ScheduleViewId:Int? = null
@Required()
var BookingTemplateId:Int? = null
@Required()
var CalendarTypeId:Int? = null
@Required()
var AllowBookingOnUnbookedTimes:Boolean? = null
@Required()
var SendEmailReminder:Boolean? = null
@Required()
var SendSmsReminder:Boolean? = null
@Required()
var SendSmsConfirmation:Boolean? = null
@Required()
var EmailReminderTime:Int? = null
@Required()
var SmsReminderTime:Int? = null
@Required()
var MaxActiveBookings:Int? = null
@Required()
var SendNotifications:Boolean? = null
var SendNotificationsEmail:String? = null
@Required()
var EnableMobileApp:Boolean? = null
var ScheduleStartTime:TimeSpan? = null
var ScheduleEndTime:TimeSpan? = null
var ReceiptTemplate:String? = null
@Required()
var ScheduleTimeSlotMinutes:Int? = null
@Required()
var ShowFreeTimesLeft:Boolean? = null
@Required()
var EnableICalGroupBookings:Boolean? = null
var AgreementTemplate:String? = null
@Required()
var ScheduleShowTimeExeptions:Boolean? = null
@Required()
var EnableBookingsOnSameTime:Boolean? = null
@Required()
var ShowWeekNumberSettingId:Int? = null
@Required()
var EnableShowBookedTimes:Boolean? = null
@Required()
var EnableSendFollowUpMessage:Boolean? = null
@Required()
var FollowUpMessageTime:Int? = null
var MessageText:String? = null
@Required()
var ScheduleGroupResources:Boolean? = null
@Required()
var BookSpotUserResponseMinutes:Int? = null
@Required()
var IsBookSpotDirectly:Boolean? = null
@Required()
var BookSpotDirectlyTimeLeftMinutes:Int? = null
@Required()
var SendEmailNotificationQueue:Boolean? = null
@Required()
var SendSMSNotificationQueue:Boolean? = null
@Required()
var SchedulerDisableHorizontalScrolling:Boolean? = null
@Required()
var BookOnlyOnExistingCustomers:Boolean? = null
@Required()
var AutoGenerateUniquePinCode:Boolean? = null
@Required()
var WeightedPrices:Boolean? = null
var ModifiedDate:Date? = null
@Required()
var AutoCreateUserProfile:Boolean? = null
var ShowMultipleResourcesAsOne:Boolean? = null
var ShowMultiDayAsTime:Boolean? = null
@Required()
var Id:UUID? = null
}
open class ScheduleView : BaseModel()
{
@Required()
var Name:String? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class WeekNumberSetting : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class BookingTemplate : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
@Required()
var UsedByApplication:String? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class CalendarType : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
@Required()
var Active:Boolean? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class FreeSpotTexts : BaseModel()
{
@Required()
var TextSingular:String? = null
@Required()
var TextPlural:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class PaymentSetting : BaseModel()
{
var AdminPaymentOption:AdminPaymentOptions? = null
@Ignore()
var AdminPaymentOptions:ArrayList<AdminPaymentOptions> = ArrayList<AdminPaymentOptions>()
@Ignore()
var PaymentProviderOptions:ArrayList<PaymentProviders> = ArrayList<PaymentProviders>()
@Required()
var Enabled:Boolean? = null
@Required()
var InvoiceFee:Int? = null
@Required()
var AllowCreditCardPayment:Boolean? = null
@Required()
var AllowInvoicePayment:Boolean? = null
@Required()
var AllowBankPayment:Boolean? = null
@Required()
var GuaranteeOffered:Boolean? = null
@Required()
var RefundOnCancelBooking:Boolean? = null
var DefaultPaymentOptionId:Int? = null
@Required()
var PaymentProviderId:Int? = null
@Required()
var SendPaymentRequestDirectly:Boolean? = null
var ModifiedDate:Date? = null
@Required()
var Id:UUID? = null
}
open class AdminPaymentOptions : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class PaymentProviders : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
@Required()
var Category:String? = null
var Url:String? = null
@Required()
var Active:Boolean? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class Booking : PayableEntity(), IInterval, ICustomFieldTable, IBaseModelUpdated, IBaseModelCreated
{
@Ignore()
var Service:Service? = null
@Ignore()
var CalendarExport:CalendarExport? = null
@Ignore()
var Log:ArrayList<BookingLog> = ArrayList<BookingLog>()
@Ignore()
var CheckoutLogs:ArrayList<PaymentDetails> = ArrayList<PaymentDetails>()
@Ignore()
var Prices:ArrayList<BookingPrice> = ArrayList<BookingPrice>()
@Ignore()
var Status:BookingStatusEnum? = null
@Ignore()
var IsReserved:Boolean? = null
@Ignore()
var StatusName:String? = null
var CurrencyInfo:Currency? = null
var BookingStatus:BookingStatus? = null
@Ignore()
var TotalPrice:Double? = null
@Ignore()
var TotalSpots:Int? = null
@Ignore()
var Resources:IList<Resource>? = null
@Ignore()
var ExternalReferences:IList<ExternalReference>? = null
@Ignore()
var BookedResources:IList<BookedResourceType>? = null
@Ignore()
var CustomFieldsConfig:IList<CustomFieldConfig>? = null
@Ignore()
var CustomFieldsData:IList<CustomFieldDataResponse>? = null
@Ignore()
var DeterministicId:UUID? = null
@Ignore()
var Active:Boolean? = null
@Ignore()
var LastTimeToUnBook:Date? = null
@Ignore()
var PriceMappings:ArrayList<PriceMapping> = ArrayList<PriceMapping>()
@Ignore()
var InternalReferenceId:String? = null
@Required()
var UpdatedDate:Date? = null
@Required()
var CreatedDate:Date? = null
var Id:Int? = null
@Required()
var CustomerId:UUID? = null
@Required()
var ServiceId:Int? = null
@Required()
var StatusId:Int? = null
var UnbookedOn:Date? = null
var UnbookedComments:String? = null
var BookedComments:String? = null
@Required()
var BookedBy:String? = null
var UnBookedBy:String? = null
@Required()
var SendSmsReminder:Boolean? = null
@Required()
var SendEmailReminder:Boolean? = null
@Required()
var SendSmsConfirmation:Boolean? = null
var RebateCode:String? = null
var Comments:String? = null
var IpAddress:String? = null
@Required()
var NumberOfBookedSpots:Int? = null
var CommentsToCustomer:String? = null
var PaymentExpiration:Date? = null
@Required()
var SendEmailConfirmation:Boolean? = null
var CancellationCode:String? = null
var ModifiedDate:Date? = null
var RatingCode:String? = null
var TextField1:String? = null
var TextField2:String? = null
var TextField3:String? = null
var TextField4:String? = null
var TextField5:String? = null
var TextField6:String? = null
var TextField7:String? = null
var TextField8:String? = null
var TextField9:String? = null
var TextField10:String? = null
var TextField11:String? = null
var TextField12:String? = null
var TextField13:String? = null
var TextField14:String? = null
var TextField15:String? = null
var TextField16:String? = null
var TextField17:String? = null
var TextField18:String? = null
var TextField19:String? = null
var TextField20:String? = null
@Required()
var From:Date? = null
@Required()
var To:Date? = null
}
open class CalendarExport : BaseModel()
{
@Required()
var CompanyId:UUID? = null
@Required()
var BookingId:Int? = null
@Required()
var ExceptionId:Int? = null
var CalendarSync:Boolean? = null
var CalendarId:String? = null
var IsExceptionDeleted:Boolean? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class BookingLog : BaseModel()
{
@References(BookingLogEventType.class)
var EventTypeId:Int? = null
var EventType:BookingLogEventType? = null
@Required()
var CompanyId:UUID? = null
@Required()
var BookingId:Int? = null
var Id:Int? = null
var Comments:String? = null
var UserId:String? = null
@Required()
var Created:Date? = null
var ModifiedDate:Date? = null
}
open class BookingLogEventType : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class PaymentDetails : BaseModel(), IBaseModelCreated, IBaseModelUpdated
{
@Ignore()
var QvicklyCheckoutSerialized:QvicklyCheckoutResponse? = null
@Ignore()
var Payson2CheckoutSerialized:Payson2CheckoutResponse? = null
@Ignore()
var StripeCheckoutSerialized:CustomCheckoutData? = null
@Required()
var CompanyId:UUID? = null
@Required()
var InternalReferenceId:String? = null
@Required()
var ArticleTypeId:Int? = null
@Required()
var ExternalResponseData:String? = null
@Required()
var ExternalResponseReference:String? = null
@Required()
var PaymentProviderId:Int? = null
@Required()
var CreatedDate:Date? = null
@Required()
var UpdatedDate:Date? = null
var ModifiedDate:Date? = null
}
open class BookingPrice : BaseModel()
{
@References(Currency.class)
var CurrencyId:String? = null
var ServicePriceId:Int? = null
var ServicePrice:ServicePrice? = null
var CurrencyInfo:Currency? = null
@Ignore()
var PriceText:String? = null
@Ignore()
var AppliedCodes:ArrayList<AppliedRebateCodes> = ArrayList<AppliedRebateCodes>()
@Ignore()
var IsRebate:Boolean? = null
@Required()
var CompanyId:UUID? = null
@Required()
var BookingId:Int? = null
@Required()
var Quantity:Int? = null
var Price:Double? = null
var VAT:BigDecimal? = null
var Category:String? = null
@Required()
var Updated:Date? = null
@Required()
var Created:Date? = null
@Required()
var Invoiced:Boolean? = null
@Required()
var OccupiesSpot:Boolean? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class BookingStatus : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
@Required()
var Color:String? = null
@Required()
var Icon:String? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class BookedResourceType
{
/**
* The resource type id
*/
@ApiMember(Description="The resource type id")
var Id:Int? = null
/**
* The resource type name
*/
@ApiMember(Description="The resource type name")
var Name:String? = null
/**
* The resources inside resource type
*/
@ApiMember(Description="The resources inside resource type")
var Resources:ArrayList<BookedResource> = ArrayList<BookedResource>()
}
open class BookedResource
{
var Id:Int? = null
var Name:String? = null
var Color:String? = null
var ImageUrl:Uri? = null
var Email:String? = null
var MobilePhone:String? = null
var AccessGroup:String? = null
var EmailNotification:Boolean? = null
var SMSNotification:Boolean? = null
var EmailReminder:Boolean? = null
var SMSReminder:Boolean? = null
}
open class AverageRatingScore
{
var AverageScore:Double? = null
var Score1Count:Int? = null
var Score2Count:Int? = null
var Score3Count:Int? = null
var Score4Count:Int? = null
var Score5Count:Int? = null
var Count:Int? = null
}
open class Rating : BaseModel()
{
var ReviewId:UUID? = null
var Review:Review? = null
@Required()
var CompanyId:UUID? = null
@Required()
var BookingId:Int? = null
@Required()
var RatingScore:Int? = null
@Required()
var Status:Int? = null
@Required()
var Created:Date? = null
@Required()
var Updated:Date? = null
var ModifiedDate:Date? = null
}
open class Review : BaseModel()
{
var ReviewId:UUID? = null
@Required()
var CompanyId:UUID? = null
@Required()
var Title:String? = null
@Required()
var Description:String? = null
@Required()
var Author:String? = null
@Required()
var Status:Int? = null
@Required()
var Created:Date? = null
@Required()
var Updated:Date? = null
var ModifiedDate:Date? = null
var ReviewAnswer:String? = null
}
open class CustomFieldServiceRelation : BaseModel()
{
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
@Required()
var CustomFieldConfigId:Int? = null
@Required()
var ServiceId:Int? = null
var ModifiedDate:Date? = null
}
open class CompanyType : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class CodeLockSetting : BaseModel()
{
@Ignore()
var CodeLockSystemOptions:ArrayList<CodeLockSystem> = ArrayList<CodeLockSystem>()
@Required()
var Active:Boolean? = null
@Required()
var CodeLockSystemsId:Int? = null
@Required()
var ValidBeforeMinutes:Int? = null
@Required()
var ValidAfterMinutes:Int? = null
@Required()
var DeleteOldBySchedule:Boolean? = null
@Required()
var Created:Date? = null
@Required()
var Updated:Date? = null
var ModifiedDate:Date? = null
@Required()
var SendEmailNotification:Boolean? = null
@Required()
var SendSMSNotification:Boolean? = null
@Required()
var EmailNotificationTime:Short? = null
@Required()
var SMSNotificationTime:Short? = null
@Required()
var Id:UUID? = null
}
open class CodeLockSystem : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Supplier:String? = null
var LogoType:String? = null
@Required()
var Description:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class CompanySetting : BaseModel()
{
@Ignore()
var Languages:ArrayList<LanguageResponse> = ArrayList<LanguageResponse>()
@Required()
var Active:Boolean? = null
var InactiveMessage:String? = null
@Required()
var Searchable:Boolean? = null
var GATrackingId:String? = null
var FacebookPixelId:String? = null
@Required()
var MultiLanguage:Boolean? = null
@Required()
var EnableAPITranslation:Boolean? = null
@Required()
var DefaultLanguage:String? = null
var ModifiedDate:Date? = null
var GTMTrackingId:String? = null
@Required()
var ShowOnMarketPlace:Boolean? = null
var GoogleAdsConversionId:String? = null
var LinkedinTagId:String? = null
var GoogleAdsConversionLabel:String? = null
var SendCustomerInformationToExternalProviders:Boolean? = null
@Required()
var Id:UUID? = null
var IsWebhookFeatureEnabled:Boolean? = null
var SmsMessageSendLimit:Int? = null
var EmailMessageSendLimit:Int? = null
}
open class LanguageResponse
{
var Id:String? = null
var Name:String? = null
}
open class HomepageWidgetSetting : BaseModel()
{
@Ignore()
var WidgetServiceLayoutOptions:ArrayList<WidgetServiceLayouts> = ArrayList<WidgetServiceLayouts>()
@Ignore()
var WidgetTimeLayoutOptions:ArrayList<WidgetTimeLayouts> = ArrayList<WidgetTimeLayouts>()
@Ignore()
var WidgetBookingLayoutOptions:ArrayList<WidgetBookingLayouts> = ArrayList<WidgetBookingLayouts>()
@Ignore()
var WidgetBookingMethodOptions:ArrayList<WidgetBookingMethods> = ArrayList<WidgetBookingMethods>()
@Required()
var ServiceLayoutId:Int? = null
@Required()
var TimeLayoutId:Int? = null
@Required()
var BookingLayoutId:Int? = null
@Required()
var PrimaryColor:String? = null
@Required()
var ShowServiceImage:Boolean? = null
@Required()
var ShowNextAvailableTime:Boolean? = null
@Required()
var ShowEndTime:Boolean? = null
var BookedTimeSlotText:String? = null
@Required()
var DarkTheme:Boolean? = null
@Required()
var ShowRebateCodeField:Boolean? = null
var ModifiedDate:Date? = null
@Required()
var EnableCreateAccount:Boolean? = null
@Required()
var EnableLogin:Boolean? = null
@Required()
var EnableDirectBooking:Boolean? = null
@Required()
var EnableFacebookLogin:Boolean? = null
@Required()
var ShowSubscribeToNewsletter:Boolean? = null
@Required()
var Id:UUID? = null
}
open class WidgetServiceLayouts : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
@Required()
var Code:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class WidgetTimeLayouts : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
@Required()
var Code:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class WidgetBookingLayouts : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
@Required()
var Code:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class WidgetBookingMethods : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
@Required()
var Code:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class HomepageSetting : BaseModel(), ICompany
{
@Ignore()
var HomepageTemplateOptions:ArrayList<HomepageTemplate> = ArrayList<HomepageTemplate>()
@Ignore()
var HomepageHeroSectionStyleOptions:ArrayList<HeroSectionStyle> = ArrayList<HeroSectionStyle>()
@Ignore()
var CompanyId:UUID? = null
var WelcomePageHeading:String? = null
var WelcomePageBody:String? = null
var AboutUsPageHeading:String? = null
var AboutUsPageBody:String? = null
@Required()
var HomePageTemplateId:Int? = null
var ImageUrl:String? = null
@Required()
var Updated:Date? = null
@Required()
var Created:Date? = null
var HomepageHeading:String? = null
@Required()
var HeroSectionStyleId:Int? = null
var ModifiedDate:Date? = null
@Required()
var ShowRating:Boolean? = null
@Required()
var EnableHomepage:Boolean? = null
@Required()
var Id:UUID? = null
}
open class HomepageTemplate : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Description:String? = null
var ImageUrl:Uri? = null
@Required()
var Premium:Boolean? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class HeroSectionStyle : BaseModel()
{
@Required()
var Name:String? = null
var Description:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:Int? = null
}
open class License : BaseModel()
{
var Type:LicenseType? = null
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
@Required()
var TypeId:Int? = null
var VossSubscriptionId:UUID? = null
@Required()
var ValidFrom:Date? = null
@Required()
var ValidTo:Date? = null
@Required()
var Active:Boolean? = null
@Required()
var UpdatedDate:Date? = null
@Required()
var CreatedDate:Date? = null
var ModifiedDate:Date? = null
var MetaData:String? = null
}
open class LicenseType : BaseModel()
{
@Ignore()
var LicenseItems:IList<LicenseTypeItem>? = null
@Ignore()
var Prices:IList<LicensePrice>? = null
@Ignore()
var IsFree:Boolean? = null
@Ignore()
var PeriodOfNoticeDays:Int? = null
@Ignore()
var NextLicenseOption:LicenseType? = null
@Required()
var Name:String? = null
@Required()
var Description:String? = null
@Required()
var ExtraLicenseOption:Boolean? = null
var ModifiedDate:Date? = null
var Active:Boolean? = null
var VossTierId:UUID? = null
var Id:Int? = null
}
open class LicenseTypeItem : BaseModel()
{
@Ignore()
var Name:String? = null
@Ignore()
var LicenseType:LicenseType? = null
@Required()
var LicenseTypesId:Int? = null
@Required()
var LicenseItemsId:Int? = null
@Required()
var NumberOfItems:Int? = null
var Id:Int? = null
var ModifiedDate:Date? = null
}
open class LicensePrice : BaseModel()
{
@Ignore()
var Country:Country? = null
@Required()
var LicenseTypeId:Int? = null
@Required()
var CountryId:String? = null
@Required()
var Price:Int? = null
var ModifiedDate:Date? = null
var LicensePlanId:Int? = null
}
open class Country : BaseModel()
{
@References(Currency.class)
var CurrencyId:String? = null
var CurrencyInfo:Currency? = null
@Required()
var Name:String? = null
var Culture:String? = null
var TimeZone:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:String? = null
}
open class BillingInformation : BaseModel(), IBaseModelCreated, IBaseModelUpdated
{
var BillingMethod:BillingMethod? = null
@Required()
var BillingMethodId:Int? = null
@Required()
var Name:String? = null
var Attention:String? = null
var Street1:String? = null
var Street2:String? = null
var ZipCode:String? = null
var City:String? = null
var Email:String? = null
var CreditCard:String? = null
var CreditCardHolder:String? = null
var CreditCardNumber:String? = null
var ValidToYear:Short? = null
var ValidToMonth:Short? = null
var CSV:String? = null
@Required()
var UpdatedDate:Date? = null
@Required()
var CreatedDate:Date? = null
@Required()
var CountryId:String? = null
@Required()
var PaymentTermsDays:Int? = null
var VATRegistrationNumber:String? = null
var LicensePlanId:Int? = null
var GLN:String? = null
var ReferenceLine1:String? = null
var ReferenceLine2:String? = null
var ModifiedDate:Date? = null
@Required()
var Id:UUID? = null
}
open class BillingMethod : BaseModel()
{
var BillingMethodCountriesRelation:ArrayList<BillingMethodCountriesRelation> = ArrayList<BillingMethodCountriesRelation>()
@Required()
var Name:String? = null
@Required()
var Description:String? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class BillingMethodCountriesRelation : BaseModel()
{
@Required()
var BillingMethodId:Int? = null
@Required()
var CountryId:String? = null
var ModifiedDate:Date? = null
}
open class CompanyUser : BaseModel(), IUser, IBaseModelCreated, IBaseModelUpdated
{
var Resource:Resource? = null
@Ignore()
var Roles:ArrayList<KeyCloakRole> = ArrayList<KeyCloakRole>()
@Ignore()
var Company:Company? = null
var Email:String? = null
@Ignore()
var FullName:String? = null
var ResourceId:Int? = null
var WorkerId:String? = null
@Required()
var Active:Boolean? = null
@Required()
var IsSuperAdmin:Boolean? = null
@Required()
var CreatedDate:Date? = null
@Required()
var UpdatedDate:Date? = null
var ModifiedDate:Date? = null
@Required()
var CompanyId:UUID? = null
@Required()
var Id:UUID? = null
var UserId:UUID? = null
var Firstname:String? = null
var Lastname:String? = null
var Phone:String? = null
}
open class KeyCloakRole
{
var Id:UUID? = null
var Name:String? = null
}
open class CompanyCategory : BaseModel()
{
@Required()
var Name:String? = null
@Required()
var Header:String? = null
@Required()
var Description:String? = null
var ImageUrl:Uri? = null
@Required()
var Active:Boolean? = null
var SortOrder:Int? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class CustomerComment : BaseModel()
{
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
@Required()
var CustomerId:UUID? = null
@Required()
var Comments:String? = null
@Required()
var Updated:Date? = null
@Required()
var Created:Date? = null
var ImageUrl:String? = null
var ModifiedDate:Date? = null
}
open class RebateCodeStatus : BaseModel()
{
@Required()
var Name:String? = null
var Description:String? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class Article : BaseModel(), IBaseModelCreated, IBaseModelUpdated
{
var Company:Company? = null
var CurrencyInfo:Currency? = null
var ArticleServiceRelations:ArrayList<ArticleServiceRelation> = ArrayList<ArticleServiceRelation>()
@Ignore()
var ServiceIds:ArrayList<Int> = ArrayList<Int>()
@Ignore()
var ArticleType:ArticleTypeEnum? = null
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
@Required()
var Name:String? = null
@Required()
var ArticleTypeId:Int? = null
var Description:String? = null
var ImageUrl:String? = null
@Required()
var Active:Boolean? = null
@Required()
var Amount:Int? = null
@Required()
var Price:Double? = null
var VAT:BigDecimal? = null
@Required()
@StringLength(50)
var CurrencyId:String? = null
@Required()
var UpdatedDate:Date? = null
@Required()
var CreatedDate:Date? = null
var ModifiedDate:Date? = null
}
open class ArticleServiceRelation : BaseModel()
{
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
@Required()
var ServiceId:Int? = null
@Required()
var ArticleId:Int? = null
}
enum class ArticleTypeEnum(val value:Int)
{
ServiceArticle(1),
StandAloneArticle(2),
RebateCodePunchTicketArticle(3),
RebateCodeGiftCardArticle(4),
RebateCodeValueCardArticle(5),
}
open class RebateCodeDayOfWeekRelation : BaseModel()
{
@Ignore()
var DayOfWeek:BokaMeraDayOfWeek? = null
@Required()
var DayOfWeekId:Int? = null
@Required()
var RebateCodeId:Int? = null
@Required()
var CompanyId:UUID? = null
var Id:Int? = null
var ModifiedDate:Date? = null
}
open class RebateCodeServiceRelation : BaseModel()
{
@Required()
var CompanyId:UUID? = null
@Required()
var ServiceId:Int? = null
@Required()
var RebateCodeId:Int? = null
var Id:Int? = null
var ModifiedDate:Date? = null
}
open class RebateCodeBookingPriceRelation : BaseModel()
{
@Required()
var CompanyId:UUID? = null
@Required()
var PriceId:Int? = null
@Required()
var RebateCodeId:Int? = null
var Id:Int? = null
var ModifiedDate:Date? = null
}
open class RebateCodeCustomerRelation : BaseModel()
{
@Required()
var CompanyId:UUID? = null
@Required()
var CustomerId:UUID? = null
@Required()
var RebateCodeId:Int? = null
var Id:Int? = null
var ModifiedDate:Date? = null
var RebateCodeEmailSentToCustomer:Boolean? = null
var MessageToReceiver:String? = null
var Buyer:Boolean? = null
}
open class DaysOfWeek : BaseModel()
{
@Required()
var DayOfWeek:String? = null
@Required()
var DayOfWeekTranslation:String? = null
var DayOfWeekActive:Boolean? = null
var DayOfWeekSortOrder:Short? = null
var ModifiedDate:Date? = null
var Id:Int? = null
}
open class RebateCodeTransaction : BaseModel(), IBaseModelCreated, IBaseModelUpdated
{
@Ignore()
var Booking:Booking? = null
@Ignore()
var RebateCode:RebateCode? = null
@Ignore()
var Customer:Customer? = null
var Id:Int? = null
var CompanyId:UUID? = null
var Note:String? = null
@Required()
var RebateCodeId:Int? = null
@Required()
var Amount:Double? = null
@Required()
var Usage:Int? = null
var BookingId:Int? = null
@Required()
var UpdatedDate:Date? = null
@Required()
var CreatedDate:Date? = null
}
open class RebateCodeResponse
{
var Id:Int? = null
var CompanyId:UUID? = null
var ValidFrom:Date? = null
var ValidTo:Date? = null
/**
* If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.
*/
@ApiMember(Description="If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.")
var FromTime:TimeSpan? = null
/**
* If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.
*/
@ApiMember(Description="If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.")
var ToTime:TimeSpan? = null
var CreatedBy:String? = null
var Created:Date? = null
var UpdatedBy:String? = null
var Updated:Date? = null
var PersonalNote:String? = null
var RebateCodeSign:String? = null
var RebateCodeValue:Int? = null
var RebateCodeTypeId:Int? = null
var Name:String? = null
var RebateCodeStatusId:Int? = null
var StatusName:String? = null
var MaxNumberOfUses:Int? = null
var MaxNumberOfUsesPerCustomer:Int? = null
var NumberOfUsesUsed:Int? = null
var DaysOfWeek:ArrayList<DaysOfWeekResponse> = ArrayList<DaysOfWeekResponse>()
var Services:ArrayList<RebateCodeServiceResponse> = ArrayList<RebateCodeServiceResponse>()
var Article:ArticleResponse? = null
var Transactions:ArrayList<RebateCodeTransactionQueryResponse> = ArrayList<RebateCodeTransactionQueryResponse>()
var RemainingAmount:Double? = null
var RemainingUsage:Int? = null
var Customers:ArrayList<RebateCodeCustomerResponse> = ArrayList<RebateCodeCustomerResponse>()
var ResponseStatus:ResponseStatus? = null
var PaymentReceived:Boolean? = null
var RebateCodeCurrencySign:String? = null
var ActiveByStatus:Boolean? = null
var PriceSign:String? = null
var RebateCodeTypeName:String? = null
var Company:RebateCodeCompanyResponse? = null
}
open class DaysOfWeekResponse
{
var Id:Int? = null
var DayOfWeek:String? = null
var DayOfWeekTranslation:String? = null
var DayOfWeekActive:Boolean? = null
var DayOfWeekSortOrder:Short? = null
}
open class RebateCodeServiceResponse
{
var Id:Int? = null
var Name:String? = null
var Description:String? = null
var Active:Boolean? = null
}
open class ArticleResponse
{
var CompanyId:UUID? = null
var Id:Int? = null
var Name:String? = null
var ArticleTypeId:Int? = null
var Description:String? = null
var ImageUrl:String? = null
var Active:Boolean? = null
var Amount:Int? = null
var Price:Double? = null
var CurrencyId:String? = null
var UpdatedDate:Date? = null
var CreatedDate:Date? = null
var Services:ArrayList<ArticleServiceRelation> = ArrayList<ArticleServiceRelation>()
var ServiceIds:ArrayList<Int> = ArrayList<Int>()
var PriceSign:String? = null
var VAT:BigDecimal? = null
}
open class RebateCodeTransactionQueryResponse
{
var Id:Int? = null
var CompanyId:UUID? = null
var Note:String? = null
var RebateCodeId:Int? = null
var RebateCodeSign:String? = null
var RebateCodeTypeId:Int? = null
var RebateCodeTypeName:String? = null
var Amount:Double? = null
var Usage:String? = null
var BookingId:Int? = null
var UpdatedDate:Date? = null
var CreatedDate:Date? = null
var Service:RebateCodeServiceResponse? = null
var Customer:RebateCodeCustomerResponse? = null
var PriceSign:String? = null
}
open class RebateCodeCustomerResponse
{
var Id:UUID? = null
var Firstname:String? = null
var Lastname:String? = null
var Email:String? = null
var Phone:String? = null
var ImageUrl:String? = null
}
open class RebateCodeCompanyResponse
{
var SitePath:String? = null
var PaymentProviderId:Int? = null
}
@DataContract
open class QueryResponse<AccessKeyTypeResponse>
{
@DataMember(Order=1)
var Offset:Int? = null
@DataMember(Order=2)
var Total:Int? = null
@DataMember(Order=3)
var Results:ArrayList<AccessKeyTypeResponse> = ArrayList<AccessKeyTypeResponse>()
@DataMember(Order=4)
var Meta:HashMap<String,String> = HashMap<String,String>()
@DataMember(Order=5)
var ResponseStatus:ResponseStatus? = null
}
open class AccessKeyTypeResponse
{
var Id:Int? = null
var KeyType:String? = null
var Description:String? = null
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /rebatecodes HTTP/1.1 Host: testapi.bokamera.se Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <QueryResponseOfRebateCodeResponseWg5EthtI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types"> <Offset>0</Offset> <Total>0</Total> <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos"> <d2p1:RebateCodeResponse> <d2p1:ActiveByStatus>false</d2p1:ActiveByStatus> <d2p1:Article> <d2p1:Active>false</d2p1:Active> <d2p1:Amount>0</d2p1:Amount> <d2p1:ArticleTypeId>0</d2p1:ArticleTypeId> <d2p1:CompanyId>00000000-0000-0000-0000-000000000000</d2p1:CompanyId> <d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate> <d2p1:CurrencyId>String</d2p1:CurrencyId> <d2p1:Description>String</d2p1:Description> <d2p1:Id>0</d2p1:Id> <d2p1:ImageUrl>String</d2p1:ImageUrl> <d2p1:Name>String</d2p1:Name> <d2p1:Price>0</d2p1:Price> <d2p1:PriceSign>String</d2p1:PriceSign> <d2p1:ServiceIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>0</d5p1:int> </d2p1:ServiceIds> <d2p1:Services xmlns:d5p1="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Db"> <d5p1:ArticleServiceRelation> <d5p1:ArticleId>0</d5p1:ArticleId> <d5p1:CompanyId>00000000-0000-0000-0000-000000000000</d5p1:CompanyId> <d5p1:Id>0</d5p1:Id> <d5p1:ServiceId>0</d5p1:ServiceId> </d5p1:ArticleServiceRelation> </d2p1:Services> <d2p1:UpdatedDate>0001-01-01T00:00:00</d2p1:UpdatedDate> <d2p1:VAT>0</d2p1:VAT> </d2p1:Article> <d2p1:Company> <d2p1:PaymentProviderId>0</d2p1:PaymentProviderId> <d2p1:SitePath>String</d2p1:SitePath> </d2p1:Company> <d2p1:CompanyId>00000000-0000-0000-0000-000000000000</d2p1:CompanyId> <d2p1:Created>0001-01-01T00:00:00</d2p1:Created> <d2p1:CreatedBy>String</d2p1:CreatedBy> <d2p1:Customers> <d2p1:RebateCodeCustomerResponse> <d2p1:Email>String</d2p1:Email> <d2p1:Firstname>String</d2p1:Firstname> <d2p1:Id>00000000-0000-0000-0000-000000000000</d2p1:Id> <d2p1:ImageUrl>String</d2p1:ImageUrl> <d2p1:Lastname>String</d2p1:Lastname> <d2p1:Phone>String</d2p1:Phone> </d2p1:RebateCodeCustomerResponse> </d2p1:Customers> <d2p1:DaysOfWeek> <d2p1:DaysOfWeekResponse> <d2p1:DayOfWeek>String</d2p1:DayOfWeek> <d2p1:DayOfWeekActive>false</d2p1:DayOfWeekActive> <d2p1:DayOfWeekSortOrder>0</d2p1:DayOfWeekSortOrder> <d2p1:DayOfWeekTranslation>String</d2p1:DayOfWeekTranslation> <d2p1:Id>0</d2p1:Id> </d2p1:DaysOfWeekResponse> </d2p1:DaysOfWeek> <d2p1:FromTime>PT0S</d2p1:FromTime> <d2p1:Id>0</d2p1:Id> <d2p1:MaxNumberOfUses>0</d2p1:MaxNumberOfUses> <d2p1:MaxNumberOfUsesPerCustomer>0</d2p1:MaxNumberOfUsesPerCustomer> <d2p1:Name>String</d2p1:Name> <d2p1:NumberOfUsesUsed>0</d2p1:NumberOfUsesUsed> <d2p1:PaymentReceived>false</d2p1:PaymentReceived> <d2p1:PersonalNote>String</d2p1:PersonalNote> <d2p1:PriceSign>String</d2p1:PriceSign> <d2p1:RebateCodeCurrencySign>String</d2p1:RebateCodeCurrencySign> <d2p1:RebateCodeSign>String</d2p1:RebateCodeSign> <d2p1:RebateCodeStatusId>0</d2p1:RebateCodeStatusId> <d2p1:RebateCodeTypeId>0</d2p1:RebateCodeTypeId> <d2p1:RebateCodeTypeName>String</d2p1:RebateCodeTypeName> <d2p1:RebateCodeValue>0</d2p1:RebateCodeValue> <d2p1:RemainingAmount>0</d2p1:RemainingAmount> <d2p1:RemainingUsage>0</d2p1:RemainingUsage> <d2p1:ResponseStatus> <ErrorCode>String</ErrorCode> <Message>String</Message> <StackTrace>String</StackTrace> <Errors> <ResponseError> <ErrorCode>String</ErrorCode> <FieldName>String</FieldName> <Message>String</Message> <Meta xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>String</d7p1:Key> <d7p1:Value>String</d7p1:Value> </d7p1:KeyValueOfstringstring> </Meta> </ResponseError> </Errors> <Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </Meta> </d2p1:ResponseStatus> <d2p1:Services> <d2p1:RebateCodeServiceResponse> <d2p1:Active>false</d2p1:Active> <d2p1:Description>String</d2p1:Description> <d2p1:Id>0</d2p1:Id> <d2p1:Name>String</d2p1:Name> </d2p1:RebateCodeServiceResponse> </d2p1:Services> <d2p1:StatusName>String</d2p1:StatusName> <d2p1:ToTime>PT0S</d2p1:ToTime> <d2p1:Transactions> <d2p1:RebateCodeTransactionQueryResponse> <d2p1:Amount>0</d2p1:Amount> <d2p1:BookingId>0</d2p1:BookingId> <d2p1:CompanyId>00000000-0000-0000-0000-000000000000</d2p1:CompanyId> <d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate> <d2p1:Customer> <d2p1:Email>String</d2p1:Email> <d2p1:Firstname>String</d2p1:Firstname> <d2p1:Id>00000000-0000-0000-0000-000000000000</d2p1:Id> <d2p1:ImageUrl>String</d2p1:ImageUrl> <d2p1:Lastname>String</d2p1:Lastname> <d2p1:Phone>String</d2p1:Phone> </d2p1:Customer> <d2p1:Id>0</d2p1:Id> <d2p1:Note>String</d2p1:Note> <d2p1:PriceSign>String</d2p1:PriceSign> <d2p1:RebateCodeId>0</d2p1:RebateCodeId> <d2p1:RebateCodeSign>String</d2p1:RebateCodeSign> <d2p1:RebateCodeTypeId>0</d2p1:RebateCodeTypeId> <d2p1:RebateCodeTypeName>String</d2p1:RebateCodeTypeName> <d2p1:Service> <d2p1:Active>false</d2p1:Active> <d2p1:Description>String</d2p1:Description> <d2p1:Id>0</d2p1:Id> <d2p1:Name>String</d2p1:Name> </d2p1:Service> <d2p1:UpdatedDate>0001-01-01T00:00:00</d2p1:UpdatedDate> <d2p1:Usage>String</d2p1:Usage> </d2p1:RebateCodeTransactionQueryResponse> </d2p1:Transactions> <d2p1:Updated>0001-01-01T00:00:00</d2p1:Updated> <d2p1:UpdatedBy>String</d2p1:UpdatedBy> <d2p1:ValidFrom>0001-01-01T00:00:00</d2p1:ValidFrom> <d2p1:ValidTo>0001-01-01T00:00:00</d2p1:ValidTo> </d2p1:RebateCodeResponse> </Results> <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>String</d2p1:Key> <d2p1:Value>String</d2p1:Value> </d2p1:KeyValueOfstringstring> </Meta> <ResponseStatus> <ErrorCode>String</ErrorCode> <Message>String</Message> <StackTrace>String</StackTrace> <Errors> <ResponseError> <ErrorCode>String</ErrorCode> <FieldName>String</FieldName> <Message>String</Message> <Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </Meta> </ResponseError> </Errors> <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>String</d3p1:Key> <d3p1:Value>String</d3p1:Value> </d3p1:KeyValueOfstringstring> </Meta> </ResponseStatus> </QueryResponseOfRebateCodeResponseWg5EthtI>