Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NdoleStudio/lemonsqueezy-go
/ types & classes
Types & classes
112 in github.com/NdoleStudio/lemonsqueezy-go
⨍
Functions
243
◇
Types & classes
112
↓ 4 callers
FuncType
clientOptionFunc
func(config *clientConfig)
client_option.go:13
Struct
APIResponseRelationshipsCheckout
APIResponseRelationshipsCheckout relationships of a checkout
checkout.go:79
Struct
APIResponseRelationshipsDiscount
APIResponseRelationshipsDiscount relationships of a discount
discount.go:26
Struct
APIResponseRelationshipsOrder
APIResponseRelationshipsOrder relationships of an order
order.go:53
Struct
APIResponseRelationshipsPrice
APIResponseRelationshipsPrice relationships of a variant
price.go:37
Struct
APIResponseRelationshipsSubscriptionInvoice
APIResponseRelationshipsSubscriptionInvoice relationships of a subscription invoice
subscription_invoice.go:40
Struct
APIResponseRelationshipsVariant
APIResponseRelationshipsVariant relationships of a variant
variant.go:36
Struct
ApiResponse
ApiResponse represents an API response
contracts.go:4
Struct
ApiResponseData
ApiResponseData contains the api response data
contracts.go:34
Struct
ApiResponseDataWithoutRelationships
ApiResponseDataWithoutRelationships contains the api response data without any relationships
contracts.go:26
Struct
ApiResponseJSONAPI
ApiResponseJSONAPI API version
contracts.go:50
Struct
ApiResponseLink
ApiResponseLink defines a link
contracts.go:60
Struct
ApiResponseLinks
ApiResponseLinks contains links to related resources
contracts.go:55
Struct
ApiResponseList
ApiResponseList represents an API response with a list of items
contracts.go:18
Struct
ApiResponseListLink
ApiResponseListLink defines a link for list os resources
contracts.go:71
Struct
ApiResponseListMeta
ApiResponseListMeta defines the meta data for a list api response
contracts.go:78
Struct
ApiResponseListMetaPage
ApiResponseListMetaPage defines the pagination meta data for a list api response
contracts.go:83
Struct
ApiResponseMetaSubscriptionItemCurrentUsage
subscription_items.go:33
Struct
ApiResponseRelationshipWebhook
ApiResponseRelationshipWebhook relationships of a webhook
webhook.go:31
Struct
ApiResponseRelationshipsCustomer
ApiResponseRelationshipsCustomer relationships of a customer
customer.go:29
Struct
ApiResponseRelationshipsDiscountRedemption
ApiResponseRelationshipsDiscountRedemption relationships of a discount redemption
discount_redemption.go:19
Struct
ApiResponseRelationshipsFile
ApiResponseRelationshipsFile relationships of a file
file.go:22
Struct
ApiResponseRelationshipsLicenseKey
ApiResponseRelationshipsLicenseKey relationships of a license key
license_key.go:27
Struct
ApiResponseRelationshipsLicenseKeyInstance
ApiResponseRelationshipsLicenseKeyInstance relationships of a license key
license_key_instance.go:15
Struct
ApiResponseRelationshipsOrderItem
ApiResponseRelationshipsOrderItem relationships of an order-item
order_item.go:18
Struct
ApiResponseRelationshipsProduct
ApiResponseRelationshipsProduct relationships of a product
product.go:28
Struct
ApiResponseRelationshipsStore
ApiResponseRelationshipsStore relationships of a store object
store.go:25
Struct
ApiResponseRelationshipsSubscription
ApiResponseRelationshipsSubscription relationships of a subscription object
subscriptions.go:72
Struct
ApiResponseRelationshipsSubscriptionItem
ApiResponseRelationshipsSubscription relationships of a subscription item object
subscription_items.go:42
Struct
ApiResponseSelfLink
ApiResponseSelfLink defines a link
contracts.go:66
Struct
ApiResponseWithoutRelationships
ApiResponseWithoutRelationships represents an API response without relationships
contracts.go:11
Struct
BillingAddress
BillingAddress contains the checkout billing address
checkout.go:45
Struct
CheckoutAttributes
CheckoutAttributes contains information about a percentage or amount discount that can be applied to an order at checkout via a code.
checkout.go:6
Struct
CheckoutCreateAttributes
CheckoutCreateAttributes represents individual parameters for creating a checkout.
checkout.go:136
Struct
CheckoutCreateData
CheckoutCreateData represents the data options for creating a checkout.
checkout.go:97
Struct
CheckoutCreateDataQuantity
CheckoutCreateDataQuantity represents variant quantities when creating checkout
checkout.go:91
Struct
CheckoutCreateOptions
CheckoutCreateOptions represents the checkout options for creating a checkout. Note: We use pointers for the boolean fields as otherwise, setting the
checkout.go:112
Struct
CheckoutCreateProductOptions
CheckoutCreateProductOptions represents product options for creating a checkout.
checkout.go:124
Struct
CheckoutData
CheckoutData contains information about a checkout
checkout.go:51
Struct
CheckoutOptions
CheckoutOptions are options for a checkout
checkout.go:33
Struct
CheckoutPreview
CheckoutPreview contains information about a percentage or amount discount that can be applied to an order at checkout via a code.
checkout.go:61
Struct
CheckoutProductOptions
CheckoutProductOptions are options for a checkout product
checkout.go:21
TypeAlias
CheckoutsService
CheckoutsService is the API client for the `/v1/checkouts` endpoint
checkouts_service.go:11
Struct
Client
Client is the lemonsqueezy API client. Do not instantiate this client with Client{}. Use the New method instead.
client.go:17
Struct
CustomerAttributes
CustomerAttributes are the attributes of a lemonsqueezy customer
customer.go:6
TypeAlias
CustomersService
CustomersService is the API client for the `/v1/customers` endpoint
customers_service.go:10
Struct
DiscountAttributes
DiscountAttributes contains information about a percentage or amount discount that can be applied to an order at checkout via a code.
discount.go:6
Struct
DiscountCreateParams
DiscountCreateParams are parameters for creating a discount
discount.go:39
Struct
DiscountRedemptionAttributes
DiscountRedemptionAttributes is a record of a discount being applied to an order.
discount_redemption.go:6
TypeAlias
DiscountRedemptionsService
DiscountRedemptionsService is the API client for the `/v1/discount-redemptions` endpoint
discount_redemption_service.go:10
TypeAlias
DiscountsService
DiscountsService is the API client for the `/v1/discounts` endpoint
discounts_service.go:11
Struct
FileAttributes
FileAttributes represents a digital good that can be downloaded by a customer after the product has been purchased.
file.go:6
TypeAlias
FilesService
FilesService is the API client for the `/v1/files` endpoint
files_service.go:10
Struct
LicenseActivateApiResponse
licenses.go:42
Struct
LicenseAttributes
licenses.go:5
Struct
LicenseDeactivateApiResponse
licenses.go:51
Struct
LicenseInstance
licenses.go:23
Struct
LicenseKey
licenses.go:12
Struct
LicenseKeyAttributes
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
Struct
LicenseKeyInstanceAttributes
LicenseKeyInstanceAttributes represents a single instance (or activation) of a license key that has been issued to a customer.
license_key_instance.go:6
TypeAlias
LicenseKeyInstancesService
LicenseKeyInstancesService is the API client for the `/v1/license-key-instances` endpoint
license_key_instance_service.go:10
TypeAlias
LicenseKeysService
LicenseKeysService is the API client for the `/v1/license-keys` endpoint
license_key_service.go:10
Struct
LicenseMeta
licenses.go:29
Struct
LicenseValidateApiResponse
licenses.go:47
TypeAlias
LicensesService
LicensesService is the API client for the `/v1/licenses` endpoint
licenses_service.go:10
Interface
Option
Option is options for constructing a client
client_option.go:9
Struct
OrderAttributes
OrderAttributes for an order which is created when a customer purchases a product.
order.go:6
Struct
OrderItemAttributes
OrderItemAttributes is a line item for an order that includes product, variant and price information.
order_item.go:6
TypeAlias
OrderItemsService
OrderItemsService is the API client for the `/v1/order-items` endpoint
order_items_service.go:10
TypeAlias
OrdersService
OrdersService is the API client for the `/v1/orders` endpoint
orders_service.go:10
Struct
PriceAttributes
PriceAttributes represents a price added to a variant.
price.go:6
Struct
PriceAttributesTiers
PriceAttributesTiers is list of pricing tier objects when using volume and graduated pricing.
price.go:29
TypeAlias
PricesService
PricesService is the API client for the `/v1/prices` endpoint
prices_service.go:11
Struct
ProductAttributes
ProductAttributes are the attributes of a lemonsqueezy product
product.go:6
TypeAlias
ProductsService
ProductsService is the API client for the `/v1/products` endpoint
products_service.go:10
Struct
Resource
Resource returns a lemonsqueezy resource. It's similar to ApiResponseData but without the links
contracts.go:43
Struct
Response
Response captures the http response
response.go:11
Struct
StoreAttributes
StoreAttributes Everything in Lemon Squeezy belongs to a store.
store.go:6
TypeAlias
StoresService
StoresService is the API client for the `/v1/stores` endpoint
stores_service.go:11
Struct
Subscription
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
Struct
SubscriptionFirstSubscriptionItem
SubscriptionSubscriptionItem is an object representing the first subscription item belonging to this subscription.
subscriptions.go:37
Struct
SubscriptionInvoiceAttributes
SubscriptionInvoiceAttributes is the invoice for a subscription https://docs.lemonsqueezy.com/api/subscription-invoices#the-subscription-invoice-objec
subscription_invoice.go:7
Struct
SubscriptionInvoiceGenerateResponse
SubscriptionInvoiceGenerateResponse is the response when generating a subscription invoice
subscription_invoice.go:52
TypeAlias
SubscriptionInvoicesService
SubscriptionInvoicesService is the API client for the `/v1/subscription-invoices` endpoint
subscription_invoice_service.go:12
Struct
SubscriptionItem
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
Struct
SubscriptionItemCurrentUsageApiResponse
SubscriptionItemsCurrentUsageApiResponse represents the subscription item's current usage api response
subscription_items.go:55
Struct
SubscriptionItemListParams
SubscriptionItemListParams are parameters for filtering list responses
subscription_items.go:23
Struct
SubscriptionItemUpdateParams
SubscriptionUpdateParams are parameters for updating a subscription
subscription_items.go:17
Struct
SubscriptionItemUpdateParamsAttributes
SubscriptionUpdateParamsAttributes are subscription update attributes
subscription_items.go:29
TypeAlias
SubscriptionItemsService
SubscriptionItemsService is the API client for the `/subscription-items` endpoint
subscription_items_service.go:11
Struct
SubscriptionPause
SubscriptionPause is object of customer-facing URLs for managing the subscription.
subscriptions.go:49
Struct
SubscriptionURLs
SubscriptionURLs is object of customer-facing URLs for managing the subscription.
subscriptions.go:43
Struct
SubscriptionUpdateParams
SubscriptionUpdateParams are parameters for updating a subscription
subscriptions.go:55
Struct
SubscriptionUpdateParamsAttributes
SubscriptionUpdateParamsAttributes are subscription update attributes
subscriptions.go:61
TypeAlias
SubscriptionsService
SubscriptionsService is the API client for the `/subscriptions` endpoint
subscriptions_service.go:10
Struct
UserAttributes
UserAttributes represents your personal user account that you use to log in to Lemon Squeezy.
user.go:6
TypeAlias
UsersService
UsersService is the API client for the `/v1/users` endpoint
users_service.go:10
Struct
VariantAttributes
VariantAttributes represents a different option that is presented to the customer at checkout.
variant.go:6
TypeAlias
VariantsService
VariantsService is the API client for the `/v1/variants` endpoint
variants_service.go:11
Struct
WebhookAttributes
WebhookAttributes contains information about a webhook.
webhook.go:20
next →
1–100 of 112, ranked by callers