MCPcopy Create free account

hub / github.com/NdoleStudio/lemonsqueezy-go / types & classes

Types & classes112 in github.com/NdoleStudio/lemonsqueezy-go

↓ 4 callersFuncTypeclientOptionFunc
func(config *clientConfig)
client_option.go:13
StructAPIResponseRelationshipsCheckout
APIResponseRelationshipsCheckout relationships of a checkout
checkout.go:79
StructAPIResponseRelationshipsDiscount
APIResponseRelationshipsDiscount relationships of a discount
discount.go:26
StructAPIResponseRelationshipsOrder
APIResponseRelationshipsOrder relationships of an order
order.go:53
StructAPIResponseRelationshipsPrice
APIResponseRelationshipsPrice relationships of a variant
price.go:37
StructAPIResponseRelationshipsSubscriptionInvoice
APIResponseRelationshipsSubscriptionInvoice relationships of a subscription invoice
subscription_invoice.go:40
StructAPIResponseRelationshipsVariant
APIResponseRelationshipsVariant relationships of a variant
variant.go:36
StructApiResponse
ApiResponse represents an API response
contracts.go:4
StructApiResponseData
ApiResponseData contains the api response data
contracts.go:34
StructApiResponseDataWithoutRelationships
ApiResponseDataWithoutRelationships contains the api response data without any relationships
contracts.go:26
StructApiResponseJSONAPI
ApiResponseJSONAPI API version
contracts.go:50
StructApiResponseLink
ApiResponseLink defines a link
contracts.go:60
StructApiResponseLinks
ApiResponseLinks contains links to related resources
contracts.go:55
StructApiResponseList
ApiResponseList represents an API response with a list of items
contracts.go:18
StructApiResponseListLink
ApiResponseListLink defines a link for list os resources
contracts.go:71
StructApiResponseListMeta
ApiResponseListMeta defines the meta data for a list api response
contracts.go:78
StructApiResponseListMetaPage
ApiResponseListMetaPage defines the pagination meta data for a list api response
contracts.go:83
StructApiResponseMetaSubscriptionItemCurrentUsage
subscription_items.go:33
StructApiResponseRelationshipWebhook
ApiResponseRelationshipWebhook relationships of a webhook
webhook.go:31
StructApiResponseRelationshipsCustomer
ApiResponseRelationshipsCustomer relationships of a customer
customer.go:29
StructApiResponseRelationshipsDiscountRedemption
ApiResponseRelationshipsDiscountRedemption relationships of a discount redemption
discount_redemption.go:19
StructApiResponseRelationshipsFile
ApiResponseRelationshipsFile relationships of a file
file.go:22
StructApiResponseRelationshipsLicenseKey
ApiResponseRelationshipsLicenseKey relationships of a license key
license_key.go:27
StructApiResponseRelationshipsLicenseKeyInstance
ApiResponseRelationshipsLicenseKeyInstance relationships of a license key
license_key_instance.go:15
StructApiResponseRelationshipsOrderItem
ApiResponseRelationshipsOrderItem relationships of an order-item
order_item.go:18
StructApiResponseRelationshipsProduct
ApiResponseRelationshipsProduct relationships of a product
product.go:28
StructApiResponseRelationshipsStore
ApiResponseRelationshipsStore relationships of a store object
store.go:25
StructApiResponseRelationshipsSubscription
ApiResponseRelationshipsSubscription relationships of a subscription object
subscriptions.go:72
StructApiResponseRelationshipsSubscriptionItem
ApiResponseRelationshipsSubscription relationships of a subscription item object
subscription_items.go:42
StructApiResponseSelfLink
ApiResponseSelfLink defines a link
contracts.go:66
StructApiResponseWithoutRelationships
ApiResponseWithoutRelationships represents an API response without relationships
contracts.go:11
StructBillingAddress
BillingAddress contains the checkout billing address
checkout.go:45
StructCheckoutAttributes
CheckoutAttributes contains information about a percentage or amount discount that can be applied to an order at checkout via a code.
checkout.go:6
StructCheckoutCreateAttributes
CheckoutCreateAttributes represents individual parameters for creating a checkout.
checkout.go:136
StructCheckoutCreateData
CheckoutCreateData represents the data options for creating a checkout.
checkout.go:97
StructCheckoutCreateDataQuantity
CheckoutCreateDataQuantity represents variant quantities when creating checkout
checkout.go:91
StructCheckoutCreateOptions
CheckoutCreateOptions represents the checkout options for creating a checkout. Note: We use pointers for the boolean fields as otherwise, setting the
checkout.go:112
StructCheckoutCreateProductOptions
CheckoutCreateProductOptions represents product options for creating a checkout.
checkout.go:124
StructCheckoutData
CheckoutData contains information about a checkout
checkout.go:51
StructCheckoutOptions
CheckoutOptions are options for a checkout
checkout.go:33
StructCheckoutPreview
CheckoutPreview contains information about a percentage or amount discount that can be applied to an order at checkout via a code.
checkout.go:61
StructCheckoutProductOptions
CheckoutProductOptions are options for a checkout product
checkout.go:21
TypeAliasCheckoutsService
CheckoutsService is the API client for the `/v1/checkouts` endpoint
checkouts_service.go:11
StructClient
Client is the lemonsqueezy API client. Do not instantiate this client with Client{}. Use the New method instead.
client.go:17
StructCustomerAttributes
CustomerAttributes are the attributes of a lemonsqueezy customer
customer.go:6
TypeAliasCustomersService
CustomersService is the API client for the `/v1/customers` endpoint
customers_service.go:10
StructDiscountAttributes
DiscountAttributes contains information about a percentage or amount discount that can be applied to an order at checkout via a code.
discount.go:6
StructDiscountCreateParams
DiscountCreateParams are parameters for creating a discount
discount.go:39
StructDiscountRedemptionAttributes
DiscountRedemptionAttributes is a record of a discount being applied to an order.
discount_redemption.go:6
TypeAliasDiscountRedemptionsService
DiscountRedemptionsService is the API client for the `/v1/discount-redemptions` endpoint
discount_redemption_service.go:10
TypeAliasDiscountsService
DiscountsService is the API client for the `/v1/discounts` endpoint
discounts_service.go:11
StructFileAttributes
FileAttributes represents a digital good that can be downloaded by a customer after the product has been purchased.
file.go:6
TypeAliasFilesService
FilesService is the API client for the `/v1/files` endpoint
files_service.go:10
StructLicenseActivateApiResponse
licenses.go:42
StructLicenseAttributes
licenses.go:5
StructLicenseDeactivateApiResponse
licenses.go:51
StructLicenseInstance
licenses.go:23
StructLicenseKey
licenses.go:12
StructLicenseKeyAttributes
LicenseKeyAttributes contains information about a license key which can be used to externally verify that customer has access to a product.
license_key.go:6
StructLicenseKeyInstanceAttributes
LicenseKeyInstanceAttributes represents a single instance (or activation) of a license key that has been issued to a customer.
license_key_instance.go:6
TypeAliasLicenseKeyInstancesService
LicenseKeyInstancesService is the API client for the `/v1/license-key-instances` endpoint
license_key_instance_service.go:10
TypeAliasLicenseKeysService
LicenseKeysService is the API client for the `/v1/license-keys` endpoint
license_key_service.go:10
StructLicenseMeta
licenses.go:29
StructLicenseValidateApiResponse
licenses.go:47
TypeAliasLicensesService
LicensesService is the API client for the `/v1/licenses` endpoint
licenses_service.go:10
InterfaceOption
Option is options for constructing a client
client_option.go:9
StructOrderAttributes
OrderAttributes for an order which is created when a customer purchases a product.
order.go:6
StructOrderItemAttributes
OrderItemAttributes is a line item for an order that includes product, variant and price information.
order_item.go:6
TypeAliasOrderItemsService
OrderItemsService is the API client for the `/v1/order-items` endpoint
order_items_service.go:10
TypeAliasOrdersService
OrdersService is the API client for the `/v1/orders` endpoint
orders_service.go:10
StructPriceAttributes
PriceAttributes represents a price added to a variant.
price.go:6
StructPriceAttributesTiers
PriceAttributesTiers is list of pricing tier objects when using volume and graduated pricing.
price.go:29
TypeAliasPricesService
PricesService is the API client for the `/v1/prices` endpoint
prices_service.go:11
StructProductAttributes
ProductAttributes are the attributes of a lemonsqueezy product
product.go:6
TypeAliasProductsService
ProductsService is the API client for the `/v1/products` endpoint
products_service.go:10
StructResource
Resource returns a lemonsqueezy resource. It's similar to ApiResponseData but without the links
contracts.go:43
StructResponse
Response captures the http response
response.go:11
StructStoreAttributes
StoreAttributes Everything in Lemon Squeezy belongs to a store.
store.go:6
TypeAliasStoresService
StoresService is the API client for the `/v1/stores` endpoint
stores_service.go:11
StructSubscription
Subscription is created when a subscription product is purchased and will bill the customer on a recurring basis. https://docs.lemonsqueezy.com/api/su
subscriptions.go:7
StructSubscriptionFirstSubscriptionItem
SubscriptionSubscriptionItem is an object representing the first subscription item belonging to this subscription.
subscriptions.go:37
StructSubscriptionInvoiceAttributes
SubscriptionInvoiceAttributes is the invoice for a subscription https://docs.lemonsqueezy.com/api/subscription-invoices#the-subscription-invoice-objec
subscription_invoice.go:7
StructSubscriptionInvoiceGenerateResponse
SubscriptionInvoiceGenerateResponse is the response when generating a subscription invoice
subscription_invoice.go:52
TypeAliasSubscriptionInvoicesService
SubscriptionInvoicesService is the API client for the `/v1/subscription-invoices` endpoint
subscription_invoice_service.go:12
StructSubscriptionItem
In Lemon Squeezy A subscription item is an object that links a price to a subscription and also contains quantity information. https://docs.lemonsquee
subscription_items.go:7
StructSubscriptionItemCurrentUsageApiResponse
SubscriptionItemsCurrentUsageApiResponse represents the subscription item's current usage api response
subscription_items.go:55
StructSubscriptionItemListParams
SubscriptionItemListParams are parameters for filtering list responses
subscription_items.go:23
StructSubscriptionItemUpdateParams
SubscriptionUpdateParams are parameters for updating a subscription
subscription_items.go:17
StructSubscriptionItemUpdateParamsAttributes
SubscriptionUpdateParamsAttributes are subscription update attributes
subscription_items.go:29
TypeAliasSubscriptionItemsService
SubscriptionItemsService is the API client for the `/subscription-items` endpoint
subscription_items_service.go:11
StructSubscriptionPause
SubscriptionPause is object of customer-facing URLs for managing the subscription.
subscriptions.go:49
StructSubscriptionURLs
SubscriptionURLs is object of customer-facing URLs for managing the subscription.
subscriptions.go:43
StructSubscriptionUpdateParams
SubscriptionUpdateParams are parameters for updating a subscription
subscriptions.go:55
StructSubscriptionUpdateParamsAttributes
SubscriptionUpdateParamsAttributes are subscription update attributes
subscriptions.go:61
TypeAliasSubscriptionsService
SubscriptionsService is the API client for the `/subscriptions` endpoint
subscriptions_service.go:10
StructUserAttributes
UserAttributes represents your personal user account that you use to log in to Lemon Squeezy.
user.go:6
TypeAliasUsersService
UsersService is the API client for the `/v1/users` endpoint
users_service.go:10
StructVariantAttributes
VariantAttributes represents a different option that is presented to the customer at checkout.
variant.go:6
TypeAliasVariantsService
VariantsService is the API client for the `/v1/variants` endpoint
variants_service.go:11
StructWebhookAttributes
WebhookAttributes contains information about a webhook.
webhook.go:20
next →1–100 of 112, ranked by callers