digitaluapi

<back to all web services

GetStripeSession

The following routes are available for this service:
All Verbs/stripe-session/{Id}
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports digitaluapi.ServiceModel
Imports Stripe.Checkout
Imports Stripe

Namespace Global

    Namespace digitaluapi.ServiceModel

        Public Partial Class GetStripeSession
            Public Overridable Property Id As String
        End Class
    End Namespace

    Namespace Stripe

        Public Partial Class Address
            Inherits StripeEntity(Of Address)
            Public Overridable Property City As String
            Public Overridable Property Country As String
            Public Overridable Property Line1 As String
            Public Overridable Property Line2 As String
            Public Overridable Property PostalCode As String
            Public Overridable Property State As String
        End Class

        Public Partial Class Coupon
            Inherits StripeEntity(Of Coupon)
            Implements IHasId
            Implements IHasMetadata
            Implements IHasObject
            Public Overridable Property Id As String Implements IHasId.Id
            Public Overridable Property [Object] As String Implements IHasObject.Object
            Public Overridable Property AmountOff As Long?
            Public Overridable Property AppliesTo As CouponAppliesTo
            Public Overridable Property Created As Date
            Public Overridable Property Currency As String
            Public Overridable Property CurrencyOptions As Dictionary(Of String, CouponCurrencyOptions)
            Public Overridable Property Deleted As Boolean?
            Public Overridable Property Duration As String
            Public Overridable Property DurationInMonths As Long?
            Public Overridable Property Livemode As Boolean
            Public Overridable Property MaxRedemptions As Long?
            Public Overridable Property Metadata As Dictionary(Of String, String) Implements IHasMetadata.Metadata
            Public Overridable Property Name As String
            Public Overridable Property PercentOff As Decimal?
            Public Overridable Property RedeemBy As Date?
            Public Overridable Property TimesRedeemed As Long
            Public Overridable Property Valid As Boolean
        End Class

        Public Partial Class CouponAppliesTo
            Inherits StripeEntity(Of CouponAppliesTo)
            Public Overridable Property Products As List(Of String)
        End Class

        Public Partial Class CouponCurrencyOptions
            Inherits StripeEntity(Of CouponCurrencyOptions)
            Public Overridable Property AmountOff As Long
        End Class

        Public Partial Class Discount
            Inherits StripeEntity(Of Discount)
            Implements IHasId
            Implements IHasObject
            Public Overridable Property Id As String Implements IHasId.Id
            Public Overridable Property [Object] As String Implements IHasObject.Object
            Public Overridable Property CheckoutSession As String
            Public Overridable Property Coupon As Coupon
            Public Overridable Property Deleted As Boolean?
            Public Overridable Property [End] As Date?
            Public Overridable Property Invoice As String
            Public Overridable Property InvoiceItem As String
            Public Overridable Property Start As Date?
        End Class

        Public Partial Class LineItem
            Inherits StripeEntity(Of LineItem)
            Implements IHasId
            Implements IHasObject
            Public Overridable Property Id As String Implements IHasId.Id
            Public Overridable Property [Object] As String Implements IHasObject.Object
            Public Overridable Property AmountDiscount As Long
            Public Overridable Property AmountSubtotal As Long
            Public Overridable Property AmountTax As Long
            Public Overridable Property AmountTotal As Long
            Public Overridable Property Currency As String
            Public Overridable Property Deleted As Boolean?
            Public Overridable Property Description As String
            Public Overridable Property Discounts As List(Of LineItemDiscount)
            Public Overridable Property Price As Price
            Public Overridable Property Quantity As Long?
            Public Overridable Property Taxes As List(Of LineItemTax)
        End Class

        Public Partial Class LineItemDiscount
            Inherits StripeEntity(Of LineItemDiscount)
            Public Overridable Property Amount As Long
            Public Overridable Property Discount As Discount
        End Class

        Public Partial Class LineItemTax
            Inherits StripeEntity(Of LineItemTax)
            Public Overridable Property Amount As Long
            Public Overridable Property Rate As TaxRate
        End Class

        Public Partial Class Price
            Inherits StripeEntity(Of Price)
            Implements IHasId
            Implements IHasMetadata
            Implements IHasObject
            Public Overridable Property Id As String Implements IHasId.Id
            Public Overridable Property [Object] As String Implements IHasObject.Object
            Public Overridable Property Active As Boolean
            Public Overridable Property BillingScheme As String
            Public Overridable Property Created As Date
            Public Overridable Property Currency As String
            Public Overridable Property CurrencyOptions As Dictionary(Of String, PriceCurrencyOptions)
            Public Overridable Property CustomUnitAmount As PriceCustomUnitAmount
            Public Overridable Property Deleted As Boolean?
            Public Overridable Property Livemode As Boolean
            Public Overridable Property LookupKey As String
            Public Overridable Property Metadata As Dictionary(Of String, String) Implements IHasMetadata.Metadata
            Public Overridable Property Nickname As String
            Public Overridable Property Recurring As PriceRecurring
            Public Overridable Property TaxBehavior As String
            Public Overridable Property Tiers As List(Of PriceTier)
            Public Overridable Property TiersMode As String
            Public Overridable Property TransformQuantity As PriceTransformQuantity
            Public Overridable Property Type As String
            Public Overridable Property UnitAmount As Long?
            Public Overridable Property UnitAmountDecimal As Decimal?
        End Class

        Public Partial Class PriceCurrencyOptions
            Inherits StripeEntity(Of PriceCurrencyOptions)
            Public Overridable Property CustomUnitAmount As PriceCurrencyOptionsCustomUnitAmount
            Public Overridable Property TaxBehavior As String
            Public Overridable Property Tiers As List(Of PriceCurrencyOptionsTier)
            Public Overridable Property UnitAmount As Long?
            Public Overridable Property UnitAmountDecimal As Decimal?
        End Class

        Public Partial Class PriceCurrencyOptionsCustomUnitAmount
            Inherits StripeEntity(Of PriceCurrencyOptionsCustomUnitAmount)
            Public Overridable Property Maximum As Long?
            Public Overridable Property Minimum As Long?
            Public Overridable Property Preset As Long?
        End Class

        Public Partial Class PriceCurrencyOptionsTier
            Inherits StripeEntity(Of PriceCurrencyOptionsTier)
            Public Overridable Property FlatAmount As Long?
            Public Overridable Property FlatAmountDecimal As Decimal?
            Public Overridable Property UnitAmount As Long?
            Public Overridable Property UnitAmountDecimal As Decimal?
            Public Overridable Property UpTo As Long?
        End Class

        Public Partial Class PriceCustomUnitAmount
            Inherits StripeEntity(Of PriceCustomUnitAmount)
            Public Overridable Property Maximum As Long?
            Public Overridable Property Minimum As Long?
            Public Overridable Property Preset As Long?
        End Class

        Public Partial Class PriceRecurring
            Inherits StripeEntity(Of PriceRecurring)
            Public Overridable Property AggregateUsage As String
            Public Overridable Property Interval As String
            Public Overridable Property IntervalCount As Long
            Public Overridable Property TrialPeriodDays As Long?
            Public Overridable Property UsageType As String
        End Class

        Public Partial Class PriceTier
            Inherits StripeEntity(Of PriceTier)
            Public Overridable Property FlatAmount As Long?
            Public Overridable Property FlatAmountDecimal As Decimal?
            Public Overridable Property UnitAmount As Long?
            Public Overridable Property UnitAmountDecimal As Decimal?
            Public Overridable Property UpTo As Long?
        End Class

        Public Partial Class PriceTransformQuantity
            Inherits StripeEntity(Of PriceTransformQuantity)
            Public Overridable Property DivideBy As Long
            Public Overridable Property Round As String
        End Class

        Public Partial Class StripeEntity
            Implements IStripeEntity
        End Class

        Public Partial Class StripeEntity(Of T)
            Inherits StripeEntity
        End Class

        Public Partial Class StripeList(Of T)
            Inherits StripeEntity(Of StripeList(Of T))
            Implements IHasObject
        End Class

        Public Partial Class TaxRate
            Inherits StripeEntity(Of TaxRate)
            Implements IHasId
            Implements IHasMetadata
            Implements IHasObject
            Public Overridable Property Id As String Implements IHasId.Id
            Public Overridable Property [Object] As String Implements IHasObject.Object
            Public Overridable Property Active As Boolean
            Public Overridable Property Country As String
            Public Overridable Property Created As Date
            Public Overridable Property Description As String
            Public Overridable Property DisplayName As String
            Public Overridable Property Inclusive As Boolean
            Public Overridable Property Jurisdiction As String
            Public Overridable Property Livemode As Boolean
            Public Overridable Property Metadata As Dictionary(Of String, String) Implements IHasMetadata.Metadata
            Public Overridable Property Percentage As Decimal
            Public Overridable Property State As String
            Public Overridable Property TaxType As String
        End Class
    End Namespace

    Namespace Stripe.Checkout

        Public Partial Class Session
            Inherits StripeEntity(Of Session)
            Implements IHasId
            Implements IHasMetadata
            Implements IHasObject
            Public Overridable Property Id As String Implements IHasId.Id
            Public Overridable Property [Object] As String Implements IHasObject.Object
            Public Overridable Property AfterExpiration As SessionAfterExpiration
            Public Overridable Property AllowPromotionCodes As Boolean?
            Public Overridable Property AmountSubtotal As Long?
            Public Overridable Property AmountTotal As Long?
            Public Overridable Property AutomaticTax As SessionAutomaticTax
            Public Overridable Property BillingAddressCollection As String
            Public Overridable Property CancelUrl As String
            Public Overridable Property ClientReferenceId As String
            Public Overridable Property Consent As SessionConsent
            Public Overridable Property ConsentCollection As SessionConsentCollection
            Public Overridable Property Created As Date
            Public Overridable Property Currency As String
            Public Overridable Property CustomFields As List(Of SessionCustomField)
            Public Overridable Property CustomText As SessionCustomText
            Public Overridable Property CustomerCreation As String
            Public Overridable Property CustomerDetails As SessionCustomerDetails
            Public Overridable Property CustomerEmail As String
            Public Overridable Property ExpiresAt As Date
            Public Overridable Property InvoiceCreation As SessionInvoiceCreation
            Public Overridable Property LineItems As StripeList(Of LineItem)
            Public Overridable Property Livemode As Boolean
            Public Overridable Property Locale As String
            Public Overridable Property Metadata As Dictionary(Of String, String) Implements IHasMetadata.Metadata
            Public Overridable Property Mode As String
            Public Overridable Property PaymentMethodCollection As String
            Public Overridable Property PaymentMethodOptions As SessionPaymentMethodOptions
            Public Overridable Property PaymentMethodTypes As List(Of String)
            Public Overridable Property PaymentStatus As String
            Public Overridable Property PhoneNumberCollection As SessionPhoneNumberCollection
            Public Overridable Property RecoveredFrom As String
            Public Overridable Property ShippingAddressCollection As SessionShippingAddressCollection
            Public Overridable Property ShippingCost As SessionShippingCost
            Public Overridable Property ShippingDetails As SessionShippingDetails
            Public Overridable Property ShippingOptions As List(Of SessionShippingOption)
            Public Overridable Property Status As String
            Public Overridable Property SubmitType As String
            Public Overridable Property SuccessUrl As String
            Public Overridable Property TaxIdCollection As SessionTaxIdCollection
            Public Overridable Property TotalDetails As SessionTotalDetails
            Public Overridable Property Url As String
        End Class

        Public Partial Class SessionAfterExpiration
            Inherits StripeEntity(Of SessionAfterExpiration)
            Public Overridable Property Recovery As SessionAfterExpirationRecovery
        End Class

        Public Partial Class SessionAfterExpirationRecovery
            Inherits StripeEntity(Of SessionAfterExpirationRecovery)
            Public Overridable Property AllowPromotionCodes As Boolean
            Public Overridable Property Enabled As Boolean
            Public Overridable Property ExpiresAt As Date?
            Public Overridable Property Url As String
        End Class

        Public Partial Class SessionAutomaticTax
            Inherits StripeEntity(Of SessionAutomaticTax)
            Public Overridable Property Enabled As Boolean
            Public Overridable Property Status As String
        End Class

        Public Partial Class SessionConsent
            Inherits StripeEntity(Of SessionConsent)
            Public Overridable Property Promotions As String
            Public Overridable Property TermsOfService As String
        End Class

        Public Partial Class SessionConsentCollection
            Inherits StripeEntity(Of SessionConsentCollection)
            Public Overridable Property Promotions As String
            Public Overridable Property TermsOfService As String
        End Class

        Public Partial Class SessionCustomerDetails
            Inherits StripeEntity(Of SessionCustomerDetails)
            Public Overridable Property Address As Address
            Public Overridable Property Email As String
            Public Overridable Property Name As String
            Public Overridable Property Phone As String
            Public Overridable Property TaxExempt As String
            Public Overridable Property TaxIds As List(Of SessionCustomerDetailsTaxId)
        End Class

        Public Partial Class SessionCustomerDetailsTaxId
            Inherits StripeEntity(Of SessionCustomerDetailsTaxId)
            Public Overridable Property Type As String
            Public Overridable Property Value As String
        End Class

        Public Partial Class SessionCustomField
            Inherits StripeEntity(Of SessionCustomField)
            Public Overridable Property Dropdown As SessionCustomFieldDropdown
            Public Overridable Property Key As String
            Public Overridable Property Label As SessionCustomFieldLabel
            Public Overridable Property Numeric As SessionCustomFieldNumeric
            Public Overridable Property [Optional] As Boolean
            Public Overridable Property Text As SessionCustomFieldText
            Public Overridable Property Type As String
        End Class

        Public Partial Class SessionCustomFieldDropdown
            Inherits StripeEntity(Of SessionCustomFieldDropdown)
            Public Overridable Property Options As List(Of SessionCustomFieldDropdownOption)
            Public Overridable Property Value As String
        End Class

        Public Partial Class SessionCustomFieldDropdownOption
            Inherits StripeEntity(Of SessionCustomFieldDropdownOption)
            Public Overridable Property Label As String
            Public Overridable Property Value As String
        End Class

        Public Partial Class SessionCustomFieldLabel
            Inherits StripeEntity(Of SessionCustomFieldLabel)
            Public Overridable Property Custom As String
            Public Overridable Property Type As String
        End Class

        Public Partial Class SessionCustomFieldNumeric
            Inherits StripeEntity(Of SessionCustomFieldNumeric)
            Public Overridable Property Value As String
        End Class

        Public Partial Class SessionCustomFieldText
            Inherits StripeEntity(Of SessionCustomFieldText)
            Public Overridable Property Value As String
        End Class

        Public Partial Class SessionCustomText
            Inherits StripeEntity(Of SessionCustomText)
            Public Overridable Property ShippingAddress As SessionCustomTextShippingAddress
            Public Overridable Property Submit As SessionCustomTextSubmit
        End Class

        Public Partial Class SessionCustomTextShippingAddress
            Inherits StripeEntity(Of SessionCustomTextShippingAddress)
            Public Overridable Property Message As String
        End Class

        Public Partial Class SessionCustomTextSubmit
            Inherits StripeEntity(Of SessionCustomTextSubmit)
            Public Overridable Property Message As String
        End Class

        Public Partial Class SessionInvoiceCreation
            Inherits StripeEntity(Of SessionInvoiceCreation)
            Public Overridable Property Enabled As Boolean
            Public Overridable Property InvoiceData As SessionInvoiceCreationInvoiceData
        End Class

        Public Partial Class SessionInvoiceCreationInvoiceData
            Inherits StripeEntity(Of SessionInvoiceCreationInvoiceData)
            Implements IHasMetadata
            Public Overridable Property CustomFields As List(Of SessionInvoiceCreationInvoiceDataCustomField)
            Public Overridable Property Description As String
            Public Overridable Property Footer As String
            Public Overridable Property Metadata As Dictionary(Of String, String) Implements IHasMetadata.Metadata
            Public Overridable Property RenderingOptions As SessionInvoiceCreationInvoiceDataRenderingOptions
        End Class

        Public Partial Class SessionInvoiceCreationInvoiceDataCustomField
            Inherits StripeEntity(Of SessionInvoiceCreationInvoiceDataCustomField)
            Public Overridable Property Name As String
            Public Overridable Property Value As String
        End Class

        Public Partial Class SessionInvoiceCreationInvoiceDataRenderingOptions
            Inherits StripeEntity(Of SessionInvoiceCreationInvoiceDataRenderingOptions)
            Public Overridable Property AmountTaxDisplay As String
        End Class

        Public Partial Class SessionPaymentMethodOptions
            Inherits StripeEntity(Of SessionPaymentMethodOptions)
            Public Overridable Property AcssDebit As SessionPaymentMethodOptionsAcssDebit
            Public Overridable Property Affirm As SessionPaymentMethodOptionsAffirm
            Public Overridable Property AfterpayClearpay As SessionPaymentMethodOptionsAfterpayClearpay
            Public Overridable Property Alipay As SessionPaymentMethodOptionsAlipay
            Public Overridable Property AuBecsDebit As SessionPaymentMethodOptionsAuBecsDebit
            Public Overridable Property BacsDebit As SessionPaymentMethodOptionsBacsDebit
            Public Overridable Property Bancontact As SessionPaymentMethodOptionsBancontact
            Public Overridable Property Boleto As SessionPaymentMethodOptionsBoleto
            Public Overridable Property Card As SessionPaymentMethodOptionsCard
            Public Overridable Property CustomerBalance As SessionPaymentMethodOptionsCustomerBalance
            Public Overridable Property Eps As SessionPaymentMethodOptionsEps
            Public Overridable Property Fpx As SessionPaymentMethodOptionsFpx
            Public Overridable Property Giropay As SessionPaymentMethodOptionsGiropay
            Public Overridable Property Grabpay As SessionPaymentMethodOptionsGrabpay
            Public Overridable Property Ideal As SessionPaymentMethodOptionsIdeal
            Public Overridable Property Klarna As SessionPaymentMethodOptionsKlarna
            Public Overridable Property Konbini As SessionPaymentMethodOptionsKonbini
            Public Overridable Property Oxxo As SessionPaymentMethodOptionsOxxo
            Public Overridable Property P24 As SessionPaymentMethodOptionsP24
            Public Overridable Property Paynow As SessionPaymentMethodOptionsPaynow
            Public Overridable Property Pix As SessionPaymentMethodOptionsPix
            Public Overridable Property SepaDebit As SessionPaymentMethodOptionsSepaDebit
            Public Overridable Property Sofort As SessionPaymentMethodOptionsSofort
            Public Overridable Property UsBankAccount As SessionPaymentMethodOptionsUsBankAccount
        End Class

        Public Partial Class SessionPaymentMethodOptionsAcssDebit
            Inherits StripeEntity(Of SessionPaymentMethodOptionsAcssDebit)
            Public Overridable Property Currency As String
            Public Overridable Property MandateOptions As SessionPaymentMethodOptionsAcssDebitMandateOptions
            Public Overridable Property SetupFutureUsage As String
            Public Overridable Property VerificationMethod As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsAcssDebitMandateOptions
            Inherits StripeEntity(Of SessionPaymentMethodOptionsAcssDebitMandateOptions)
            Public Overridable Property CustomMandateUrl As String
            Public Overridable Property DefaultFor As List(Of String)
            Public Overridable Property IntervalDescription As String
            Public Overridable Property PaymentSchedule As String
            Public Overridable Property TransactionType As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsAffirm
            Inherits StripeEntity(Of SessionPaymentMethodOptionsAffirm)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsAfterpayClearpay
            Inherits StripeEntity(Of SessionPaymentMethodOptionsAfterpayClearpay)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsAlipay
            Inherits StripeEntity(Of SessionPaymentMethodOptionsAlipay)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsAuBecsDebit
            Inherits StripeEntity(Of SessionPaymentMethodOptionsAuBecsDebit)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsBacsDebit
            Inherits StripeEntity(Of SessionPaymentMethodOptionsBacsDebit)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsBancontact
            Inherits StripeEntity(Of SessionPaymentMethodOptionsBancontact)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsBoleto
            Inherits StripeEntity(Of SessionPaymentMethodOptionsBoleto)
            Public Overridable Property ExpiresAfterDays As Long
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsCard
            Inherits StripeEntity(Of SessionPaymentMethodOptionsCard)
            Public Overridable Property Installments As SessionPaymentMethodOptionsCardInstallments
            Public Overridable Property SetupFutureUsage As String
            Public Overridable Property StatementDescriptorSuffixKana As String
            Public Overridable Property StatementDescriptorSuffixKanji As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsCardInstallments
            Inherits StripeEntity(Of SessionPaymentMethodOptionsCardInstallments)
            Public Overridable Property Enabled As Boolean
        End Class

        Public Partial Class SessionPaymentMethodOptionsCustomerBalance
            Inherits StripeEntity(Of SessionPaymentMethodOptionsCustomerBalance)
            Public Overridable Property BankTransfer As SessionPaymentMethodOptionsCustomerBalanceBankTransfer
            Public Overridable Property FundingType As String
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsCustomerBalanceBankTransfer
            Inherits StripeEntity(Of SessionPaymentMethodOptionsCustomerBalanceBankTransfer)
            Public Overridable Property EuBankTransfer As SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer
            Public Overridable Property RequestedAddressTypes As List(Of String)
            Public Overridable Property Type As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer
            Inherits StripeEntity(Of SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer)
            Public Overridable Property Country As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsEps
            Inherits StripeEntity(Of SessionPaymentMethodOptionsEps)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsFpx
            Inherits StripeEntity(Of SessionPaymentMethodOptionsFpx)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsGiropay
            Inherits StripeEntity(Of SessionPaymentMethodOptionsGiropay)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsGrabpay
            Inherits StripeEntity(Of SessionPaymentMethodOptionsGrabpay)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsIdeal
            Inherits StripeEntity(Of SessionPaymentMethodOptionsIdeal)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsKlarna
            Inherits StripeEntity(Of SessionPaymentMethodOptionsKlarna)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsKonbini
            Inherits StripeEntity(Of SessionPaymentMethodOptionsKonbini)
            Public Overridable Property ExpiresAfterDays As Long?
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsOxxo
            Inherits StripeEntity(Of SessionPaymentMethodOptionsOxxo)
            Public Overridable Property ExpiresAfterDays As Long
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsP24
            Inherits StripeEntity(Of SessionPaymentMethodOptionsP24)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsPaynow
            Inherits StripeEntity(Of SessionPaymentMethodOptionsPaynow)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsPix
            Inherits StripeEntity(Of SessionPaymentMethodOptionsPix)
            Public Overridable Property ExpiresAfterSeconds As Long?
        End Class

        Public Partial Class SessionPaymentMethodOptionsSepaDebit
            Inherits StripeEntity(Of SessionPaymentMethodOptionsSepaDebit)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsSofort
            Inherits StripeEntity(Of SessionPaymentMethodOptionsSofort)
            Public Overridable Property SetupFutureUsage As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsUsBankAccount
            Inherits StripeEntity(Of SessionPaymentMethodOptionsUsBankAccount)
            Public Overridable Property FinancialConnections As SessionPaymentMethodOptionsUsBankAccountFinancialConnections
            Public Overridable Property SetupFutureUsage As String
            Public Overridable Property VerificationMethod As String
        End Class

        Public Partial Class SessionPaymentMethodOptionsUsBankAccountFinancialConnections
            Inherits StripeEntity(Of SessionPaymentMethodOptionsUsBankAccountFinancialConnections)
            Public Overridable Property Permissions As List(Of String)
            Public Overridable Property ReturnUrl As String
        End Class

        Public Partial Class SessionPhoneNumberCollection
            Inherits StripeEntity(Of SessionPhoneNumberCollection)
            Public Overridable Property Enabled As Boolean
        End Class

        Public Partial Class SessionShippingAddressCollection
            Inherits StripeEntity(Of SessionShippingAddressCollection)
            Public Overridable Property AllowedCountries As List(Of String)
        End Class

        Public Partial Class SessionShippingCost
            Inherits StripeEntity(Of SessionShippingCost)
            Public Overridable Property AmountSubtotal As Long
            Public Overridable Property AmountTax As Long
            Public Overridable Property AmountTotal As Long
            Public Overridable Property Taxes As List(Of SessionShippingCostTax)
        End Class

        Public Partial Class SessionShippingCostTax
            Inherits StripeEntity(Of SessionShippingCostTax)
            Public Overridable Property Amount As Long
            Public Overridable Property Rate As TaxRate
        End Class

        Public Partial Class SessionShippingDetails
            Inherits StripeEntity(Of SessionShippingDetails)
            Public Overridable Property Address As Address
            Public Overridable Property Carrier As String
            Public Overridable Property Name As String
            Public Overridable Property Phone As String
            Public Overridable Property TrackingNumber As String
        End Class

        Public Partial Class SessionShippingOption
            Inherits StripeEntity(Of SessionShippingOption)
            Public Overridable Property ShippingAmount As Long
        End Class

        Public Partial Class SessionTaxIdCollection
            Inherits StripeEntity(Of SessionTaxIdCollection)
            Public Overridable Property Enabled As Boolean
        End Class

        Public Partial Class SessionTotalDetails
            Inherits StripeEntity(Of SessionTotalDetails)
            Public Overridable Property AmountDiscount As Long
            Public Overridable Property AmountShipping As Long?
            Public Overridable Property AmountTax As Long
            Public Overridable Property Breakdown As SessionTotalDetailsBreakdown
        End Class

        Public Partial Class SessionTotalDetailsBreakdown
            Inherits StripeEntity(Of SessionTotalDetailsBreakdown)
            Public Overridable Property Discounts As List(Of SessionTotalDetailsBreakdownDiscount)
            Public Overridable Property Taxes As List(Of SessionTotalDetailsBreakdownTax)
        End Class

        Public Partial Class SessionTotalDetailsBreakdownDiscount
            Inherits StripeEntity(Of SessionTotalDetailsBreakdownDiscount)
            Public Overridable Property Amount As Long
            Public Overridable Property Discount As Discount
        End Class

        Public Partial Class SessionTotalDetailsBreakdownTax
            Inherits StripeEntity(Of SessionTotalDetailsBreakdownTax)
            Public Overridable Property Amount As Long
            Public Overridable Property Rate As TaxRate
        End Class
    End Namespace
End Namespace

VB.NET GetStripeSession DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /stripe-session/{Id} HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Id":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'Session' using the custom 'csv' filter}Exception has been thrown by the target of an invocation.