Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Globals ¶
type Globals struct {
// The identifier referring to the [profile](get-profile) you wish to
// retrieve the resources for.
//
// Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For
// organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required.
ProfileID *string `queryParam:"style=form,explode=true,name=profileId"`
// Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
// parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
// setting the `testmode` query parameter to `true`.
//
// Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
Testmode *bool `queryParam:"style=form,explode=true,name=testmode"`
// Custom user agent string to be appended to the default Mollie SDK user agent.
CustomUserAgent *string `header:"style=simple,explode=false,name=customUserAgent"`
}
func (*Globals) GetCustomUserAgent ¶
func (*Globals) GetProfileID ¶
func (*Globals) GetTestmode ¶
Click to show internal directories.
Click to hide internal directories.