cashfree_pg_sdk_go

package
v2.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XPlatform      = "x-sdk-platform"
	XPlatformValue = "gosdk_2.1.1"
)

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedOfferTypeEnumValues = []OfferType{
	"DISCOUNT",
	"CASHBACK",
	"DISCOUNT_AND_CASHBACK",
	"NO_COST_EMI",
}

All allowed values of OfferType enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func CaptureError added in v2.0.2

func CaptureError(api string)
func CreateLink(session *CFConfig, header *CFHeader, cFLinkRequest CFLinkRequest) (*CFLink, *CFResponseHeader, *CFError)

Create Link API

func CreateOffer added in v2.1.2

func CreateOffer(session *CFConfig, header *CFHeader, createOfferRequest CFCreateOfferBackendRequest) (*CFOfferEntity, *CFResponseHeader, *CFError)

func CreateOrder

func CreateOrder(session *CFConfig, header *CFHeader, order CFOrderRequest) (*CFOrder, *CFResponseHeader, *CFError)

Create Order

func FetchRefundData

func FetchRefundData(session *CFConfig, header *CFHeader, refundId string, orderId string) (*CFRefund, *CFResponseHeader, *CFError)

Fetch Refund Data

func GetInstrumentCryptogramByInstrumentID

func GetInstrumentCryptogramByInstrumentID(session *CFConfig, header *CFHeader, customerId string, instrument_id string) (*CFCryptogram, *CFResponseHeader, *CFError)

Get Instrument CryptoGram By Instrument Id

func GetInstrumentsByCustomerID

func GetInstrumentsByCustomerID(session *CFConfig, header *CFHeader, customerId string, instrumentType string) ([]CFFetchAllSavedInstruments, *CFResponseHeader, *CFError)

Get Instruments By Customer Id

func GetInstrumentsByInstrumentID

func GetInstrumentsByInstrumentID(session *CFConfig, header *CFHeader, customerId string, instrument_id string) (*CFFetchAllSavedInstruments, *CFResponseHeader, *CFError)

Get Instruments By Instrument Id

func GetLinkByLinkID

func GetLinkByLinkID(session *CFConfig, header *CFHeader, linkId string) (*CFLink, *CFResponseHeader, *CFError)

Get Link by LinkId API

func GetOffer added in v2.1.2

func GetOffer(session *CFConfig, header *CFHeader, offer_id string) (*CFOfferEntity, *CFResponseHeader, *CFError)

func GetOfferEligibility added in v2.1.2

func GetOfferEligibility(session *CFConfig, header *CFHeader, eligibilityOffersRequest CFEligibilityOffersRequest) ([]EligibleOffersEntity, *CFResponseHeader, *CFError)

func GetOrder

func GetOrder(session *CFConfig, header *CFHeader, orderId string) (*CFOrder, *CFResponseHeader, *CFError)

Get Order API

func GetOrdersByLinkID

func GetOrdersByLinkID(session *CFConfig, header *CFHeader, linkId string) ([]CFLinkOrders, *CFResponseHeader, *CFError)

Get Orders by Link Id

func GetPaymentByPaymentID

func GetPaymentByPaymentID(session *CFConfig, header *CFHeader, orderId string, cfPaymentId int64) (*CFPaymentsEntity, *CFResponseHeader, *CFError)

Get Payment by Payment ID

func GetPaymentsForOrder

func GetPaymentsForOrder(session *CFConfig, header *CFHeader, orderId string) ([]CFPaymentsEntity, *CFResponseHeader, *CFError)

Get Payments for Order API

func Getsettlements

func Getsettlements(session *CFConfig, header *CFHeader, orderId string) (*CFSettlementsEntity, *CFResponseHeader, *CFError)

Get Settlements

func InitiateRefund

func InitiateRefund(session *CFConfig, header *CFHeader, refundRquest CFRefundRequest, orderId string) (*CFRefund, *CFResponseHeader, *CFError)

Initiate Refund

func IsNil added in v2.1.2

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func OrderPay

func OrderPay(session *CFConfig, header *CFHeader, orderPay CFOrderPayRequest) (*CFOrderPayResponse, *CFResponseHeader, *CFError)

Order Pay UPI

func OrderPaySessionId

func OrderPaySessionId(session *CFConfig, header *CFHeader, orderPaySessionId CFOrderPaySessionIdRequest) (*CFOrderPayResponse, *CFResponseHeader, *CFError)

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

func SetPreAuthorizationRequest

func SetPreAuthorizationRequest(session *CFConfig, header *CFHeader, authorizationRequest CFAuthorizationRequest, orderId string) (*CFPaymentsEntity, *CFResponseHeader, *CFError)

Pre Authorization Request

func SetupSentry added in v2.0.2

func SetupSentry(environment string)

Types

type APIClient

type APIClient struct {
	OrdersApi *OrdersApiService

	PaymentLinksApi *PaymentLinksApiService

	PaymentsApi *PaymentsApiService

	RefundsApi *RefundsApiService

	SettlementsApi *SettlementsApiService

	TokenVaultApi *TokenVaultApiService

	OffersApiService *OffersApiService

	EligibilityAPIsApiService *EligibilityAPIsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the New Payment Gateway APIs API v2022-01-01 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiCreateOfferRequest added in v2.1.2

type ApiCreateOfferRequest struct {
	ApiService *OffersApiService
	// contains filtered or unexported fields
}

func (ApiCreateOfferRequest) CreateOfferBackendRequest added in v2.1.2

func (r ApiCreateOfferRequest) CreateOfferBackendRequest(createOfferBackendRequest CFCreateOfferBackendRequest) ApiCreateOfferRequest

func (ApiCreateOfferRequest) Execute added in v2.1.2

func (ApiCreateOfferRequest) XApiVersion added in v2.1.2

func (r ApiCreateOfferRequest) XApiVersion(xApiVersion string) ApiCreateOfferRequest

func (ApiCreateOfferRequest) XClientId added in v2.1.2

func (r ApiCreateOfferRequest) XClientId(xClientId string) ApiCreateOfferRequest

func (ApiCreateOfferRequest) XClientSecret added in v2.1.2

func (r ApiCreateOfferRequest) XClientSecret(xClientSecret string) ApiCreateOfferRequest

func (ApiCreateOfferRequest) XIdempotencyKey added in v2.1.2

func (r ApiCreateOfferRequest) XIdempotencyKey(xIdempotencyKey string) ApiCreateOfferRequest

func (ApiCreateOfferRequest) XRequestId added in v2.1.2

func (r ApiCreateOfferRequest) XRequestId(xRequestId string) ApiCreateOfferRequest

type ApiCreateOrderRequest

type ApiCreateOrderRequest struct {
	ApiService *OrdersApiService
	// contains filtered or unexported fields
}

func (ApiCreateOrderRequest) CFOrderRequest

func (r ApiCreateOrderRequest) CFOrderRequest(cFOrderRequest CFOrderRequest) ApiCreateOrderRequest

func (ApiCreateOrderRequest) Execute

func (r ApiCreateOrderRequest) Execute() (*CFOrder, *http.Response, error)

func (ApiCreateOrderRequest) XApiVersion

func (r ApiCreateOrderRequest) XApiVersion(xApiVersion string) ApiCreateOrderRequest

func (ApiCreateOrderRequest) XClientId

func (r ApiCreateOrderRequest) XClientId(xClientId string) ApiCreateOrderRequest

func (ApiCreateOrderRequest) XClientSecret

func (r ApiCreateOrderRequest) XClientSecret(xClientSecret string) ApiCreateOrderRequest

func (ApiCreateOrderRequest) XIdempotencyKey

func (r ApiCreateOrderRequest) XIdempotencyKey(xIdempotencyKey string) ApiCreateOrderRequest

func (ApiCreateOrderRequest) XIdempotencyReplayed

func (r ApiCreateOrderRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiCreateOrderRequest

func (ApiCreateOrderRequest) XRequestId

func (r ApiCreateOrderRequest) XRequestId(xRequestId string) ApiCreateOrderRequest

type ApiCreatePaymentLinkRequest

type ApiCreatePaymentLinkRequest struct {
	ApiService *PaymentLinksApiService
	// contains filtered or unexported fields
}

func (ApiCreatePaymentLinkRequest) CFLinkRequest

func (ApiCreatePaymentLinkRequest) Execute

func (ApiCreatePaymentLinkRequest) XApiVersion

func (ApiCreatePaymentLinkRequest) XClientId

func (ApiCreatePaymentLinkRequest) XClientSecret

func (r ApiCreatePaymentLinkRequest) XClientSecret(xClientSecret string) ApiCreatePaymentLinkRequest

func (ApiCreatePaymentLinkRequest) XIdempotencyKey

func (r ApiCreatePaymentLinkRequest) XIdempotencyKey(xIdempotencyKey string) ApiCreatePaymentLinkRequest

func (ApiCreatePaymentLinkRequest) XIdempotencyReplayed

func (r ApiCreatePaymentLinkRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiCreatePaymentLinkRequest

func (ApiCreatePaymentLinkRequest) XRequestId

type ApiCreaterefundRequest

type ApiCreaterefundRequest struct {
	ApiService *RefundsApiService
	// contains filtered or unexported fields
}

func (ApiCreaterefundRequest) CFRefundRequest

func (r ApiCreaterefundRequest) CFRefundRequest(cFRefundRequest CFRefundRequest) ApiCreaterefundRequest

func (ApiCreaterefundRequest) Execute

func (ApiCreaterefundRequest) XApiVersion

func (r ApiCreaterefundRequest) XApiVersion(xApiVersion string) ApiCreaterefundRequest

func (ApiCreaterefundRequest) XClientId

func (r ApiCreaterefundRequest) XClientId(xClientId string) ApiCreaterefundRequest

func (ApiCreaterefundRequest) XClientSecret

func (r ApiCreaterefundRequest) XClientSecret(xClientSecret string) ApiCreaterefundRequest

func (ApiCreaterefundRequest) XIdempotencyKey

func (r ApiCreaterefundRequest) XIdempotencyKey(xIdempotencyKey string) ApiCreaterefundRequest

func (ApiCreaterefundRequest) XIdempotencyReplayed

func (r ApiCreaterefundRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiCreaterefundRequest

func (ApiCreaterefundRequest) XRequestId

func (r ApiCreaterefundRequest) XRequestId(xRequestId string) ApiCreaterefundRequest

type ApiDeleteSpecificSavedInstrumentRequest

type ApiDeleteSpecificSavedInstrumentRequest struct {
	ApiService *TokenVaultApiService
	// contains filtered or unexported fields
}

func (ApiDeleteSpecificSavedInstrumentRequest) Execute

func (ApiDeleteSpecificSavedInstrumentRequest) XApiVersion

func (ApiDeleteSpecificSavedInstrumentRequest) XClientId

func (ApiDeleteSpecificSavedInstrumentRequest) XClientSecret

type ApiEligibilityCardlessEMIRequest added in v2.1.2

type ApiEligibilityCardlessEMIRequest struct {
	ApiService *EligibilityAPIsApiService
	// contains filtered or unexported fields
}

func (ApiEligibilityCardlessEMIRequest) EligibilityCardlessEMIRequest added in v2.1.2

func (r ApiEligibilityCardlessEMIRequest) EligibilityCardlessEMIRequest(eligibilityCardlessEMIRequest EligibilityCardlessEMIRequest) ApiEligibilityCardlessEMIRequest

func (ApiEligibilityCardlessEMIRequest) Execute added in v2.1.2

func (ApiEligibilityCardlessEMIRequest) XApiVersion added in v2.1.2

func (ApiEligibilityCardlessEMIRequest) XClientId added in v2.1.2

func (ApiEligibilityCardlessEMIRequest) XClientSecret added in v2.1.2

type ApiEligibilityOfferRequest added in v2.1.2

type ApiEligibilityOfferRequest struct {
	ApiService *EligibilityAPIsApiService
	// contains filtered or unexported fields
}

func (ApiEligibilityOfferRequest) EligibilityOffersRequest added in v2.1.2

func (r ApiEligibilityOfferRequest) EligibilityOffersRequest(eligibilityOffersRequest CFEligibilityOffersRequest) ApiEligibilityOfferRequest

func (ApiEligibilityOfferRequest) Execute added in v2.1.2

func (ApiEligibilityOfferRequest) XApiVersion added in v2.1.2

func (ApiEligibilityOfferRequest) XClientId added in v2.1.2

func (ApiEligibilityOfferRequest) XClientSecret added in v2.1.2

func (r ApiEligibilityOfferRequest) XClientSecret(xClientSecret string) ApiEligibilityOfferRequest

func (ApiEligibilityOfferRequest) XIdempotencyKey added in v2.1.2

func (r ApiEligibilityOfferRequest) XIdempotencyKey(xIdempotencyKey string) ApiEligibilityOfferRequest

func (ApiEligibilityOfferRequest) XRequestId added in v2.1.2

type ApiFetchAllSavedInstrumentsRequest

type ApiFetchAllSavedInstrumentsRequest struct {
	ApiService *TokenVaultApiService
	// contains filtered or unexported fields
}

func (ApiFetchAllSavedInstrumentsRequest) Execute

func (ApiFetchAllSavedInstrumentsRequest) InstrumentType

func (ApiFetchAllSavedInstrumentsRequest) XApiVersion

func (ApiFetchAllSavedInstrumentsRequest) XClientId

func (ApiFetchAllSavedInstrumentsRequest) XClientSecret

func (ApiFetchAllSavedInstrumentsRequest) XIdempotencyKey

func (ApiFetchAllSavedInstrumentsRequest) XIdempotencyReplayed

func (r ApiFetchAllSavedInstrumentsRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiFetchAllSavedInstrumentsRequest

func (ApiFetchAllSavedInstrumentsRequest) XRequestId

type ApiFetchCryptogramRequest

type ApiFetchCryptogramRequest struct {
	ApiService *TokenVaultApiService
	// contains filtered or unexported fields
}

func (ApiFetchCryptogramRequest) Execute

func (ApiFetchCryptogramRequest) XApiVersion

func (r ApiFetchCryptogramRequest) XApiVersion(xApiVersion string) ApiFetchCryptogramRequest

func (ApiFetchCryptogramRequest) XClientId

func (ApiFetchCryptogramRequest) XClientSecret

func (r ApiFetchCryptogramRequest) XClientSecret(xClientSecret string) ApiFetchCryptogramRequest

func (ApiFetchCryptogramRequest) XIdempotencyKey

func (r ApiFetchCryptogramRequest) XIdempotencyKey(xIdempotencyKey string) ApiFetchCryptogramRequest

func (ApiFetchCryptogramRequest) XIdempotencyReplayed

func (r ApiFetchCryptogramRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiFetchCryptogramRequest

func (ApiFetchCryptogramRequest) XRequestId

type ApiFetchSpecificSavedInstrumentRequest

type ApiFetchSpecificSavedInstrumentRequest struct {
	ApiService *TokenVaultApiService
	// contains filtered or unexported fields
}

func (ApiFetchSpecificSavedInstrumentRequest) Execute

func (ApiFetchSpecificSavedInstrumentRequest) XApiVersion

func (ApiFetchSpecificSavedInstrumentRequest) XClientId

func (ApiFetchSpecificSavedInstrumentRequest) XClientSecret

func (ApiFetchSpecificSavedInstrumentRequest) XIdempotencyKey

func (ApiFetchSpecificSavedInstrumentRequest) XIdempotencyReplayed

func (r ApiFetchSpecificSavedInstrumentRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiFetchSpecificSavedInstrumentRequest

func (ApiFetchSpecificSavedInstrumentRequest) XRequestId

type ApiGetOfferRequest added in v2.1.2

type ApiGetOfferRequest struct {
	ApiService *OffersApiService
	// contains filtered or unexported fields
}

func (ApiGetOfferRequest) Execute added in v2.1.2

func (ApiGetOfferRequest) XApiVersion added in v2.1.2

func (r ApiGetOfferRequest) XApiVersion(xApiVersion string) ApiGetOfferRequest

func (ApiGetOfferRequest) XClientId added in v2.1.2

func (r ApiGetOfferRequest) XClientId(xClientId string) ApiGetOfferRequest

func (ApiGetOfferRequest) XClientSecret added in v2.1.2

func (r ApiGetOfferRequest) XClientSecret(xClientSecret string) ApiGetOfferRequest

func (ApiGetOfferRequest) XIdempotencyKey added in v2.1.2

func (r ApiGetOfferRequest) XIdempotencyKey(xIdempotencyKey string) ApiGetOfferRequest

func (ApiGetOfferRequest) XRequestId added in v2.1.2

func (r ApiGetOfferRequest) XRequestId(xRequestId string) ApiGetOfferRequest

type ApiGetOrderRequest

type ApiGetOrderRequest struct {
	ApiService *OrdersApiService
	// contains filtered or unexported fields
}

func (ApiGetOrderRequest) Execute

func (r ApiGetOrderRequest) Execute() (*CFOrder, *http.Response, error)

func (ApiGetOrderRequest) XApiVersion

func (r ApiGetOrderRequest) XApiVersion(xApiVersion string) ApiGetOrderRequest

func (ApiGetOrderRequest) XClientId

func (r ApiGetOrderRequest) XClientId(xClientId string) ApiGetOrderRequest

func (ApiGetOrderRequest) XClientSecret

func (r ApiGetOrderRequest) XClientSecret(xClientSecret string) ApiGetOrderRequest

func (ApiGetOrderRequest) XIdempotencyKey

func (r ApiGetOrderRequest) XIdempotencyKey(xIdempotencyKey string) ApiGetOrderRequest

func (ApiGetOrderRequest) XIdempotencyReplayed

func (r ApiGetOrderRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiGetOrderRequest

func (ApiGetOrderRequest) XRequestId

func (r ApiGetOrderRequest) XRequestId(xRequestId string) ApiGetOrderRequest

type ApiGetPaymentLinkDetailsRequest

type ApiGetPaymentLinkDetailsRequest struct {
	ApiService *PaymentLinksApiService
	// contains filtered or unexported fields
}

func (ApiGetPaymentLinkDetailsRequest) Execute

func (ApiGetPaymentLinkDetailsRequest) XApiVersion

func (ApiGetPaymentLinkDetailsRequest) XClientId

func (ApiGetPaymentLinkDetailsRequest) XClientSecret

func (ApiGetPaymentLinkDetailsRequest) XIdempotencyKey

func (r ApiGetPaymentLinkDetailsRequest) XIdempotencyKey(xIdempotencyKey string) ApiGetPaymentLinkDetailsRequest

func (ApiGetPaymentLinkDetailsRequest) XIdempotencyReplayed

func (r ApiGetPaymentLinkDetailsRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiGetPaymentLinkDetailsRequest

func (ApiGetPaymentLinkDetailsRequest) XRequestId

type ApiGetPaymentLinkOrdersRequest

type ApiGetPaymentLinkOrdersRequest struct {
	ApiService *PaymentLinksApiService
	// contains filtered or unexported fields
}

func (ApiGetPaymentLinkOrdersRequest) Execute

func (ApiGetPaymentLinkOrdersRequest) XApiVersion

func (ApiGetPaymentLinkOrdersRequest) XClientId

func (ApiGetPaymentLinkOrdersRequest) XClientSecret

func (ApiGetPaymentLinkOrdersRequest) XIdempotencyKey

func (r ApiGetPaymentLinkOrdersRequest) XIdempotencyKey(xIdempotencyKey string) ApiGetPaymentLinkOrdersRequest

func (ApiGetPaymentLinkOrdersRequest) XIdempotencyReplayed

func (r ApiGetPaymentLinkOrdersRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiGetPaymentLinkOrdersRequest

func (ApiGetPaymentLinkOrdersRequest) XRequestId

type ApiGetPaymentbyIdRequest

type ApiGetPaymentbyIdRequest struct {
	ApiService *PaymentsApiService
	// contains filtered or unexported fields
}

func (ApiGetPaymentbyIdRequest) Execute

func (ApiGetPaymentbyIdRequest) XApiVersion

func (r ApiGetPaymentbyIdRequest) XApiVersion(xApiVersion string) ApiGetPaymentbyIdRequest

func (ApiGetPaymentbyIdRequest) XClientId

func (ApiGetPaymentbyIdRequest) XClientSecret

func (r ApiGetPaymentbyIdRequest) XClientSecret(xClientSecret string) ApiGetPaymentbyIdRequest

func (ApiGetPaymentbyIdRequest) XIdempotencyKey

func (r ApiGetPaymentbyIdRequest) XIdempotencyKey(xIdempotencyKey string) ApiGetPaymentbyIdRequest

func (ApiGetPaymentbyIdRequest) XIdempotencyReplayed

func (r ApiGetPaymentbyIdRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiGetPaymentbyIdRequest

func (ApiGetPaymentbyIdRequest) XRequestId

func (r ApiGetPaymentbyIdRequest) XRequestId(xRequestId string) ApiGetPaymentbyIdRequest

type ApiGetPaymentsfororderRequest

type ApiGetPaymentsfororderRequest struct {
	ApiService *PaymentsApiService
	// contains filtered or unexported fields
}

func (ApiGetPaymentsfororderRequest) Execute

func (ApiGetPaymentsfororderRequest) XApiVersion

func (ApiGetPaymentsfororderRequest) XClientId

func (ApiGetPaymentsfororderRequest) XClientSecret

func (ApiGetPaymentsfororderRequest) XIdempotencyKey

func (r ApiGetPaymentsfororderRequest) XIdempotencyKey(xIdempotencyKey string) ApiGetPaymentsfororderRequest

func (ApiGetPaymentsfororderRequest) XIdempotencyReplayed

func (r ApiGetPaymentsfororderRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiGetPaymentsfororderRequest

func (ApiGetPaymentsfororderRequest) XRequestId

type ApiGetRefundRequest

type ApiGetRefundRequest struct {
	ApiService *RefundsApiService
	// contains filtered or unexported fields
}

func (ApiGetRefundRequest) Execute

func (r ApiGetRefundRequest) Execute() (*CFRefund, *http.Response, error)

func (ApiGetRefundRequest) XApiVersion

func (r ApiGetRefundRequest) XApiVersion(xApiVersion string) ApiGetRefundRequest

func (ApiGetRefundRequest) XClientId

func (r ApiGetRefundRequest) XClientId(xClientId string) ApiGetRefundRequest

func (ApiGetRefundRequest) XClientSecret

func (r ApiGetRefundRequest) XClientSecret(xClientSecret string) ApiGetRefundRequest

func (ApiGetRefundRequest) XIdempotencyKey

func (r ApiGetRefundRequest) XIdempotencyKey(xIdempotencyKey string) ApiGetRefundRequest

func (ApiGetRefundRequest) XIdempotencyReplayed

func (r ApiGetRefundRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiGetRefundRequest

func (ApiGetRefundRequest) XRequestId

func (r ApiGetRefundRequest) XRequestId(xRequestId string) ApiGetRefundRequest

type ApiGetallrefundsfororderRequest

type ApiGetallrefundsfororderRequest struct {
	ApiService *RefundsApiService
	// contains filtered or unexported fields
}

func (ApiGetallrefundsfororderRequest) Execute

func (ApiGetallrefundsfororderRequest) XApiVersion

func (ApiGetallrefundsfororderRequest) XClientId

func (ApiGetallrefundsfororderRequest) XClientSecret

type ApiGetsettlementsRequest

type ApiGetsettlementsRequest struct {
	ApiService *SettlementsApiService
	// contains filtered or unexported fields
}

func (ApiGetsettlementsRequest) Execute

func (ApiGetsettlementsRequest) XApiVersion

func (r ApiGetsettlementsRequest) XApiVersion(xApiVersion string) ApiGetsettlementsRequest

func (ApiGetsettlementsRequest) XClientId

func (ApiGetsettlementsRequest) XClientSecret

func (r ApiGetsettlementsRequest) XClientSecret(xClientSecret string) ApiGetsettlementsRequest

func (ApiGetsettlementsRequest) XIdempotencyKey

func (r ApiGetsettlementsRequest) XIdempotencyKey(xIdempotencyKey string) ApiGetsettlementsRequest

func (ApiGetsettlementsRequest) XIdempotencyReplayed

func (r ApiGetsettlementsRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiGetsettlementsRequest

func (ApiGetsettlementsRequest) XRequestId

func (r ApiGetsettlementsRequest) XRequestId(xRequestId string) ApiGetsettlementsRequest

type ApiOrderPayRequest

type ApiOrderPayRequest struct {
	ApiService *OrdersApiService
	// contains filtered or unexported fields
}

func (ApiOrderPayRequest) CFOrderPayRequest

func (r ApiOrderPayRequest) CFOrderPayRequest(cFOrderPayRequest CFOrderPayRequest) ApiOrderPayRequest

func (ApiOrderPayRequest) CFOrderPaySessionIdRequest

func (r ApiOrderPayRequest) CFOrderPaySessionIdRequest(cFOrderPaySessionIdRequest CFOrderPaySessionIdRequest) ApiOrderPayRequest

func (ApiOrderPayRequest) Execute

func (ApiOrderPayRequest) XApiVersion

func (r ApiOrderPayRequest) XApiVersion(xApiVersion string) ApiOrderPayRequest

func (ApiOrderPayRequest) XRequestId

func (r ApiOrderPayRequest) XRequestId(xRequestId string) ApiOrderPayRequest

type ApiPreauthorizationRequest

type ApiPreauthorizationRequest struct {
	ApiService *OrdersApiService
	// contains filtered or unexported fields
}

func (ApiPreauthorizationRequest) CFAuthorizationRequest

func (r ApiPreauthorizationRequest) CFAuthorizationRequest(cFAuthorizationRequest CFAuthorizationRequest) ApiPreauthorizationRequest

func (ApiPreauthorizationRequest) Execute

func (ApiPreauthorizationRequest) XApiVersion

func (ApiPreauthorizationRequest) XClientId

func (ApiPreauthorizationRequest) XClientSecret

func (r ApiPreauthorizationRequest) XClientSecret(xClientSecret string) ApiPreauthorizationRequest

func (ApiPreauthorizationRequest) XIdempotencyKey

func (r ApiPreauthorizationRequest) XIdempotencyKey(xIdempotencyKey string) ApiPreauthorizationRequest

func (ApiPreauthorizationRequest) XIdempotencyReplayed

func (r ApiPreauthorizationRequest) XIdempotencyReplayed(xIdempotencyReplayed bool) ApiPreauthorizationRequest

func (ApiPreauthorizationRequest) XRequestId

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CFApp

type CFApp struct {
	// The channel has to be set to link
	Channel string `json:"channel"`
	// Specify the channel through which the payment must be processed.
	Provider string `json:"provider"`
	// Customer phone number associated with a wallet for payment.
	Phone string `json:"phone"`
}

CFApp struct for CFApp

func NewCFApp

func NewCFApp(channel string, provider string, phone string) *CFApp

NewCFApp instantiates a new CFApp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFAppWithDefaults

func NewCFAppWithDefaults() *CFApp

NewCFAppWithDefaults instantiates a new CFApp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFApp) GetChannel

func (o *CFApp) GetChannel() string

GetChannel returns the Channel field value

func (*CFApp) GetChannelOk

func (o *CFApp) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value and a boolean to check if the value has been set.

func (*CFApp) GetPhone

func (o *CFApp) GetPhone() string

GetPhone returns the Phone field value

func (*CFApp) GetPhoneOk

func (o *CFApp) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value and a boolean to check if the value has been set.

func (*CFApp) GetProvider

func (o *CFApp) GetProvider() string

GetProvider returns the Provider field value

func (*CFApp) GetProviderOk

func (o *CFApp) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (CFApp) MarshalJSON

func (o CFApp) MarshalJSON() ([]byte, error)

func (*CFApp) SetChannel

func (o *CFApp) SetChannel(v string)

SetChannel sets field value

func (*CFApp) SetPhone

func (o *CFApp) SetPhone(v string)

SetPhone sets field value

func (*CFApp) SetProvider

func (o *CFApp) SetProvider(v string)

SetProvider sets field value

type CFAppPayment

type CFAppPayment struct {
	App CFApp `json:"app"`
}

CFAppPayment struct for CFAppPayment

func NewCFAppPayment

func NewCFAppPayment(app CFApp) *CFAppPayment

NewCFAppPayment instantiates a new CFAppPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFAppPaymentWithDefaults

func NewCFAppPaymentWithDefaults() *CFAppPayment

NewCFAppPaymentWithDefaults instantiates a new CFAppPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFAppPayment) GetApp

func (o *CFAppPayment) GetApp() CFApp

GetApp returns the App field value

func (*CFAppPayment) GetAppOk

func (o *CFAppPayment) GetAppOk() (*CFApp, bool)

GetAppOk returns a tuple with the App field value and a boolean to check if the value has been set.

func (CFAppPayment) MarshalJSON

func (o CFAppPayment) MarshalJSON() ([]byte, error)

func (*CFAppPayment) SetApp

func (o *CFAppPayment) SetApp(v CFApp)

SetApp sets field value

type CFAuthorizationInPaymentsEntity

type CFAuthorizationInPaymentsEntity struct {
	// One of CAPTURE or VOID
	Action *string `json:"action,omitempty"`
	// One of SUCCESS or PENDING
	Status *string `json:"status,omitempty"`
	// The captured amount for this authorization request
	CapturedAmount *float32 `json:"captured_amount,omitempty"`
	// Start time of this authorization hold (only for UPI)
	StartTime *string `json:"start_time,omitempty"`
	// End time of this authorization hold (only for UPI)
	EndTime *string `json:"end_time,omitempty"`
	// Approve by time as passed in the authorization request (only for UPI)
	ApproveBy *string `json:"approve_by,omitempty"`
}

CFAuthorizationInPaymentsEntity The authorization details are present for payments which go through the preauthorization workflow. Or else this parameter will be null.

func NewCFAuthorizationInPaymentsEntity

func NewCFAuthorizationInPaymentsEntity() *CFAuthorizationInPaymentsEntity

NewCFAuthorizationInPaymentsEntity instantiates a new CFAuthorizationInPaymentsEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFAuthorizationInPaymentsEntityWithDefaults

func NewCFAuthorizationInPaymentsEntityWithDefaults() *CFAuthorizationInPaymentsEntity

NewCFAuthorizationInPaymentsEntityWithDefaults instantiates a new CFAuthorizationInPaymentsEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFAuthorizationInPaymentsEntity) GetAction

func (o *CFAuthorizationInPaymentsEntity) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*CFAuthorizationInPaymentsEntity) GetActionOk

func (o *CFAuthorizationInPaymentsEntity) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFAuthorizationInPaymentsEntity) GetApproveBy

func (o *CFAuthorizationInPaymentsEntity) GetApproveBy() string

GetApproveBy returns the ApproveBy field value if set, zero value otherwise.

func (*CFAuthorizationInPaymentsEntity) GetApproveByOk

func (o *CFAuthorizationInPaymentsEntity) GetApproveByOk() (*string, bool)

GetApproveByOk returns a tuple with the ApproveBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFAuthorizationInPaymentsEntity) GetCapturedAmount

func (o *CFAuthorizationInPaymentsEntity) GetCapturedAmount() float32

GetCapturedAmount returns the CapturedAmount field value if set, zero value otherwise.

func (*CFAuthorizationInPaymentsEntity) GetCapturedAmountOk

func (o *CFAuthorizationInPaymentsEntity) GetCapturedAmountOk() (*float32, bool)

GetCapturedAmountOk returns a tuple with the CapturedAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFAuthorizationInPaymentsEntity) GetEndTime

func (o *CFAuthorizationInPaymentsEntity) GetEndTime() string

GetEndTime returns the EndTime field value if set, zero value otherwise.

func (*CFAuthorizationInPaymentsEntity) GetEndTimeOk

func (o *CFAuthorizationInPaymentsEntity) GetEndTimeOk() (*string, bool)

GetEndTimeOk returns a tuple with the EndTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFAuthorizationInPaymentsEntity) GetStartTime

func (o *CFAuthorizationInPaymentsEntity) GetStartTime() string

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*CFAuthorizationInPaymentsEntity) GetStartTimeOk

func (o *CFAuthorizationInPaymentsEntity) GetStartTimeOk() (*string, bool)

GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFAuthorizationInPaymentsEntity) GetStatus

func (o *CFAuthorizationInPaymentsEntity) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*CFAuthorizationInPaymentsEntity) GetStatusOk

func (o *CFAuthorizationInPaymentsEntity) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFAuthorizationInPaymentsEntity) HasAction

func (o *CFAuthorizationInPaymentsEntity) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*CFAuthorizationInPaymentsEntity) HasApproveBy

func (o *CFAuthorizationInPaymentsEntity) HasApproveBy() bool

HasApproveBy returns a boolean if a field has been set.

func (*CFAuthorizationInPaymentsEntity) HasCapturedAmount

func (o *CFAuthorizationInPaymentsEntity) HasCapturedAmount() bool

HasCapturedAmount returns a boolean if a field has been set.

func (*CFAuthorizationInPaymentsEntity) HasEndTime

func (o *CFAuthorizationInPaymentsEntity) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

func (*CFAuthorizationInPaymentsEntity) HasStartTime

func (o *CFAuthorizationInPaymentsEntity) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (*CFAuthorizationInPaymentsEntity) HasStatus

func (o *CFAuthorizationInPaymentsEntity) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (CFAuthorizationInPaymentsEntity) MarshalJSON

func (o CFAuthorizationInPaymentsEntity) MarshalJSON() ([]byte, error)

func (*CFAuthorizationInPaymentsEntity) SetAction

func (o *CFAuthorizationInPaymentsEntity) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*CFAuthorizationInPaymentsEntity) SetApproveBy

func (o *CFAuthorizationInPaymentsEntity) SetApproveBy(v string)

SetApproveBy gets a reference to the given string and assigns it to the ApproveBy field.

func (*CFAuthorizationInPaymentsEntity) SetCapturedAmount

func (o *CFAuthorizationInPaymentsEntity) SetCapturedAmount(v float32)

SetCapturedAmount gets a reference to the given float32 and assigns it to the CapturedAmount field.

func (*CFAuthorizationInPaymentsEntity) SetEndTime

func (o *CFAuthorizationInPaymentsEntity) SetEndTime(v string)

SetEndTime gets a reference to the given string and assigns it to the EndTime field.

func (*CFAuthorizationInPaymentsEntity) SetStartTime

func (o *CFAuthorizationInPaymentsEntity) SetStartTime(v string)

SetStartTime gets a reference to the given string and assigns it to the StartTime field.

func (*CFAuthorizationInPaymentsEntity) SetStatus

func (o *CFAuthorizationInPaymentsEntity) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type CFAuthorizationRequest

type CFAuthorizationRequest struct {
	// Type of authorization to run. Can be one of 'CAPTURE' , 'VOID'
	Action *string `json:"action,omitempty"`
	// The amount if you are running a 'CAPTURE'
	Amount *float32 `json:"amount,omitempty"`
}

CFAuthorizationRequest struct for CFAuthorizationRequest

func NewCFAuthorizationRequest

func NewCFAuthorizationRequest() *CFAuthorizationRequest

NewCFAuthorizationRequest instantiates a new CFAuthorizationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFAuthorizationRequestWithDefaults

func NewCFAuthorizationRequestWithDefaults() *CFAuthorizationRequest

NewCFAuthorizationRequestWithDefaults instantiates a new CFAuthorizationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFAuthorizationRequest) GetAction

func (o *CFAuthorizationRequest) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*CFAuthorizationRequest) GetActionOk

func (o *CFAuthorizationRequest) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFAuthorizationRequest) GetAmount

func (o *CFAuthorizationRequest) GetAmount() float32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*CFAuthorizationRequest) GetAmountOk

func (o *CFAuthorizationRequest) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFAuthorizationRequest) HasAction

func (o *CFAuthorizationRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*CFAuthorizationRequest) HasAmount

func (o *CFAuthorizationRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (CFAuthorizationRequest) MarshalJSON

func (o CFAuthorizationRequest) MarshalJSON() ([]byte, error)

func (*CFAuthorizationRequest) SetAction

func (o *CFAuthorizationRequest) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*CFAuthorizationRequest) SetAmount

func (o *CFAuthorizationRequest) SetAmount(v float32)

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

type CFCard

type CFCard struct {
	// The channel for card payments will always be \"link\"
	Channel string `json:"channel"`
	// Customer card number for plain card transactions. Token pan number for tokenized card transactions.
	CardNumber string `json:"card_number"`
	// Customer name mentioned on the card.
	CardHolderName string `json:"card_holder_name"`
	// Card expiry month for plain card transactions. Token expiry month for tokenized card transactions.
	CardExpiryMm string `json:"card_expiry_mm"`
	// Card expiry year for plain card transactions. Token expiry year for tokenized card transactions.
	CardExpiryYy string `json:"card_expiry_yy"`
	// CVV mentioned on the card.
	CardCvv string `json:"card_cvv"`
	// instrument id of saved card. Required only to make payment using saved instrument.
	InstrumentId string `json:"instrument_id"`
	// cryptogram received from card network. Required only for tokenized card transactions.
	Cryptogram string `json:"cryptogram"`
	// TRID issued by card networks. Required only for tokenized card transactions.
	TokenRequestorId string `json:"token_requestor_id"`
	// last 4 digits of original card number. Required only for tokenized card transactions.
	CardDisplay string `json:"card_display"`
	// Card alias as returned by Cashfree Vault API.
	CardAlias string `json:"card_alias"`
	// One of [\"Kotak\", \"ICICI\", \"RBL\", \"BOB\", \"Standard Chartered\"]. Card bank name, required for EMI payments. This is the bank user has selected for EMI
	CardBankName string `json:"card_bank_name"`
	// EMI tenure selected by the user
	EmiTenure int32 `json:"emi_tenure"`
}

CFCard struct for CFCard

func NewCFCard

func NewCFCard(channel string, cardNumber string, cardHolderName string, cardExpiryMm string, cardExpiryYy string, cardCvv string, instrumentId string, cryptogram string, tokenRequestorId string, cardDisplay string, cardAlias string, cardBankName string, emiTenure int32) *CFCard

NewCFCard instantiates a new CFCard object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFCardWithDefaults

func NewCFCardWithDefaults() *CFCard

NewCFCardWithDefaults instantiates a new CFCard object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFCard) GetCardAlias

func (o *CFCard) GetCardAlias() string

GetCardAlias returns the CardAlias field value

func (*CFCard) GetCardAliasOk

func (o *CFCard) GetCardAliasOk() (*string, bool)

GetCardAliasOk returns a tuple with the CardAlias field value and a boolean to check if the value has been set.

func (*CFCard) GetCardBankName

func (o *CFCard) GetCardBankName() string

GetCardBankName returns the CardBankName field value

func (*CFCard) GetCardBankNameOk

func (o *CFCard) GetCardBankNameOk() (*string, bool)

GetCardBankNameOk returns a tuple with the CardBankName field value and a boolean to check if the value has been set.

func (*CFCard) GetCardCvv

func (o *CFCard) GetCardCvv() string

GetCardCvv returns the CardCvv field value

func (*CFCard) GetCardCvvOk

func (o *CFCard) GetCardCvvOk() (*string, bool)

GetCardCvvOk returns a tuple with the CardCvv field value and a boolean to check if the value has been set.

func (*CFCard) GetCardDisplay

func (o *CFCard) GetCardDisplay() string

GetCardDisplay returns the CardDisplay field value

func (*CFCard) GetCardDisplayOk

func (o *CFCard) GetCardDisplayOk() (*string, bool)

GetCardDisplayOk returns a tuple with the CardDisplay field value and a boolean to check if the value has been set.

func (*CFCard) GetCardExpiryMm

func (o *CFCard) GetCardExpiryMm() string

GetCardExpiryMm returns the CardExpiryMm field value

func (*CFCard) GetCardExpiryMmOk

func (o *CFCard) GetCardExpiryMmOk() (*string, bool)

GetCardExpiryMmOk returns a tuple with the CardExpiryMm field value and a boolean to check if the value has been set.

func (*CFCard) GetCardExpiryYy

func (o *CFCard) GetCardExpiryYy() string

GetCardExpiryYy returns the CardExpiryYy field value

func (*CFCard) GetCardExpiryYyOk

func (o *CFCard) GetCardExpiryYyOk() (*string, bool)

GetCardExpiryYyOk returns a tuple with the CardExpiryYy field value and a boolean to check if the value has been set.

func (*CFCard) GetCardHolderName

func (o *CFCard) GetCardHolderName() string

GetCardHolderName returns the CardHolderName field value

func (*CFCard) GetCardHolderNameOk

func (o *CFCard) GetCardHolderNameOk() (*string, bool)

GetCardHolderNameOk returns a tuple with the CardHolderName field value and a boolean to check if the value has been set.

func (*CFCard) GetCardNumber

func (o *CFCard) GetCardNumber() string

GetCardNumber returns the CardNumber field value

func (*CFCard) GetCardNumberOk

func (o *CFCard) GetCardNumberOk() (*string, bool)

GetCardNumberOk returns a tuple with the CardNumber field value and a boolean to check if the value has been set.

func (*CFCard) GetChannel

func (o *CFCard) GetChannel() string

GetChannel returns the Channel field value

func (*CFCard) GetChannelOk

func (o *CFCard) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value and a boolean to check if the value has been set.

func (*CFCard) GetCryptogram

func (o *CFCard) GetCryptogram() string

GetCryptogram returns the Cryptogram field value

func (*CFCard) GetCryptogramOk

func (o *CFCard) GetCryptogramOk() (*string, bool)

GetCryptogramOk returns a tuple with the Cryptogram field value and a boolean to check if the value has been set.

func (*CFCard) GetEmiTenure

func (o *CFCard) GetEmiTenure() int32

GetEmiTenure returns the EmiTenure field value

func (*CFCard) GetEmiTenureOk

func (o *CFCard) GetEmiTenureOk() (*int32, bool)

GetEmiTenureOk returns a tuple with the EmiTenure field value and a boolean to check if the value has been set.

func (*CFCard) GetInstrumentId

func (o *CFCard) GetInstrumentId() string

GetInstrumentId returns the InstrumentId field value

func (*CFCard) GetInstrumentIdOk

func (o *CFCard) GetInstrumentIdOk() (*string, bool)

GetInstrumentIdOk returns a tuple with the InstrumentId field value and a boolean to check if the value has been set.

func (*CFCard) GetTokenRequestorId

func (o *CFCard) GetTokenRequestorId() string

GetTokenRequestorId returns the TokenRequestorId field value

func (*CFCard) GetTokenRequestorIdOk

func (o *CFCard) GetTokenRequestorIdOk() (*string, bool)

GetTokenRequestorIdOk returns a tuple with the TokenRequestorId field value and a boolean to check if the value has been set.

func (CFCard) MarshalJSON

func (o CFCard) MarshalJSON() ([]byte, error)

func (*CFCard) SetCardAlias

func (o *CFCard) SetCardAlias(v string)

SetCardAlias sets field value

func (*CFCard) SetCardBankName

func (o *CFCard) SetCardBankName(v string)

SetCardBankName sets field value

func (*CFCard) SetCardCvv

func (o *CFCard) SetCardCvv(v string)

SetCardCvv sets field value

func (*CFCard) SetCardDisplay

func (o *CFCard) SetCardDisplay(v string)

SetCardDisplay sets field value

func (*CFCard) SetCardExpiryMm

func (o *CFCard) SetCardExpiryMm(v string)

SetCardExpiryMm sets field value

func (*CFCard) SetCardExpiryYy

func (o *CFCard) SetCardExpiryYy(v string)

SetCardExpiryYy sets field value

func (*CFCard) SetCardHolderName

func (o *CFCard) SetCardHolderName(v string)

SetCardHolderName sets field value

func (*CFCard) SetCardNumber

func (o *CFCard) SetCardNumber(v string)

SetCardNumber sets field value

func (*CFCard) SetChannel

func (o *CFCard) SetChannel(v string)

SetChannel sets field value

func (*CFCard) SetCryptogram

func (o *CFCard) SetCryptogram(v string)

SetCryptogram sets field value

func (*CFCard) SetEmiTenure

func (o *CFCard) SetEmiTenure(v int32)

SetEmiTenure sets field value

func (*CFCard) SetInstrumentId

func (o *CFCard) SetInstrumentId(v string)

SetInstrumentId sets field value

func (*CFCard) SetTokenRequestorId

func (o *CFCard) SetTokenRequestorId(v string)

SetTokenRequestorId sets field value

type CFCardEMI

type CFCardEMI struct {
	// The channel for card payments will always be \"link\"
	Channel string `json:"channel"`
	// Customer card number.
	CardNumber string `json:"card_number"`
	// Customer name mentioned on the card.
	CardHolderName *string `json:"card_holder_name,omitempty"`
	// Card expiry month.
	CardExpiryMm string `json:"card_expiry_mm"`
	// Card expiry year.
	CardExpiryYy string `json:"card_expiry_yy"`
	// CVV mentioned on the card.
	CardCvv string `json:"card_cvv"`
	// Card alias as returned by Cashfree Vault API
	CardAlias *string `json:"card_alias,omitempty"`
	// Card bank name, required for EMI payments. This is the bank user has selected for EMI. One of [\"Kotak\", \"ICICI\", \"RBL\", \"BOB\", \"Standard Chartered\", \"HDFC\"]
	CardBankName string `json:"card_bank_name"`
	// EMI tenure selected by the user
	EmiTenure int32 `json:"emi_tenure"`
}

CFCardEMI struct for CFCardEMI

func NewCFCardEMI

func NewCFCardEMI(channel string, cardNumber string, cardExpiryMm string, cardExpiryYy string, cardCvv string, cardBankName string, emiTenure int32) *CFCardEMI

NewCFCardEMI instantiates a new CFCardEMI object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFCardEMIWithDefaults

func NewCFCardEMIWithDefaults() *CFCardEMI

NewCFCardEMIWithDefaults instantiates a new CFCardEMI object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFCardEMI) GetCardAlias

func (o *CFCardEMI) GetCardAlias() string

GetCardAlias returns the CardAlias field value if set, zero value otherwise.

func (*CFCardEMI) GetCardAliasOk

func (o *CFCardEMI) GetCardAliasOk() (*string, bool)

GetCardAliasOk returns a tuple with the CardAlias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFCardEMI) GetCardBankName

func (o *CFCardEMI) GetCardBankName() string

GetCardBankName returns the CardBankName field value

func (*CFCardEMI) GetCardBankNameOk

func (o *CFCardEMI) GetCardBankNameOk() (*string, bool)

GetCardBankNameOk returns a tuple with the CardBankName field value and a boolean to check if the value has been set.

func (*CFCardEMI) GetCardCvv

func (o *CFCardEMI) GetCardCvv() string

GetCardCvv returns the CardCvv field value

func (*CFCardEMI) GetCardCvvOk

func (o *CFCardEMI) GetCardCvvOk() (*string, bool)

GetCardCvvOk returns a tuple with the CardCvv field value and a boolean to check if the value has been set.

func (*CFCardEMI) GetCardExpiryMm

func (o *CFCardEMI) GetCardExpiryMm() string

GetCardExpiryMm returns the CardExpiryMm field value

func (*CFCardEMI) GetCardExpiryMmOk

func (o *CFCardEMI) GetCardExpiryMmOk() (*string, bool)

GetCardExpiryMmOk returns a tuple with the CardExpiryMm field value and a boolean to check if the value has been set.

func (*CFCardEMI) GetCardExpiryYy

func (o *CFCardEMI) GetCardExpiryYy() string

GetCardExpiryYy returns the CardExpiryYy field value

func (*CFCardEMI) GetCardExpiryYyOk

func (o *CFCardEMI) GetCardExpiryYyOk() (*string, bool)

GetCardExpiryYyOk returns a tuple with the CardExpiryYy field value and a boolean to check if the value has been set.

func (*CFCardEMI) GetCardHolderName

func (o *CFCardEMI) GetCardHolderName() string

GetCardHolderName returns the CardHolderName field value if set, zero value otherwise.

func (*CFCardEMI) GetCardHolderNameOk

func (o *CFCardEMI) GetCardHolderNameOk() (*string, bool)

GetCardHolderNameOk returns a tuple with the CardHolderName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFCardEMI) GetCardNumber

func (o *CFCardEMI) GetCardNumber() string

GetCardNumber returns the CardNumber field value

func (*CFCardEMI) GetCardNumberOk

func (o *CFCardEMI) GetCardNumberOk() (*string, bool)

GetCardNumberOk returns a tuple with the CardNumber field value and a boolean to check if the value has been set.

func (*CFCardEMI) GetChannel

func (o *CFCardEMI) GetChannel() string

GetChannel returns the Channel field value

func (*CFCardEMI) GetChannelOk

func (o *CFCardEMI) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value and a boolean to check if the value has been set.

func (*CFCardEMI) GetEmiTenure

func (o *CFCardEMI) GetEmiTenure() int32

GetEmiTenure returns the EmiTenure field value

func (*CFCardEMI) GetEmiTenureOk

func (o *CFCardEMI) GetEmiTenureOk() (*int32, bool)

GetEmiTenureOk returns a tuple with the EmiTenure field value and a boolean to check if the value has been set.

func (*CFCardEMI) HasCardAlias

func (o *CFCardEMI) HasCardAlias() bool

HasCardAlias returns a boolean if a field has been set.

func (*CFCardEMI) HasCardHolderName

func (o *CFCardEMI) HasCardHolderName() bool

HasCardHolderName returns a boolean if a field has been set.

func (CFCardEMI) MarshalJSON

func (o CFCardEMI) MarshalJSON() ([]byte, error)

func (*CFCardEMI) SetCardAlias

func (o *CFCardEMI) SetCardAlias(v string)

SetCardAlias gets a reference to the given string and assigns it to the CardAlias field.

func (*CFCardEMI) SetCardBankName

func (o *CFCardEMI) SetCardBankName(v string)

SetCardBankName sets field value

func (*CFCardEMI) SetCardCvv

func (o *CFCardEMI) SetCardCvv(v string)

SetCardCvv sets field value

func (*CFCardEMI) SetCardExpiryMm

func (o *CFCardEMI) SetCardExpiryMm(v string)

SetCardExpiryMm sets field value

func (*CFCardEMI) SetCardExpiryYy

func (o *CFCardEMI) SetCardExpiryYy(v string)

SetCardExpiryYy sets field value

func (*CFCardEMI) SetCardHolderName

func (o *CFCardEMI) SetCardHolderName(v string)

SetCardHolderName gets a reference to the given string and assigns it to the CardHolderName field.

func (*CFCardEMI) SetCardNumber

func (o *CFCardEMI) SetCardNumber(v string)

SetCardNumber sets field value

func (*CFCardEMI) SetChannel

func (o *CFCardEMI) SetChannel(v string)

SetChannel sets field value

func (*CFCardEMI) SetEmiTenure

func (o *CFCardEMI) SetEmiTenure(v int32)

SetEmiTenure sets field value

type CFCardPayment

type CFCardPayment struct {
	Card CFCard `json:"card"`
}

CFCardPayment The card payment object is used to make payment using either plain card number, saved card instrument id or using cryptogram

func NewCFCardPayment

func NewCFCardPayment(card CFCard) *CFCardPayment

NewCFCardPayment instantiates a new CFCardPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFCardPaymentWithDefaults

func NewCFCardPaymentWithDefaults() *CFCardPayment

NewCFCardPaymentWithDefaults instantiates a new CFCardPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFCardPayment) GetCard

func (o *CFCardPayment) GetCard() CFCard

GetCard returns the Card field value

func (*CFCardPayment) GetCardOk

func (o *CFCardPayment) GetCardOk() (*CFCard, bool)

GetCardOk returns a tuple with the Card field value and a boolean to check if the value has been set.

func (CFCardPayment) MarshalJSON

func (o CFCardPayment) MarshalJSON() ([]byte, error)

func (*CFCardPayment) SetCard

func (o *CFCardPayment) SetCard(v CFCard)

SetCard sets field value

type CFCardlessEMI

type CFCardlessEMI struct {
	// The channel for cardless EMI is always `link`
	Channel string `json:"channel"`
	// One of [\"flexmoney\", \"zestmoney\"]
	Provider string `json:"provider"`
	// Customers phone number for this payment instrument. If the customer is not eligible you will receive a 400 error with type as 'invalid_request_error' and code as 'invalid_request_error'
	Phone string `json:"phone"`
}

CFCardlessEMI struct for CFCardlessEMI

func NewCFCardlessEMI

func NewCFCardlessEMI(channel string, provider string, phone string) *CFCardlessEMI

NewCFCardlessEMI instantiates a new CFCardlessEMI object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFCardlessEMIWithDefaults

func NewCFCardlessEMIWithDefaults() *CFCardlessEMI

NewCFCardlessEMIWithDefaults instantiates a new CFCardlessEMI object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFCardlessEMI) GetChannel

func (o *CFCardlessEMI) GetChannel() string

GetChannel returns the Channel field value

func (*CFCardlessEMI) GetChannelOk

func (o *CFCardlessEMI) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value and a boolean to check if the value has been set.

func (*CFCardlessEMI) GetPhone

func (o *CFCardlessEMI) GetPhone() string

GetPhone returns the Phone field value

func (*CFCardlessEMI) GetPhoneOk

func (o *CFCardlessEMI) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value and a boolean to check if the value has been set.

func (*CFCardlessEMI) GetProvider

func (o *CFCardlessEMI) GetProvider() string

GetProvider returns the Provider field value

func (*CFCardlessEMI) GetProviderOk

func (o *CFCardlessEMI) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (CFCardlessEMI) MarshalJSON

func (o CFCardlessEMI) MarshalJSON() ([]byte, error)

func (*CFCardlessEMI) SetChannel

func (o *CFCardlessEMI) SetChannel(v string)

SetChannel sets field value

func (*CFCardlessEMI) SetPhone

func (o *CFCardlessEMI) SetPhone(v string)

SetPhone sets field value

func (*CFCardlessEMI) SetProvider

func (o *CFCardlessEMI) SetProvider(v string)

SetProvider sets field value

type CFCardlessEMIPayment

type CFCardlessEMIPayment struct {
	CardlessEmi CFCardlessEMI `json:"cardless_emi"`
}

CFCardlessEMIPayment struct for CFCardlessEMIPayment

func NewCFCardlessEMIPayment

func NewCFCardlessEMIPayment(cardlessEmi CFCardlessEMI) *CFCardlessEMIPayment

NewCFCardlessEMIPayment instantiates a new CFCardlessEMIPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFCardlessEMIPaymentWithDefaults

func NewCFCardlessEMIPaymentWithDefaults() *CFCardlessEMIPayment

NewCFCardlessEMIPaymentWithDefaults instantiates a new CFCardlessEMIPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFCardlessEMIPayment) GetCardlessEmi

func (o *CFCardlessEMIPayment) GetCardlessEmi() CFCardlessEMI

GetCardlessEmi returns the CardlessEmi field value

func (*CFCardlessEMIPayment) GetCardlessEmiOk

func (o *CFCardlessEMIPayment) GetCardlessEmiOk() (*CFCardlessEMI, bool)

GetCardlessEmiOk returns a tuple with the CardlessEmi field value and a boolean to check if the value has been set.

func (CFCardlessEMIPayment) MarshalJSON

func (o CFCardlessEMIPayment) MarshalJSON() ([]byte, error)

func (*CFCardlessEMIPayment) SetCardlessEmi

func (o *CFCardlessEMIPayment) SetCardlessEmi(v CFCardlessEMI)

SetCardlessEmi sets field value

type CFConfig

type CFConfig struct {
	Environment  *CFEnvironment
	ClientId     *string
	ClientSecret *string
	ApiVersion   *string
	Timeout      *time.Duration
	Proxy        *string
}

type CFCreateOfferBackendRequest added in v2.1.2

type CFCreateOfferBackendRequest struct {
	OfferMeta        OfferMeta        `json:"offer_meta"`
	OfferTnc         OfferTnc         `json:"offer_tnc"`
	OfferDetails     OfferDetails     `json:"offer_details"`
	OfferValidations OfferValidations `json:"offer_validations"`
}

CreateOfferBackendRequest struct for CreateOfferBackendRequest

func NewCreateOfferBackendRequest added in v2.1.2

func NewCreateOfferBackendRequest(offerMeta OfferMeta, offerTnc OfferTnc, offerDetails OfferDetails, offerValidations OfferValidations) *CFCreateOfferBackendRequest

NewCreateOfferBackendRequest instantiates a new CreateOfferBackendRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateOfferBackendRequestWithDefaults added in v2.1.2

func NewCreateOfferBackendRequestWithDefaults() *CFCreateOfferBackendRequest

NewCreateOfferBackendRequestWithDefaults instantiates a new CreateOfferBackendRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFCreateOfferBackendRequest) GetOfferDetails added in v2.1.2

func (o *CFCreateOfferBackendRequest) GetOfferDetails() OfferDetails

GetOfferDetails returns the OfferDetails field value

func (*CFCreateOfferBackendRequest) GetOfferDetailsOk added in v2.1.2

func (o *CFCreateOfferBackendRequest) GetOfferDetailsOk() (*OfferDetails, bool)

GetOfferDetailsOk returns a tuple with the OfferDetails field value and a boolean to check if the value has been set.

func (*CFCreateOfferBackendRequest) GetOfferMeta added in v2.1.2

func (o *CFCreateOfferBackendRequest) GetOfferMeta() OfferMeta

GetOfferMeta returns the OfferMeta field value

func (*CFCreateOfferBackendRequest) GetOfferMetaOk added in v2.1.2

func (o *CFCreateOfferBackendRequest) GetOfferMetaOk() (*OfferMeta, bool)

GetOfferMetaOk returns a tuple with the OfferMeta field value and a boolean to check if the value has been set.

func (*CFCreateOfferBackendRequest) GetOfferTnc added in v2.1.2

func (o *CFCreateOfferBackendRequest) GetOfferTnc() OfferTnc

GetOfferTnc returns the OfferTnc field value

func (*CFCreateOfferBackendRequest) GetOfferTncOk added in v2.1.2

func (o *CFCreateOfferBackendRequest) GetOfferTncOk() (*OfferTnc, bool)

GetOfferTncOk returns a tuple with the OfferTnc field value and a boolean to check if the value has been set.

func (*CFCreateOfferBackendRequest) GetOfferValidations added in v2.1.2

func (o *CFCreateOfferBackendRequest) GetOfferValidations() OfferValidations

GetOfferValidations returns the OfferValidations field value

func (*CFCreateOfferBackendRequest) GetOfferValidationsOk added in v2.1.2

func (o *CFCreateOfferBackendRequest) GetOfferValidationsOk() (*OfferValidations, bool)

GetOfferValidationsOk returns a tuple with the OfferValidations field value and a boolean to check if the value has been set.

func (CFCreateOfferBackendRequest) MarshalJSON added in v2.1.2

func (o CFCreateOfferBackendRequest) MarshalJSON() ([]byte, error)

func (*CFCreateOfferBackendRequest) SetOfferDetails added in v2.1.2

func (o *CFCreateOfferBackendRequest) SetOfferDetails(v OfferDetails)

SetOfferDetails sets field value

func (*CFCreateOfferBackendRequest) SetOfferMeta added in v2.1.2

func (o *CFCreateOfferBackendRequest) SetOfferMeta(v OfferMeta)

SetOfferMeta sets field value

func (*CFCreateOfferBackendRequest) SetOfferTnc added in v2.1.2

func (o *CFCreateOfferBackendRequest) SetOfferTnc(v OfferTnc)

SetOfferTnc sets field value

func (*CFCreateOfferBackendRequest) SetOfferValidations added in v2.1.2

func (o *CFCreateOfferBackendRequest) SetOfferValidations(v OfferValidations)

SetOfferValidations sets field value

func (CFCreateOfferBackendRequest) ToMap added in v2.1.2

func (o CFCreateOfferBackendRequest) ToMap() (map[string]interface{}, error)

type CFCryptogram

type CFCryptogram struct {
	// instrument_id of saved instrument
	InstrumentId *string `json:"instrument_id,omitempty"`
	// TRID issued by card networks
	TokenRequestorId *string `json:"token_requestor_id,omitempty"`
	// token pan number
	CardNumber *string `json:"card_number,omitempty"`
	// token pan expiry month
	CardExpiryMm *string `json:"card_expiry_mm,omitempty"`
	// token pan expiry year
	CardExpiryYy *string `json:"card_expiry_yy,omitempty"`
	// cryptogram
	Cryptogram *string `json:"cryptogram,omitempty"`
	// last 4 digits of original card number
	CardDisplay *string `json:"card_display,omitempty"`
}

CFCryptogram struct for CFCryptogram

func NewCFCryptogram

func NewCFCryptogram() *CFCryptogram

NewCFCryptogram instantiates a new CFCryptogram object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFCryptogramWithDefaults

func NewCFCryptogramWithDefaults() *CFCryptogram

NewCFCryptogramWithDefaults instantiates a new CFCryptogram object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFCryptogram) GetCardDisplay

func (o *CFCryptogram) GetCardDisplay() string

GetCardDisplay returns the CardDisplay field value if set, zero value otherwise.

func (*CFCryptogram) GetCardDisplayOk

func (o *CFCryptogram) GetCardDisplayOk() (*string, bool)

GetCardDisplayOk returns a tuple with the CardDisplay field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFCryptogram) GetCardExpiryMm

func (o *CFCryptogram) GetCardExpiryMm() string

GetCardExpiryMm returns the CardExpiryMm field value if set, zero value otherwise.

func (*CFCryptogram) GetCardExpiryMmOk

func (o *CFCryptogram) GetCardExpiryMmOk() (*string, bool)

GetCardExpiryMmOk returns a tuple with the CardExpiryMm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFCryptogram) GetCardExpiryYy

func (o *CFCryptogram) GetCardExpiryYy() string

GetCardExpiryYy returns the CardExpiryYy field value if set, zero value otherwise.

func (*CFCryptogram) GetCardExpiryYyOk

func (o *CFCryptogram) GetCardExpiryYyOk() (*string, bool)

GetCardExpiryYyOk returns a tuple with the CardExpiryYy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFCryptogram) GetCardNumber

func (o *CFCryptogram) GetCardNumber() string

GetCardNumber returns the CardNumber field value if set, zero value otherwise.

func (*CFCryptogram) GetCardNumberOk

func (o *CFCryptogram) GetCardNumberOk() (*string, bool)

GetCardNumberOk returns a tuple with the CardNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFCryptogram) GetCryptogram

func (o *CFCryptogram) GetCryptogram() string

GetCryptogram returns the Cryptogram field value if set, zero value otherwise.

func (*CFCryptogram) GetCryptogramOk

func (o *CFCryptogram) GetCryptogramOk() (*string, bool)

GetCryptogramOk returns a tuple with the Cryptogram field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFCryptogram) GetInstrumentId

func (o *CFCryptogram) GetInstrumentId() string

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*CFCryptogram) GetInstrumentIdOk

func (o *CFCryptogram) GetInstrumentIdOk() (*string, bool)

GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFCryptogram) GetTokenRequestorId

func (o *CFCryptogram) GetTokenRequestorId() string

GetTokenRequestorId returns the TokenRequestorId field value if set, zero value otherwise.

func (*CFCryptogram) GetTokenRequestorIdOk

func (o *CFCryptogram) GetTokenRequestorIdOk() (*string, bool)

GetTokenRequestorIdOk returns a tuple with the TokenRequestorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFCryptogram) HasCardDisplay

func (o *CFCryptogram) HasCardDisplay() bool

HasCardDisplay returns a boolean if a field has been set.

func (*CFCryptogram) HasCardExpiryMm

func (o *CFCryptogram) HasCardExpiryMm() bool

HasCardExpiryMm returns a boolean if a field has been set.

func (*CFCryptogram) HasCardExpiryYy

func (o *CFCryptogram) HasCardExpiryYy() bool

HasCardExpiryYy returns a boolean if a field has been set.

func (*CFCryptogram) HasCardNumber

func (o *CFCryptogram) HasCardNumber() bool

HasCardNumber returns a boolean if a field has been set.

func (*CFCryptogram) HasCryptogram

func (o *CFCryptogram) HasCryptogram() bool

HasCryptogram returns a boolean if a field has been set.

func (*CFCryptogram) HasInstrumentId

func (o *CFCryptogram) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*CFCryptogram) HasTokenRequestorId

func (o *CFCryptogram) HasTokenRequestorId() bool

HasTokenRequestorId returns a boolean if a field has been set.

func (CFCryptogram) MarshalJSON

func (o CFCryptogram) MarshalJSON() ([]byte, error)

func (*CFCryptogram) SetCardDisplay

func (o *CFCryptogram) SetCardDisplay(v string)

SetCardDisplay gets a reference to the given string and assigns it to the CardDisplay field.

func (*CFCryptogram) SetCardExpiryMm

func (o *CFCryptogram) SetCardExpiryMm(v string)

SetCardExpiryMm gets a reference to the given string and assigns it to the CardExpiryMm field.

func (*CFCryptogram) SetCardExpiryYy

func (o *CFCryptogram) SetCardExpiryYy(v string)

SetCardExpiryYy gets a reference to the given string and assigns it to the CardExpiryYy field.

func (*CFCryptogram) SetCardNumber

func (o *CFCryptogram) SetCardNumber(v string)

SetCardNumber gets a reference to the given string and assigns it to the CardNumber field.

func (*CFCryptogram) SetCryptogram

func (o *CFCryptogram) SetCryptogram(v string)

SetCryptogram gets a reference to the given string and assigns it to the Cryptogram field.

func (*CFCryptogram) SetInstrumentId

func (o *CFCryptogram) SetInstrumentId(v string)

SetInstrumentId gets a reference to the given string and assigns it to the InstrumentId field.

func (*CFCryptogram) SetTokenRequestorId

func (o *CFCryptogram) SetTokenRequestorId(v string)

SetTokenRequestorId gets a reference to the given string and assigns it to the TokenRequestorId field.

type CFCustomerDetails

type CFCustomerDetails struct {
	// Customer Name
	CustomerName string `json:"customer_name"`
	// A unique identifier for the customer. Use alphanumeric values only.
	CustomerId string `json:"customer_id"`
	// Customer email address.
	CustomerEmail string `json:"customer_email"`
	// Customer phone number.
	CustomerPhone string `json:"customer_phone"`
	// Customer bank account. Required if you want to do a bank account check (TPV)
	CustomerBankAccountNumber string `json:"customer_bank_account_number"`
	// Customer bank IFSC. Required if you want to do a bank account check (TPV)
	CustomerBankIfsc string `json:"customer_bank_ifsc"`
	// Customer bank code. Required for net banking payments, if you want to do a bank account check (TPV)
	CustomerBankCode int32 `json:"customer_bank_code"`
}

CFCustomerDetails struct for CFCustomerDetails

func NewCFCustomerDetails

func NewCFCustomerDetails(customerId string, customerEmail string, customerPhone string, customerBankAccountNumber string, customerBankIfsc string, customerBankCode int32, customerName string) *CFCustomerDetails

NewCFCustomerDetails instantiates a new CFCustomerDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFCustomerDetailsWithDefaults

func NewCFCustomerDetailsWithDefaults() *CFCustomerDetails

NewCFCustomerDetailsWithDefaults instantiates a new CFCustomerDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFCustomerDetails) GetCustomerBankAccountNumber

func (o *CFCustomerDetails) GetCustomerBankAccountNumber() string

GetCustomerBankAccountNumber returns the CustomerBankAccountNumber field value

func (*CFCustomerDetails) GetCustomerBankAccountNumberOk

func (o *CFCustomerDetails) GetCustomerBankAccountNumberOk() (*string, bool)

GetCustomerBankAccountNumberOk returns a tuple with the CustomerBankAccountNumber field value and a boolean to check if the value has been set.

func (*CFCustomerDetails) GetCustomerBankCode

func (o *CFCustomerDetails) GetCustomerBankCode() int32

GetCustomerBankCode returns the CustomerBankCode field value

func (*CFCustomerDetails) GetCustomerBankCodeOk

func (o *CFCustomerDetails) GetCustomerBankCodeOk() (*int32, bool)

GetCustomerBankCodeOk returns a tuple with the CustomerBankCode field value and a boolean to check if the value has been set.

func (*CFCustomerDetails) GetCustomerBankIfsc

func (o *CFCustomerDetails) GetCustomerBankIfsc() string

GetCustomerBankIfsc returns the CustomerBankIfsc field value

func (*CFCustomerDetails) GetCustomerBankIfscOk

func (o *CFCustomerDetails) GetCustomerBankIfscOk() (*string, bool)

GetCustomerBankIfscOk returns a tuple with the CustomerBankIfsc field value and a boolean to check if the value has been set.

func (*CFCustomerDetails) GetCustomerEmail

func (o *CFCustomerDetails) GetCustomerEmail() string

GetCustomerEmail returns the CustomerEmail field value

func (*CFCustomerDetails) GetCustomerEmailOk

func (o *CFCustomerDetails) GetCustomerEmailOk() (*string, bool)

GetCustomerEmailOk returns a tuple with the CustomerEmail field value and a boolean to check if the value has been set.

func (*CFCustomerDetails) GetCustomerId

func (o *CFCustomerDetails) GetCustomerId() string

GetCustomerId returns the CustomerId field value

func (*CFCustomerDetails) GetCustomerIdOk

func (o *CFCustomerDetails) GetCustomerIdOk() (*string, bool)

GetCustomerIdOk returns a tuple with the CustomerId field value and a boolean to check if the value has been set.

func (*CFCustomerDetails) GetCustomerName added in v2.1.2

func (o *CFCustomerDetails) GetCustomerName() string

GetCustomerName returns the CustomerName field value

func (*CFCustomerDetails) GetCustomerPhone

func (o *CFCustomerDetails) GetCustomerPhone() string

GetCustomerPhone returns the CustomerPhone field value

func (*CFCustomerDetails) GetCustomerPhoneOk

func (o *CFCustomerDetails) GetCustomerPhoneOk() (*string, bool)

GetCustomerPhoneOk returns a tuple with the CustomerPhone field value and a boolean to check if the value has been set.

func (CFCustomerDetails) MarshalJSON

func (o CFCustomerDetails) MarshalJSON() ([]byte, error)

func (*CFCustomerDetails) SetCustomerBankAccountNumber

func (o *CFCustomerDetails) SetCustomerBankAccountNumber(v string)

SetCustomerBankAccountNumber sets field value

func (*CFCustomerDetails) SetCustomerBankCode

func (o *CFCustomerDetails) SetCustomerBankCode(v int32)

SetCustomerBankCode sets field value

func (*CFCustomerDetails) SetCustomerBankIfsc

func (o *CFCustomerDetails) SetCustomerBankIfsc(v string)

SetCustomerBankIfsc sets field value

func (*CFCustomerDetails) SetCustomerEmail

func (o *CFCustomerDetails) SetCustomerEmail(v string)

SetCustomerEmail sets field value

func (*CFCustomerDetails) SetCustomerId

func (o *CFCustomerDetails) SetCustomerId(v string)

SetCustomerId sets field value

func (*CFCustomerDetails) SetCustomerName added in v2.1.2

func (o *CFCustomerDetails) SetCustomerName(v string)

SetCustomerName sets field value

func (*CFCustomerDetails) SetCustomerPhone

func (o *CFCustomerDetails) SetCustomerPhone(v string)

SetCustomerPhone sets field value

type CFEMIPayment

type CFEMIPayment struct {
	Emi *CFCardEMI `json:"emi,omitempty"`
}

CFEMIPayment struct for CFEMIPayment

func NewCFEMIPayment

func NewCFEMIPayment() *CFEMIPayment

NewCFEMIPayment instantiates a new CFEMIPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFEMIPaymentWithDefaults

func NewCFEMIPaymentWithDefaults() *CFEMIPayment

NewCFEMIPaymentWithDefaults instantiates a new CFEMIPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFEMIPayment) GetEmi

func (o *CFEMIPayment) GetEmi() CFCardEMI

GetEmi returns the Emi field value if set, zero value otherwise.

func (*CFEMIPayment) GetEmiOk

func (o *CFEMIPayment) GetEmiOk() (*CFCardEMI, bool)

GetEmiOk returns a tuple with the Emi field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFEMIPayment) HasEmi

func (o *CFEMIPayment) HasEmi() bool

HasEmi returns a boolean if a field has been set.

func (CFEMIPayment) MarshalJSON

func (o CFEMIPayment) MarshalJSON() ([]byte, error)

func (*CFEMIPayment) SetEmi

func (o *CFEMIPayment) SetEmi(v CFCardEMI)

SetEmi gets a reference to the given CFCardEMI and assigns it to the Emi field.

type CFEligibilityOffersRequest added in v2.1.2

type CFEligibilityOffersRequest struct {
	Queries OfferQueries  `json:"queries"`
	Filters *OfferFilters `json:"filters,omitempty"`
}

EligibilityOffersRequest struct for EligibilityOffersRequest

func NewEligibilityOffersRequest added in v2.1.2

func NewEligibilityOffersRequest(queries OfferQueries) *CFEligibilityOffersRequest

NewEligibilityOffersRequest instantiates a new EligibilityOffersRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEligibilityOffersRequestWithDefaults added in v2.1.2

func NewEligibilityOffersRequestWithDefaults() *CFEligibilityOffersRequest

NewEligibilityOffersRequestWithDefaults instantiates a new EligibilityOffersRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFEligibilityOffersRequest) GetFilters added in v2.1.2

func (o *CFEligibilityOffersRequest) GetFilters() OfferFilters

GetFilters returns the Filters field value if set, zero value otherwise.

func (*CFEligibilityOffersRequest) GetFiltersOk added in v2.1.2

func (o *CFEligibilityOffersRequest) GetFiltersOk() (*OfferFilters, bool)

GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFEligibilityOffersRequest) GetQueries added in v2.1.2

func (o *CFEligibilityOffersRequest) GetQueries() OfferQueries

GetQueries returns the Queries field value

func (*CFEligibilityOffersRequest) GetQueriesOk added in v2.1.2

func (o *CFEligibilityOffersRequest) GetQueriesOk() (*OfferQueries, bool)

GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.

func (*CFEligibilityOffersRequest) HasFilters added in v2.1.2

func (o *CFEligibilityOffersRequest) HasFilters() bool

HasFilters returns a boolean if a field has been set.

func (CFEligibilityOffersRequest) MarshalJSON added in v2.1.2

func (o CFEligibilityOffersRequest) MarshalJSON() ([]byte, error)

func (*CFEligibilityOffersRequest) SetFilters added in v2.1.2

func (o *CFEligibilityOffersRequest) SetFilters(v OfferFilters)

SetFilters gets a reference to the given OfferFilters and assigns it to the Filters field.

func (*CFEligibilityOffersRequest) SetQueries added in v2.1.2

func (o *CFEligibilityOffersRequest) SetQueries(v OfferQueries)

SetQueries sets field value

func (CFEligibilityOffersRequest) ToMap added in v2.1.2

func (o CFEligibilityOffersRequest) ToMap() (map[string]interface{}, error)

type CFEnvironment

type CFEnvironment int
const (
	SANDBOX    CFEnvironment = 0
	PRODUCTION CFEnvironment = 1
)

type CFError

type CFError struct {
	Message *string `json:"message,omitempty"`
	Code    *string `json:"code,omitempty"`
	// One of [\"invalid_request_error\", \"authentication_error\", \"rate_limit_error\", \"validation_error\", \"api_error\"]
	Type *string `json:"type,omitempty"`
}

CFError struct for CFError

func NewCFError

func NewCFError() *CFError

NewCFError instantiates a new CFError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFErrorWithDefaults

func NewCFErrorWithDefaults() *CFError

NewCFErrorWithDefaults instantiates a new CFError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFError) GetCode

func (o *CFError) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*CFError) GetCodeOk

func (o *CFError) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFError) GetMessage

func (o *CFError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*CFError) GetMessageOk

func (o *CFError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFError) GetType

func (o *CFError) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*CFError) GetTypeOk

func (o *CFError) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFError) HasCode

func (o *CFError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*CFError) HasMessage

func (o *CFError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*CFError) HasType

func (o *CFError) HasType() bool

HasType returns a boolean if a field has been set.

func (CFError) MarshalJSON

func (o CFError) MarshalJSON() ([]byte, error)

func (*CFError) SetCode

func (o *CFError) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*CFError) SetMessage

func (o *CFError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*CFError) SetType

func (o *CFError) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type CFFetchAllSavedInstruments

type CFFetchAllSavedInstruments struct {
	// customer_id for which the instrument was saved
	CustomerId *string `json:"customer_id,omitempty"`
	// cf_payment_id of the successful transaction done while saving instrument
	AfaReference *int32 `json:"afa_reference,omitempty"`
	// saved instrument id
	InstrumentId *string `json:"instrument_id,omitempty"`
	// Type of the saved instrument
	InstrumentType *string `json:"instrument_type,omitempty"`
	// Unique id for the saved instrument
	InstrumentUid *string `json:"instrument_uid,omitempty"`
	// masked card number displayed to the customer
	InstrumentDisplay *string `json:"instrument_display,omitempty"`
	// status of the saved instrument
	InstrumentStatus *string `json:"instrument_status,omitempty"`
	// timestamp at which instrument was saved
	CreatedAt      *string                `json:"created_at,omitempty"`
	InstrumentMeta *CFSavedInstrumentMeta `json:"instrument_meta,omitempty"`
}

CFFetchAllSavedInstruments struct for CFFetchAllSavedInstruments

func NewCFFetchAllSavedInstruments

func NewCFFetchAllSavedInstruments() *CFFetchAllSavedInstruments

NewCFFetchAllSavedInstruments instantiates a new CFFetchAllSavedInstruments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFFetchAllSavedInstrumentsWithDefaults

func NewCFFetchAllSavedInstrumentsWithDefaults() *CFFetchAllSavedInstruments

NewCFFetchAllSavedInstrumentsWithDefaults instantiates a new CFFetchAllSavedInstruments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFFetchAllSavedInstruments) GetAfaReference

func (o *CFFetchAllSavedInstruments) GetAfaReference() int32

GetAfaReference returns the AfaReference field value if set, zero value otherwise.

func (*CFFetchAllSavedInstruments) GetAfaReferenceOk

func (o *CFFetchAllSavedInstruments) GetAfaReferenceOk() (*int32, bool)

GetAfaReferenceOk returns a tuple with the AfaReference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFFetchAllSavedInstruments) GetCreatedAt

func (o *CFFetchAllSavedInstruments) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CFFetchAllSavedInstruments) GetCreatedAtOk

func (o *CFFetchAllSavedInstruments) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFFetchAllSavedInstruments) GetCustomerId

func (o *CFFetchAllSavedInstruments) GetCustomerId() string

GetCustomerId returns the CustomerId field value if set, zero value otherwise.

func (*CFFetchAllSavedInstruments) GetCustomerIdOk

func (o *CFFetchAllSavedInstruments) GetCustomerIdOk() (*string, bool)

GetCustomerIdOk returns a tuple with the CustomerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFFetchAllSavedInstruments) GetInstrumentDisplay

func (o *CFFetchAllSavedInstruments) GetInstrumentDisplay() string

GetInstrumentDisplay returns the InstrumentDisplay field value if set, zero value otherwise.

func (*CFFetchAllSavedInstruments) GetInstrumentDisplayOk

func (o *CFFetchAllSavedInstruments) GetInstrumentDisplayOk() (*string, bool)

GetInstrumentDisplayOk returns a tuple with the InstrumentDisplay field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFFetchAllSavedInstruments) GetInstrumentId

func (o *CFFetchAllSavedInstruments) GetInstrumentId() string

GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.

func (*CFFetchAllSavedInstruments) GetInstrumentIdOk

func (o *CFFetchAllSavedInstruments) GetInstrumentIdOk() (*string, bool)

GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFFetchAllSavedInstruments) GetInstrumentMeta

func (o *CFFetchAllSavedInstruments) GetInstrumentMeta() CFSavedInstrumentMeta

GetInstrumentMeta returns the InstrumentMeta field value if set, zero value otherwise.

func (*CFFetchAllSavedInstruments) GetInstrumentMetaOk

func (o *CFFetchAllSavedInstruments) GetInstrumentMetaOk() (*CFSavedInstrumentMeta, bool)

GetInstrumentMetaOk returns a tuple with the InstrumentMeta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFFetchAllSavedInstruments) GetInstrumentStatus

func (o *CFFetchAllSavedInstruments) GetInstrumentStatus() string

GetInstrumentStatus returns the InstrumentStatus field value if set, zero value otherwise.

func (*CFFetchAllSavedInstruments) GetInstrumentStatusOk

func (o *CFFetchAllSavedInstruments) GetInstrumentStatusOk() (*string, bool)

GetInstrumentStatusOk returns a tuple with the InstrumentStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFFetchAllSavedInstruments) GetInstrumentType

func (o *CFFetchAllSavedInstruments) GetInstrumentType() string

GetInstrumentType returns the InstrumentType field value if set, zero value otherwise.

func (*CFFetchAllSavedInstruments) GetInstrumentTypeOk

func (o *CFFetchAllSavedInstruments) GetInstrumentTypeOk() (*string, bool)

GetInstrumentTypeOk returns a tuple with the InstrumentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFFetchAllSavedInstruments) GetInstrumentUid

func (o *CFFetchAllSavedInstruments) GetInstrumentUid() string

GetInstrumentUid returns the InstrumentUid field value if set, zero value otherwise.

func (*CFFetchAllSavedInstruments) GetInstrumentUidOk

func (o *CFFetchAllSavedInstruments) GetInstrumentUidOk() (*string, bool)

GetInstrumentUidOk returns a tuple with the InstrumentUid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFFetchAllSavedInstruments) HasAfaReference

func (o *CFFetchAllSavedInstruments) HasAfaReference() bool

HasAfaReference returns a boolean if a field has been set.

func (*CFFetchAllSavedInstruments) HasCreatedAt

func (o *CFFetchAllSavedInstruments) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CFFetchAllSavedInstruments) HasCustomerId

func (o *CFFetchAllSavedInstruments) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (*CFFetchAllSavedInstruments) HasInstrumentDisplay

func (o *CFFetchAllSavedInstruments) HasInstrumentDisplay() bool

HasInstrumentDisplay returns a boolean if a field has been set.

func (*CFFetchAllSavedInstruments) HasInstrumentId

func (o *CFFetchAllSavedInstruments) HasInstrumentId() bool

HasInstrumentId returns a boolean if a field has been set.

func (*CFFetchAllSavedInstruments) HasInstrumentMeta

func (o *CFFetchAllSavedInstruments) HasInstrumentMeta() bool

HasInstrumentMeta returns a boolean if a field has been set.

func (*CFFetchAllSavedInstruments) HasInstrumentStatus

func (o *CFFetchAllSavedInstruments) HasInstrumentStatus() bool

HasInstrumentStatus returns a boolean if a field has been set.

func (*CFFetchAllSavedInstruments) HasInstrumentType

func (o *CFFetchAllSavedInstruments) HasInstrumentType() bool

HasInstrumentType returns a boolean if a field has been set.

func (*CFFetchAllSavedInstruments) HasInstrumentUid

func (o *CFFetchAllSavedInstruments) HasInstrumentUid() bool

HasInstrumentUid returns a boolean if a field has been set.

func (CFFetchAllSavedInstruments) MarshalJSON

func (o CFFetchAllSavedInstruments) MarshalJSON() ([]byte, error)

func (*CFFetchAllSavedInstruments) SetAfaReference

func (o *CFFetchAllSavedInstruments) SetAfaReference(v int32)

SetAfaReference gets a reference to the given int32 and assigns it to the AfaReference field.

func (*CFFetchAllSavedInstruments) SetCreatedAt

func (o *CFFetchAllSavedInstruments) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*CFFetchAllSavedInstruments) SetCustomerId

func (o *CFFetchAllSavedInstruments) SetCustomerId(v string)

SetCustomerId gets a reference to the given string and assigns it to the CustomerId field.

func (*CFFetchAllSavedInstruments) SetInstrumentDisplay

func (o *CFFetchAllSavedInstruments) SetInstrumentDisplay(v string)

SetInstrumentDisplay gets a reference to the given string and assigns it to the InstrumentDisplay field.

func (*CFFetchAllSavedInstruments) SetInstrumentId

func (o *CFFetchAllSavedInstruments) SetInstrumentId(v string)

SetInstrumentId gets a reference to the given string and assigns it to the InstrumentId field.

func (*CFFetchAllSavedInstruments) SetInstrumentMeta

func (o *CFFetchAllSavedInstruments) SetInstrumentMeta(v CFSavedInstrumentMeta)

SetInstrumentMeta gets a reference to the given CFSavedInstrumentMeta and assigns it to the InstrumentMeta field.

func (*CFFetchAllSavedInstruments) SetInstrumentStatus

func (o *CFFetchAllSavedInstruments) SetInstrumentStatus(v string)

SetInstrumentStatus gets a reference to the given string and assigns it to the InstrumentStatus field.

func (*CFFetchAllSavedInstruments) SetInstrumentType

func (o *CFFetchAllSavedInstruments) SetInstrumentType(v string)

SetInstrumentType gets a reference to the given string and assigns it to the InstrumentType field.

func (*CFFetchAllSavedInstruments) SetInstrumentUid

func (o *CFFetchAllSavedInstruments) SetInstrumentUid(v string)

SetInstrumentUid gets a reference to the given string and assigns it to the InstrumentUid field.

type CFHeader

type CFHeader struct {
	RequestID      *string
	IdempotencyKey *string
}
type CFLink struct {
	CfLinkId                 *int64                       `json:"cf_link_id,omitempty"`
	LinkId                   *string                      `json:"link_id,omitempty"`
	LinkStatus               *string                      `json:"link_status,omitempty"`
	LinkCurrency             *string                      `json:"link_currency,omitempty"`
	LinkAmount               *float32                     `json:"link_amount,omitempty"`
	LinkAmountPaid           *float32                     `json:"link_amount_paid,omitempty"`
	LinkPartialPayments      *bool                        `json:"link_partial_payments,omitempty"`
	LinkMinimumPartialAmount *float32                     `json:"link_minimum_partial_amount,omitempty"`
	LinkPurpose              *string                      `json:"link_purpose,omitempty"`
	LinkCreatedAt            *string                      `json:"link_created_at,omitempty"`
	CustomerDetails          *CFLinkCustomerDetailsEntity `json:"customer_details,omitempty"`
	LinkMeta                 *CFLinkMetaEntity            `json:"link_meta,omitempty"`
	LinkUrl                  *string                      `json:"link_url,omitempty"`
	LinkExpiryTime           *string                      `json:"link_expiry_time,omitempty"`
	// Key-value pair that can be used to store additional information about the entity. Maximum 5 key-value pairs
	LinkNotes         *map[string]string  `json:"link_notes,omitempty"`
	LinkAutoReminders *bool               `json:"link_auto_reminders,omitempty"`
	LinkNotify        *CFLinkNotifyEntity `json:"link_notify,omitempty"`
}

CFLink struct for CFLink

func NewCFLink() *CFLink

NewCFLink instantiates a new CFLink object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFLinkWithDefaults

func NewCFLinkWithDefaults() *CFLink

NewCFLinkWithDefaults instantiates a new CFLink object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFLink) GetCfLinkId

func (o *CFLink) GetCfLinkId() int64

GetCfLinkId returns the CfLinkId field value if set, zero value otherwise.

func (*CFLink) GetCfLinkIdOk

func (o *CFLink) GetCfLinkIdOk() (*int64, bool)

GetCfLinkIdOk returns a tuple with the CfLinkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetCustomerDetails

func (o *CFLink) GetCustomerDetails() CFLinkCustomerDetailsEntity

GetCustomerDetails returns the CustomerDetails field value if set, zero value otherwise.

func (*CFLink) GetCustomerDetailsOk

func (o *CFLink) GetCustomerDetailsOk() (*CFLinkCustomerDetailsEntity, bool)

GetCustomerDetailsOk returns a tuple with the CustomerDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkAmount

func (o *CFLink) GetLinkAmount() float32

GetLinkAmount returns the LinkAmount field value if set, zero value otherwise.

func (*CFLink) GetLinkAmountOk

func (o *CFLink) GetLinkAmountOk() (*float32, bool)

GetLinkAmountOk returns a tuple with the LinkAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkAmountPaid

func (o *CFLink) GetLinkAmountPaid() float32

GetLinkAmountPaid returns the LinkAmountPaid field value if set, zero value otherwise.

func (*CFLink) GetLinkAmountPaidOk

func (o *CFLink) GetLinkAmountPaidOk() (*float32, bool)

GetLinkAmountPaidOk returns a tuple with the LinkAmountPaid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkAutoReminders

func (o *CFLink) GetLinkAutoReminders() bool

GetLinkAutoReminders returns the LinkAutoReminders field value if set, zero value otherwise.

func (*CFLink) GetLinkAutoRemindersOk

func (o *CFLink) GetLinkAutoRemindersOk() (*bool, bool)

GetLinkAutoRemindersOk returns a tuple with the LinkAutoReminders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkCreatedAt

func (o *CFLink) GetLinkCreatedAt() string

GetLinkCreatedAt returns the LinkCreatedAt field value if set, zero value otherwise.

func (*CFLink) GetLinkCreatedAtOk

func (o *CFLink) GetLinkCreatedAtOk() (*string, bool)

GetLinkCreatedAtOk returns a tuple with the LinkCreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkCurrency

func (o *CFLink) GetLinkCurrency() string

GetLinkCurrency returns the LinkCurrency field value if set, zero value otherwise.

func (*CFLink) GetLinkCurrencyOk

func (o *CFLink) GetLinkCurrencyOk() (*string, bool)

GetLinkCurrencyOk returns a tuple with the LinkCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkExpiryTime

func (o *CFLink) GetLinkExpiryTime() string

GetLinkExpiryTime returns the LinkExpiryTime field value if set, zero value otherwise.

func (*CFLink) GetLinkExpiryTimeOk

func (o *CFLink) GetLinkExpiryTimeOk() (*string, bool)

GetLinkExpiryTimeOk returns a tuple with the LinkExpiryTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkId

func (o *CFLink) GetLinkId() string

GetLinkId returns the LinkId field value if set, zero value otherwise.

func (*CFLink) GetLinkIdOk

func (o *CFLink) GetLinkIdOk() (*string, bool)

GetLinkIdOk returns a tuple with the LinkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkMeta

func (o *CFLink) GetLinkMeta() CFLinkMetaEntity

GetLinkMeta returns the LinkMeta field value if set, zero value otherwise.

func (*CFLink) GetLinkMetaOk

func (o *CFLink) GetLinkMetaOk() (*CFLinkMetaEntity, bool)

GetLinkMetaOk returns a tuple with the LinkMeta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkMinimumPartialAmount

func (o *CFLink) GetLinkMinimumPartialAmount() float32

GetLinkMinimumPartialAmount returns the LinkMinimumPartialAmount field value if set, zero value otherwise.

func (*CFLink) GetLinkMinimumPartialAmountOk

func (o *CFLink) GetLinkMinimumPartialAmountOk() (*float32, bool)

GetLinkMinimumPartialAmountOk returns a tuple with the LinkMinimumPartialAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkNotes

func (o *CFLink) GetLinkNotes() map[string]string

GetLinkNotes returns the LinkNotes field value if set, zero value otherwise.

func (*CFLink) GetLinkNotesOk

func (o *CFLink) GetLinkNotesOk() (*map[string]string, bool)

GetLinkNotesOk returns a tuple with the LinkNotes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkNotify

func (o *CFLink) GetLinkNotify() CFLinkNotifyEntity

GetLinkNotify returns the LinkNotify field value if set, zero value otherwise.

func (*CFLink) GetLinkNotifyOk

func (o *CFLink) GetLinkNotifyOk() (*CFLinkNotifyEntity, bool)

GetLinkNotifyOk returns a tuple with the LinkNotify field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkPartialPayments

func (o *CFLink) GetLinkPartialPayments() bool

GetLinkPartialPayments returns the LinkPartialPayments field value if set, zero value otherwise.

func (*CFLink) GetLinkPartialPaymentsOk

func (o *CFLink) GetLinkPartialPaymentsOk() (*bool, bool)

GetLinkPartialPaymentsOk returns a tuple with the LinkPartialPayments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkPurpose

func (o *CFLink) GetLinkPurpose() string

GetLinkPurpose returns the LinkPurpose field value if set, zero value otherwise.

func (*CFLink) GetLinkPurposeOk

func (o *CFLink) GetLinkPurposeOk() (*string, bool)

GetLinkPurposeOk returns a tuple with the LinkPurpose field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkStatus

func (o *CFLink) GetLinkStatus() string

GetLinkStatus returns the LinkStatus field value if set, zero value otherwise.

func (*CFLink) GetLinkStatusOk

func (o *CFLink) GetLinkStatusOk() (*string, bool)

GetLinkStatusOk returns a tuple with the LinkStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) GetLinkUrl

func (o *CFLink) GetLinkUrl() string

GetLinkUrl returns the LinkUrl field value if set, zero value otherwise.

func (*CFLink) GetLinkUrlOk

func (o *CFLink) GetLinkUrlOk() (*string, bool)

GetLinkUrlOk returns a tuple with the LinkUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLink) HasCfLinkId

func (o *CFLink) HasCfLinkId() bool

HasCfLinkId returns a boolean if a field has been set.

func (*CFLink) HasCustomerDetails

func (o *CFLink) HasCustomerDetails() bool

HasCustomerDetails returns a boolean if a field has been set.

func (*CFLink) HasLinkAmount

func (o *CFLink) HasLinkAmount() bool

HasLinkAmount returns a boolean if a field has been set.

func (*CFLink) HasLinkAmountPaid

func (o *CFLink) HasLinkAmountPaid() bool

HasLinkAmountPaid returns a boolean if a field has been set.

func (*CFLink) HasLinkAutoReminders

func (o *CFLink) HasLinkAutoReminders() bool

HasLinkAutoReminders returns a boolean if a field has been set.

func (*CFLink) HasLinkCreatedAt

func (o *CFLink) HasLinkCreatedAt() bool

HasLinkCreatedAt returns a boolean if a field has been set.

func (*CFLink) HasLinkCurrency

func (o *CFLink) HasLinkCurrency() bool

HasLinkCurrency returns a boolean if a field has been set.

func (*CFLink) HasLinkExpiryTime

func (o *CFLink) HasLinkExpiryTime() bool

HasLinkExpiryTime returns a boolean if a field has been set.

func (*CFLink) HasLinkId

func (o *CFLink) HasLinkId() bool

HasLinkId returns a boolean if a field has been set.

func (*CFLink) HasLinkMeta

func (o *CFLink) HasLinkMeta() bool

HasLinkMeta returns a boolean if a field has been set.

func (*CFLink) HasLinkMinimumPartialAmount

func (o *CFLink) HasLinkMinimumPartialAmount() bool

HasLinkMinimumPartialAmount returns a boolean if a field has been set.

func (*CFLink) HasLinkNotes

func (o *CFLink) HasLinkNotes() bool

HasLinkNotes returns a boolean if a field has been set.

func (*CFLink) HasLinkNotify

func (o *CFLink) HasLinkNotify() bool

HasLinkNotify returns a boolean if a field has been set.

func (*CFLink) HasLinkPartialPayments

func (o *CFLink) HasLinkPartialPayments() bool

HasLinkPartialPayments returns a boolean if a field has been set.

func (*CFLink) HasLinkPurpose

func (o *CFLink) HasLinkPurpose() bool

HasLinkPurpose returns a boolean if a field has been set.

func (*CFLink) HasLinkStatus

func (o *CFLink) HasLinkStatus() bool

HasLinkStatus returns a boolean if a field has been set.

func (*CFLink) HasLinkUrl

func (o *CFLink) HasLinkUrl() bool

HasLinkUrl returns a boolean if a field has been set.

func (CFLink) MarshalJSON

func (o CFLink) MarshalJSON() ([]byte, error)

func (*CFLink) SetCfLinkId

func (o *CFLink) SetCfLinkId(v int64)

SetCfLinkId gets a reference to the given int32 and assigns it to the CfLinkId field.

func (*CFLink) SetCustomerDetails

func (o *CFLink) SetCustomerDetails(v CFLinkCustomerDetailsEntity)

SetCustomerDetails gets a reference to the given CFLinkCustomerDetailsEntity and assigns it to the CustomerDetails field.

func (*CFLink) SetLinkAmount

func (o *CFLink) SetLinkAmount(v float32)

SetLinkAmount gets a reference to the given float32 and assigns it to the LinkAmount field.

func (*CFLink) SetLinkAmountPaid

func (o *CFLink) SetLinkAmountPaid(v float32)

SetLinkAmountPaid gets a reference to the given float32 and assigns it to the LinkAmountPaid field.

func (*CFLink) SetLinkAutoReminders

func (o *CFLink) SetLinkAutoReminders(v bool)

SetLinkAutoReminders gets a reference to the given bool and assigns it to the LinkAutoReminders field.

func (*CFLink) SetLinkCreatedAt

func (o *CFLink) SetLinkCreatedAt(v string)

SetLinkCreatedAt gets a reference to the given string and assigns it to the LinkCreatedAt field.

func (*CFLink) SetLinkCurrency

func (o *CFLink) SetLinkCurrency(v string)

SetLinkCurrency gets a reference to the given string and assigns it to the LinkCurrency field.

func (*CFLink) SetLinkExpiryTime

func (o *CFLink) SetLinkExpiryTime(v string)

SetLinkExpiryTime gets a reference to the given string and assigns it to the LinkExpiryTime field.

func (*CFLink) SetLinkId

func (o *CFLink) SetLinkId(v string)

SetLinkId gets a reference to the given string and assigns it to the LinkId field.

func (*CFLink) SetLinkMeta

func (o *CFLink) SetLinkMeta(v CFLinkMetaEntity)

SetLinkMeta gets a reference to the given CFLinkMetaEntity and assigns it to the LinkMeta field.

func (*CFLink) SetLinkMinimumPartialAmount

func (o *CFLink) SetLinkMinimumPartialAmount(v float32)

SetLinkMinimumPartialAmount gets a reference to the given float32 and assigns it to the LinkMinimumPartialAmount field.

func (*CFLink) SetLinkNotes

func (o *CFLink) SetLinkNotes(v map[string]string)

SetLinkNotes gets a reference to the given map[string]string and assigns it to the LinkNotes field.

func (*CFLink) SetLinkNotify

func (o *CFLink) SetLinkNotify(v CFLinkNotifyEntity)

SetLinkNotify gets a reference to the given CFLinkNotifyEntity and assigns it to the LinkNotify field.

func (*CFLink) SetLinkPartialPayments

func (o *CFLink) SetLinkPartialPayments(v bool)

SetLinkPartialPayments gets a reference to the given bool and assigns it to the LinkPartialPayments field.

func (*CFLink) SetLinkPurpose

func (o *CFLink) SetLinkPurpose(v string)

SetLinkPurpose gets a reference to the given string and assigns it to the LinkPurpose field.

func (*CFLink) SetLinkStatus

func (o *CFLink) SetLinkStatus(v string)

SetLinkStatus gets a reference to the given string and assigns it to the LinkStatus field.

func (*CFLink) SetLinkUrl

func (o *CFLink) SetLinkUrl(v string)

SetLinkUrl gets a reference to the given string and assigns it to the LinkUrl field.

type CFLinkCustomerDetailsEntity

type CFLinkCustomerDetailsEntity struct {
	// Customer phone number
	CustomerPhone string `json:"customer_phone"`
	// Customer email address
	CustomerEmail *string `json:"customer_email,omitempty"`
	// Customer name
	CustomerName *string `json:"customer_name,omitempty"`
}

CFLinkCustomerDetailsEntity struct for CFLinkCustomerDetailsEntity

func NewCFLinkCustomerDetailsEntity

func NewCFLinkCustomerDetailsEntity(customerPhone string) *CFLinkCustomerDetailsEntity

NewCFLinkCustomerDetailsEntity instantiates a new CFLinkCustomerDetailsEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFLinkCustomerDetailsEntityWithDefaults

func NewCFLinkCustomerDetailsEntityWithDefaults() *CFLinkCustomerDetailsEntity

NewCFLinkCustomerDetailsEntityWithDefaults instantiates a new CFLinkCustomerDetailsEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFLinkCustomerDetailsEntity) GetCustomerEmail

func (o *CFLinkCustomerDetailsEntity) GetCustomerEmail() string

GetCustomerEmail returns the CustomerEmail field value if set, zero value otherwise.

func (*CFLinkCustomerDetailsEntity) GetCustomerEmailOk

func (o *CFLinkCustomerDetailsEntity) GetCustomerEmailOk() (*string, bool)

GetCustomerEmailOk returns a tuple with the CustomerEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkCustomerDetailsEntity) GetCustomerName

func (o *CFLinkCustomerDetailsEntity) GetCustomerName() string

GetCustomerName returns the CustomerName field value if set, zero value otherwise.

func (*CFLinkCustomerDetailsEntity) GetCustomerNameOk

func (o *CFLinkCustomerDetailsEntity) GetCustomerNameOk() (*string, bool)

GetCustomerNameOk returns a tuple with the CustomerName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkCustomerDetailsEntity) GetCustomerPhone

func (o *CFLinkCustomerDetailsEntity) GetCustomerPhone() string

GetCustomerPhone returns the CustomerPhone field value

func (*CFLinkCustomerDetailsEntity) GetCustomerPhoneOk

func (o *CFLinkCustomerDetailsEntity) GetCustomerPhoneOk() (*string, bool)

GetCustomerPhoneOk returns a tuple with the CustomerPhone field value and a boolean to check if the value has been set.

func (*CFLinkCustomerDetailsEntity) HasCustomerEmail

func (o *CFLinkCustomerDetailsEntity) HasCustomerEmail() bool

HasCustomerEmail returns a boolean if a field has been set.

func (*CFLinkCustomerDetailsEntity) HasCustomerName

func (o *CFLinkCustomerDetailsEntity) HasCustomerName() bool

HasCustomerName returns a boolean if a field has been set.

func (CFLinkCustomerDetailsEntity) MarshalJSON

func (o CFLinkCustomerDetailsEntity) MarshalJSON() ([]byte, error)

func (*CFLinkCustomerDetailsEntity) SetCustomerEmail

func (o *CFLinkCustomerDetailsEntity) SetCustomerEmail(v string)

SetCustomerEmail gets a reference to the given string and assigns it to the CustomerEmail field.

func (*CFLinkCustomerDetailsEntity) SetCustomerName

func (o *CFLinkCustomerDetailsEntity) SetCustomerName(v string)

SetCustomerName gets a reference to the given string and assigns it to the CustomerName field.

func (*CFLinkCustomerDetailsEntity) SetCustomerPhone

func (o *CFLinkCustomerDetailsEntity) SetCustomerPhone(v string)

SetCustomerPhone sets field value

type CFLinkMetaEntity

type CFLinkMetaEntity struct {
	// Notification URL for server-server communication. It should be an https URL.
	NotifyUrl *string `json:"notify_url,omitempty"`
	// If \"true\", link will directly open UPI Intent flow on mobile, and normal link flow elsewhere
	UpiIntent *bool `json:"upi_intent,omitempty"`
	// The URL to which user will be redirected to after the payment is done on the link. Maximum length: 250.
	ReturnUrl *string `json:"return_url,omitempty"`
	// Allowed payment modes for this link. Pass comma-separated values among following options - \"cc\", \"dc\", \"ccc\", \"ppc\", \"nb\", \"upi\", \"paypal\", \"app\". Leave it blank to show all available payment methods
	PaymentMethods *string `json:"payment_methods,omitempty"`
}

CFLinkMetaEntity struct for CFLinkMetaEntity

func NewCFLinkMetaEntity

func NewCFLinkMetaEntity() *CFLinkMetaEntity

NewCFLinkMetaEntity instantiates a new CFLinkMetaEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFLinkMetaEntityWithDefaults

func NewCFLinkMetaEntityWithDefaults() *CFLinkMetaEntity

NewCFLinkMetaEntityWithDefaults instantiates a new CFLinkMetaEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFLinkMetaEntity) GetNotifyUrl

func (o *CFLinkMetaEntity) GetNotifyUrl() string

GetNotifyUrl returns the NotifyUrl field value if set, zero value otherwise.

func (*CFLinkMetaEntity) GetNotifyUrlOk

func (o *CFLinkMetaEntity) GetNotifyUrlOk() (*string, bool)

GetNotifyUrlOk returns a tuple with the NotifyUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkMetaEntity) GetPaymentMethods

func (o *CFLinkMetaEntity) GetPaymentMethods() string

GetPaymentMethods returns the PaymentMethods field value if set, zero value otherwise.

func (*CFLinkMetaEntity) GetPaymentMethodsOk

func (o *CFLinkMetaEntity) GetPaymentMethodsOk() (*string, bool)

GetPaymentMethodsOk returns a tuple with the PaymentMethods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkMetaEntity) GetReturnUrl

func (o *CFLinkMetaEntity) GetReturnUrl() string

GetReturnUrl returns the ReturnUrl field value if set, zero value otherwise.

func (*CFLinkMetaEntity) GetReturnUrlOk

func (o *CFLinkMetaEntity) GetReturnUrlOk() (*string, bool)

GetReturnUrlOk returns a tuple with the ReturnUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkMetaEntity) GetUpiIntent

func (o *CFLinkMetaEntity) GetUpiIntent() bool

GetUpiIntent returns the UpiIntent field value if set, zero value otherwise.

func (*CFLinkMetaEntity) GetUpiIntentOk

func (o *CFLinkMetaEntity) GetUpiIntentOk() (*bool, bool)

GetUpiIntentOk returns a tuple with the UpiIntent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkMetaEntity) HasNotifyUrl

func (o *CFLinkMetaEntity) HasNotifyUrl() bool

HasNotifyUrl returns a boolean if a field has been set.

func (*CFLinkMetaEntity) HasPaymentMethods

func (o *CFLinkMetaEntity) HasPaymentMethods() bool

HasPaymentMethods returns a boolean if a field has been set.

func (*CFLinkMetaEntity) HasReturnUrl

func (o *CFLinkMetaEntity) HasReturnUrl() bool

HasReturnUrl returns a boolean if a field has been set.

func (*CFLinkMetaEntity) HasUpiIntent

func (o *CFLinkMetaEntity) HasUpiIntent() bool

HasUpiIntent returns a boolean if a field has been set.

func (CFLinkMetaEntity) MarshalJSON

func (o CFLinkMetaEntity) MarshalJSON() ([]byte, error)

func (*CFLinkMetaEntity) SetNotifyUrl

func (o *CFLinkMetaEntity) SetNotifyUrl(v string)

SetNotifyUrl gets a reference to the given string and assigns it to the NotifyUrl field.

func (*CFLinkMetaEntity) SetPaymentMethods

func (o *CFLinkMetaEntity) SetPaymentMethods(v string)

SetPaymentMethods gets a reference to the given string and assigns it to the PaymentMethods field.

func (*CFLinkMetaEntity) SetReturnUrl

func (o *CFLinkMetaEntity) SetReturnUrl(v string)

SetReturnUrl gets a reference to the given string and assigns it to the ReturnUrl field.

func (*CFLinkMetaEntity) SetUpiIntent

func (o *CFLinkMetaEntity) SetUpiIntent(v bool)

SetUpiIntent gets a reference to the given bool and assigns it to the UpiIntent field.

type CFLinkNotifyEntity

type CFLinkNotifyEntity struct {
	// If \"true\", Cashfree will send sms on customer_phone
	SendSms *bool `json:"send_sms,omitempty"`
	// If \"true\", Cashfree will send email on customer_email
	SendEmail *bool `json:"send_email,omitempty"`
}

CFLinkNotifyEntity struct for CFLinkNotifyEntity

func NewCFLinkNotifyEntity

func NewCFLinkNotifyEntity() *CFLinkNotifyEntity

NewCFLinkNotifyEntity instantiates a new CFLinkNotifyEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFLinkNotifyEntityWithDefaults

func NewCFLinkNotifyEntityWithDefaults() *CFLinkNotifyEntity

NewCFLinkNotifyEntityWithDefaults instantiates a new CFLinkNotifyEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFLinkNotifyEntity) GetSendEmail

func (o *CFLinkNotifyEntity) GetSendEmail() bool

GetSendEmail returns the SendEmail field value if set, zero value otherwise.

func (*CFLinkNotifyEntity) GetSendEmailOk

func (o *CFLinkNotifyEntity) GetSendEmailOk() (*bool, bool)

GetSendEmailOk returns a tuple with the SendEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkNotifyEntity) GetSendSms

func (o *CFLinkNotifyEntity) GetSendSms() bool

GetSendSms returns the SendSms field value if set, zero value otherwise.

func (*CFLinkNotifyEntity) GetSendSmsOk

func (o *CFLinkNotifyEntity) GetSendSmsOk() (*bool, bool)

GetSendSmsOk returns a tuple with the SendSms field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkNotifyEntity) HasSendEmail

func (o *CFLinkNotifyEntity) HasSendEmail() bool

HasSendEmail returns a boolean if a field has been set.

func (*CFLinkNotifyEntity) HasSendSms

func (o *CFLinkNotifyEntity) HasSendSms() bool

HasSendSms returns a boolean if a field has been set.

func (CFLinkNotifyEntity) MarshalJSON

func (o CFLinkNotifyEntity) MarshalJSON() ([]byte, error)

func (*CFLinkNotifyEntity) SetSendEmail

func (o *CFLinkNotifyEntity) SetSendEmail(v bool)

SetSendEmail gets a reference to the given bool and assigns it to the SendEmail field.

func (*CFLinkNotifyEntity) SetSendSms

func (o *CFLinkNotifyEntity) SetSendSms(v bool)

SetSendSms gets a reference to the given bool and assigns it to the SendSms field.

type CFLinkOrders

type CFLinkOrders struct {
	CfOrderId       *int64                       `json:"cf_order_id,omitempty"`
	OrderId         *string                      `json:"order_id,omitempty"`
	Entity          *string                      `json:"entity,omitempty"`
	OrderCurrency   *string                      `json:"order_currency,omitempty"`
	OrderAmount     *float32                     `json:"order_amount,omitempty"`
	OrderStatus     *string                      `json:"order_status,omitempty"`
	OrderToken      *string                      `json:"order_token,omitempty"`
	OrderExpiryTime *string                      `json:"order_expiry_time,omitempty"`
	OrderNote       *string                      `json:"order_note,omitempty"`
	CustomerDetails *CFLinkCustomerDetailsEntity `json:"customer_details,omitempty"`
	Payments        *CFPaymentURLObject          `json:"payments,omitempty"`
	Settlements     *CFSettlementURLObject       `json:"settlements,omitempty"`
	Refunds         *CFRefundURLObject           `json:"refunds,omitempty"`
}

CFLinkOrders struct for CFLinkOrders

func NewCFLinkOrders

func NewCFLinkOrders() *CFLinkOrders

NewCFLinkOrders instantiates a new CFLinkOrders object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFLinkOrdersWithDefaults

func NewCFLinkOrdersWithDefaults() *CFLinkOrders

NewCFLinkOrdersWithDefaults instantiates a new CFLinkOrders object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFLinkOrders) GetCfOrderId

func (o *CFLinkOrders) GetCfOrderId() int64

GetCfOrderId returns the CfOrderId field value if set, zero value otherwise.

func (*CFLinkOrders) GetCfOrderIdOk

func (o *CFLinkOrders) GetCfOrderIdOk() (*int64, bool)

GetCfOrderIdOk returns a tuple with the CfOrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetCustomerDetails

func (o *CFLinkOrders) GetCustomerDetails() CFLinkCustomerDetailsEntity

GetCustomerDetails returns the CustomerDetails field value if set, zero value otherwise.

func (*CFLinkOrders) GetCustomerDetailsOk

func (o *CFLinkOrders) GetCustomerDetailsOk() (*CFLinkCustomerDetailsEntity, bool)

GetCustomerDetailsOk returns a tuple with the CustomerDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetEntity

func (o *CFLinkOrders) GetEntity() string

GetEntity returns the Entity field value if set, zero value otherwise.

func (*CFLinkOrders) GetEntityOk

func (o *CFLinkOrders) GetEntityOk() (*string, bool)

GetEntityOk returns a tuple with the Entity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetOrderAmount

func (o *CFLinkOrders) GetOrderAmount() float32

GetOrderAmount returns the OrderAmount field value if set, zero value otherwise.

func (*CFLinkOrders) GetOrderAmountOk

func (o *CFLinkOrders) GetOrderAmountOk() (*float32, bool)

GetOrderAmountOk returns a tuple with the OrderAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetOrderCurrency

func (o *CFLinkOrders) GetOrderCurrency() string

GetOrderCurrency returns the OrderCurrency field value if set, zero value otherwise.

func (*CFLinkOrders) GetOrderCurrencyOk

func (o *CFLinkOrders) GetOrderCurrencyOk() (*string, bool)

GetOrderCurrencyOk returns a tuple with the OrderCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetOrderExpiryTime

func (o *CFLinkOrders) GetOrderExpiryTime() string

GetOrderExpiryTime returns the OrderExpiryTime field value if set, zero value otherwise.

func (*CFLinkOrders) GetOrderExpiryTimeOk

func (o *CFLinkOrders) GetOrderExpiryTimeOk() (*string, bool)

GetOrderExpiryTimeOk returns a tuple with the OrderExpiryTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetOrderId

func (o *CFLinkOrders) GetOrderId() string

GetOrderId returns the OrderId field value if set, zero value otherwise.

func (*CFLinkOrders) GetOrderIdOk

func (o *CFLinkOrders) GetOrderIdOk() (*string, bool)

GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetOrderNote

func (o *CFLinkOrders) GetOrderNote() string

GetOrderNote returns the OrderNote field value if set, zero value otherwise.

func (*CFLinkOrders) GetOrderNoteOk

func (o *CFLinkOrders) GetOrderNoteOk() (*string, bool)

GetOrderNoteOk returns a tuple with the OrderNote field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetOrderStatus

func (o *CFLinkOrders) GetOrderStatus() string

GetOrderStatus returns the OrderStatus field value if set, zero value otherwise.

func (*CFLinkOrders) GetOrderStatusOk

func (o *CFLinkOrders) GetOrderStatusOk() (*string, bool)

GetOrderStatusOk returns a tuple with the OrderStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetOrderToken

func (o *CFLinkOrders) GetOrderToken() string

GetOrderToken returns the OrderToken field value if set, zero value otherwise.

func (*CFLinkOrders) GetOrderTokenOk

func (o *CFLinkOrders) GetOrderTokenOk() (*string, bool)

GetOrderTokenOk returns a tuple with the OrderToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetPayments

func (o *CFLinkOrders) GetPayments() CFPaymentURLObject

GetPayments returns the Payments field value if set, zero value otherwise.

func (*CFLinkOrders) GetPaymentsOk

func (o *CFLinkOrders) GetPaymentsOk() (*CFPaymentURLObject, bool)

GetPaymentsOk returns a tuple with the Payments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetRefunds

func (o *CFLinkOrders) GetRefunds() CFRefundURLObject

GetRefunds returns the Refunds field value if set, zero value otherwise.

func (*CFLinkOrders) GetRefundsOk

func (o *CFLinkOrders) GetRefundsOk() (*CFRefundURLObject, bool)

GetRefundsOk returns a tuple with the Refunds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) GetSettlements

func (o *CFLinkOrders) GetSettlements() CFSettlementURLObject

GetSettlements returns the Settlements field value if set, zero value otherwise.

func (*CFLinkOrders) GetSettlementsOk

func (o *CFLinkOrders) GetSettlementsOk() (*CFSettlementURLObject, bool)

GetSettlementsOk returns a tuple with the Settlements field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkOrders) HasCfOrderId

func (o *CFLinkOrders) HasCfOrderId() bool

HasCfOrderId returns a boolean if a field has been set.

func (*CFLinkOrders) HasCustomerDetails

func (o *CFLinkOrders) HasCustomerDetails() bool

HasCustomerDetails returns a boolean if a field has been set.

func (*CFLinkOrders) HasEntity

func (o *CFLinkOrders) HasEntity() bool

HasEntity returns a boolean if a field has been set.

func (*CFLinkOrders) HasOrderAmount

func (o *CFLinkOrders) HasOrderAmount() bool

HasOrderAmount returns a boolean if a field has been set.

func (*CFLinkOrders) HasOrderCurrency

func (o *CFLinkOrders) HasOrderCurrency() bool

HasOrderCurrency returns a boolean if a field has been set.

func (*CFLinkOrders) HasOrderExpiryTime

func (o *CFLinkOrders) HasOrderExpiryTime() bool

HasOrderExpiryTime returns a boolean if a field has been set.

func (*CFLinkOrders) HasOrderId

func (o *CFLinkOrders) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (*CFLinkOrders) HasOrderNote

func (o *CFLinkOrders) HasOrderNote() bool

HasOrderNote returns a boolean if a field has been set.

func (*CFLinkOrders) HasOrderStatus

func (o *CFLinkOrders) HasOrderStatus() bool

HasOrderStatus returns a boolean if a field has been set.

func (*CFLinkOrders) HasOrderToken

func (o *CFLinkOrders) HasOrderToken() bool

HasOrderToken returns a boolean if a field has been set.

func (*CFLinkOrders) HasPayments

func (o *CFLinkOrders) HasPayments() bool

HasPayments returns a boolean if a field has been set.

func (*CFLinkOrders) HasRefunds

func (o *CFLinkOrders) HasRefunds() bool

HasRefunds returns a boolean if a field has been set.

func (*CFLinkOrders) HasSettlements

func (o *CFLinkOrders) HasSettlements() bool

HasSettlements returns a boolean if a field has been set.

func (CFLinkOrders) MarshalJSON

func (o CFLinkOrders) MarshalJSON() ([]byte, error)

func (*CFLinkOrders) SetCfOrderId

func (o *CFLinkOrders) SetCfOrderId(v int64)

SetCfOrderId gets a reference to the given int32 and assigns it to the CfOrderId field.

func (*CFLinkOrders) SetCustomerDetails

func (o *CFLinkOrders) SetCustomerDetails(v CFLinkCustomerDetailsEntity)

SetCustomerDetails gets a reference to the given CFLinkCustomerDetailsEntity and assigns it to the CustomerDetails field.

func (*CFLinkOrders) SetEntity

func (o *CFLinkOrders) SetEntity(v string)

SetEntity gets a reference to the given string and assigns it to the Entity field.

func (*CFLinkOrders) SetOrderAmount

func (o *CFLinkOrders) SetOrderAmount(v float32)

SetOrderAmount gets a reference to the given float32 and assigns it to the OrderAmount field.

func (*CFLinkOrders) SetOrderCurrency

func (o *CFLinkOrders) SetOrderCurrency(v string)

SetOrderCurrency gets a reference to the given string and assigns it to the OrderCurrency field.

func (*CFLinkOrders) SetOrderExpiryTime

func (o *CFLinkOrders) SetOrderExpiryTime(v string)

SetOrderExpiryTime gets a reference to the given string and assigns it to the OrderExpiryTime field.

func (*CFLinkOrders) SetOrderId

func (o *CFLinkOrders) SetOrderId(v string)

SetOrderId gets a reference to the given string and assigns it to the OrderId field.

func (*CFLinkOrders) SetOrderNote

func (o *CFLinkOrders) SetOrderNote(v string)

SetOrderNote gets a reference to the given string and assigns it to the OrderNote field.

func (*CFLinkOrders) SetOrderStatus

func (o *CFLinkOrders) SetOrderStatus(v string)

SetOrderStatus gets a reference to the given string and assigns it to the OrderStatus field.

func (*CFLinkOrders) SetOrderToken

func (o *CFLinkOrders) SetOrderToken(v string)

SetOrderToken gets a reference to the given string and assigns it to the OrderToken field.

func (*CFLinkOrders) SetPayments

func (o *CFLinkOrders) SetPayments(v CFPaymentURLObject)

SetPayments gets a reference to the given CFPaymentURLObject and assigns it to the Payments field.

func (*CFLinkOrders) SetRefunds

func (o *CFLinkOrders) SetRefunds(v CFRefundURLObject)

SetRefunds gets a reference to the given CFRefundURLObject and assigns it to the Refunds field.

func (*CFLinkOrders) SetSettlements

func (o *CFLinkOrders) SetSettlements(v CFSettlementURLObject)

SetSettlements gets a reference to the given CFSettlementURLObject and assigns it to the Settlements field.

type CFLinkRequest

type CFLinkRequest struct {
	// Unique Identifier (provided by merchant) for the Link. Alphanumeric and only - and _ allowed (50 character limit). Use this for other link-related APIs.
	LinkId string `json:"link_id"`
	// Amount to be collected using this link. Provide upto two decimals for paise.
	LinkAmount float64 `json:"link_amount"`
	// Currency for the payment link. Default is INR. Contact care@cashfree.com to enable new currencies.
	LinkCurrency string `json:"link_currency"`
	// A brief description for which payment must be collected. This is shown to the customer.
	LinkPurpose     string                      `json:"link_purpose"`
	CustomerDetails CFLinkCustomerDetailsEntity `json:"customer_details"`
	// If \"true\", customer can make partial payments for the link.
	LinkPartialPayments *bool `json:"link_partial_payments,omitempty"`
	// Minimum amount in first installment that needs to be paid by the customer if partial payments are enabled. This should be less than the link_amount.
	LinkMinimumPartialAmount *float64 `json:"link_minimum_partial_amount,omitempty"`
	// Time after which the link expires. Customers will not be able to make the payment beyond the time specified here. You can provide them in a valid ISO 8601 time format. Default is 30 days.
	LinkExpiryTime *string             `json:"link_expiry_time,omitempty"`
	LinkNotify     *CFLinkNotifyEntity `json:"link_notify,omitempty"`
	// If \"true\", reminders will be sent to customers for collecting payments.
	LinkAutoReminders *bool               `json:"link_auto_reminders,omitempty"`
	LinkNotes         *CFLinkNotifyEntity `json:"link_notes,omitempty"`
	LinkMeta          *CFLinkMetaEntity   `json:"link_meta,omitempty"`
}

CFLinkRequest struct for CFLinkRequest

func NewCFLinkRequest

func NewCFLinkRequest(linkId string, linkAmount float64, linkCurrency string, linkPurpose string, customerDetails CFLinkCustomerDetailsEntity) *CFLinkRequest

NewCFLinkRequest instantiates a new CFLinkRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFLinkRequestWithDefaults

func NewCFLinkRequestWithDefaults() *CFLinkRequest

NewCFLinkRequestWithDefaults instantiates a new CFLinkRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFLinkRequest) GetCustomerDetails

func (o *CFLinkRequest) GetCustomerDetails() CFLinkCustomerDetailsEntity

GetCustomerDetails returns the CustomerDetails field value

func (*CFLinkRequest) GetCustomerDetailsOk

func (o *CFLinkRequest) GetCustomerDetailsOk() (*CFLinkCustomerDetailsEntity, bool)

GetCustomerDetailsOk returns a tuple with the CustomerDetails field value and a boolean to check if the value has been set.

func (*CFLinkRequest) GetLinkAmount

func (o *CFLinkRequest) GetLinkAmount() float64

GetLinkAmount returns the LinkAmount field value

func (*CFLinkRequest) GetLinkAmountOk

func (o *CFLinkRequest) GetLinkAmountOk() (*float64, bool)

GetLinkAmountOk returns a tuple with the LinkAmount field value and a boolean to check if the value has been set.

func (*CFLinkRequest) GetLinkAutoReminders

func (o *CFLinkRequest) GetLinkAutoReminders() bool

GetLinkAutoReminders returns the LinkAutoReminders field value if set, zero value otherwise.

func (*CFLinkRequest) GetLinkAutoRemindersOk

func (o *CFLinkRequest) GetLinkAutoRemindersOk() (*bool, bool)

GetLinkAutoRemindersOk returns a tuple with the LinkAutoReminders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkRequest) GetLinkCurrency

func (o *CFLinkRequest) GetLinkCurrency() string

GetLinkCurrency returns the LinkCurrency field value

func (*CFLinkRequest) GetLinkCurrencyOk

func (o *CFLinkRequest) GetLinkCurrencyOk() (*string, bool)

GetLinkCurrencyOk returns a tuple with the LinkCurrency field value and a boolean to check if the value has been set.

func (*CFLinkRequest) GetLinkExpiryTime

func (o *CFLinkRequest) GetLinkExpiryTime() string

GetLinkExpiryTime returns the LinkExpiryTime field value if set, zero value otherwise.

func (*CFLinkRequest) GetLinkExpiryTimeOk

func (o *CFLinkRequest) GetLinkExpiryTimeOk() (*string, bool)

GetLinkExpiryTimeOk returns a tuple with the LinkExpiryTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkRequest) GetLinkId

func (o *CFLinkRequest) GetLinkId() string

GetLinkId returns the LinkId field value

func (*CFLinkRequest) GetLinkIdOk

func (o *CFLinkRequest) GetLinkIdOk() (*string, bool)

GetLinkIdOk returns a tuple with the LinkId field value and a boolean to check if the value has been set.

func (*CFLinkRequest) GetLinkMeta

func (o *CFLinkRequest) GetLinkMeta() CFLinkMetaEntity

GetLinkMeta returns the LinkMeta field value if set, zero value otherwise.

func (*CFLinkRequest) GetLinkMetaOk

func (o *CFLinkRequest) GetLinkMetaOk() (*CFLinkMetaEntity, bool)

GetLinkMetaOk returns a tuple with the LinkMeta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkRequest) GetLinkMinimumPartialAmount

func (o *CFLinkRequest) GetLinkMinimumPartialAmount() float64

GetLinkMinimumPartialAmount returns the LinkMinimumPartialAmount field value if set, zero value otherwise.

func (*CFLinkRequest) GetLinkMinimumPartialAmountOk

func (o *CFLinkRequest) GetLinkMinimumPartialAmountOk() (*float64, bool)

GetLinkMinimumPartialAmountOk returns a tuple with the LinkMinimumPartialAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkRequest) GetLinkNotes

func (o *CFLinkRequest) GetLinkNotes() CFLinkNotifyEntity

GetLinkNotes returns the LinkNotes field value if set, zero value otherwise.

func (*CFLinkRequest) GetLinkNotesOk

func (o *CFLinkRequest) GetLinkNotesOk() (*CFLinkNotifyEntity, bool)

GetLinkNotesOk returns a tuple with the LinkNotes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkRequest) GetLinkNotify

func (o *CFLinkRequest) GetLinkNotify() CFLinkNotifyEntity

GetLinkNotify returns the LinkNotify field value if set, zero value otherwise.

func (*CFLinkRequest) GetLinkNotifyOk

func (o *CFLinkRequest) GetLinkNotifyOk() (*CFLinkNotifyEntity, bool)

GetLinkNotifyOk returns a tuple with the LinkNotify field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkRequest) GetLinkPartialPayments

func (o *CFLinkRequest) GetLinkPartialPayments() bool

GetLinkPartialPayments returns the LinkPartialPayments field value if set, zero value otherwise.

func (*CFLinkRequest) GetLinkPartialPaymentsOk

func (o *CFLinkRequest) GetLinkPartialPaymentsOk() (*bool, bool)

GetLinkPartialPaymentsOk returns a tuple with the LinkPartialPayments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFLinkRequest) GetLinkPurpose

func (o *CFLinkRequest) GetLinkPurpose() string

GetLinkPurpose returns the LinkPurpose field value

func (*CFLinkRequest) GetLinkPurposeOk

func (o *CFLinkRequest) GetLinkPurposeOk() (*string, bool)

GetLinkPurposeOk returns a tuple with the LinkPurpose field value and a boolean to check if the value has been set.

func (*CFLinkRequest) HasLinkAutoReminders

func (o *CFLinkRequest) HasLinkAutoReminders() bool

HasLinkAutoReminders returns a boolean if a field has been set.

func (*CFLinkRequest) HasLinkExpiryTime

func (o *CFLinkRequest) HasLinkExpiryTime() bool

HasLinkExpiryTime returns a boolean if a field has been set.

func (*CFLinkRequest) HasLinkMeta

func (o *CFLinkRequest) HasLinkMeta() bool

HasLinkMeta returns a boolean if a field has been set.

func (*CFLinkRequest) HasLinkMinimumPartialAmount

func (o *CFLinkRequest) HasLinkMinimumPartialAmount() bool

HasLinkMinimumPartialAmount returns a boolean if a field has been set.

func (*CFLinkRequest) HasLinkNotes

func (o *CFLinkRequest) HasLinkNotes() bool

HasLinkNotes returns a boolean if a field has been set.

func (*CFLinkRequest) HasLinkNotify

func (o *CFLinkRequest) HasLinkNotify() bool

HasLinkNotify returns a boolean if a field has been set.

func (*CFLinkRequest) HasLinkPartialPayments

func (o *CFLinkRequest) HasLinkPartialPayments() bool

HasLinkPartialPayments returns a boolean if a field has been set.

func (CFLinkRequest) MarshalJSON

func (o CFLinkRequest) MarshalJSON() ([]byte, error)

func (*CFLinkRequest) SetCustomerDetails

func (o *CFLinkRequest) SetCustomerDetails(v CFLinkCustomerDetailsEntity)

SetCustomerDetails sets field value

func (*CFLinkRequest) SetLinkAmount

func (o *CFLinkRequest) SetLinkAmount(v float64)

SetLinkAmount sets field value

func (*CFLinkRequest) SetLinkAutoReminders

func (o *CFLinkRequest) SetLinkAutoReminders(v bool)

SetLinkAutoReminders gets a reference to the given bool and assigns it to the LinkAutoReminders field.

func (*CFLinkRequest) SetLinkCurrency

func (o *CFLinkRequest) SetLinkCurrency(v string)

SetLinkCurrency sets field value

func (*CFLinkRequest) SetLinkExpiryTime

func (o *CFLinkRequest) SetLinkExpiryTime(v string)

SetLinkExpiryTime gets a reference to the given string and assigns it to the LinkExpiryTime field.

func (*CFLinkRequest) SetLinkId

func (o *CFLinkRequest) SetLinkId(v string)

SetLinkId sets field value

func (*CFLinkRequest) SetLinkMeta

func (o *CFLinkRequest) SetLinkMeta(v CFLinkMetaEntity)

SetLinkMeta gets a reference to the given CFLinkMetaEntity and assigns it to the LinkMeta field.

func (*CFLinkRequest) SetLinkMinimumPartialAmount

func (o *CFLinkRequest) SetLinkMinimumPartialAmount(v float64)

SetLinkMinimumPartialAmount gets a reference to the given float64 and assigns it to the LinkMinimumPartialAmount field.

func (*CFLinkRequest) SetLinkNotes

func (o *CFLinkRequest) SetLinkNotes(v CFLinkNotifyEntity)

SetLinkNotes gets a reference to the given CFLinkNotesEntity and assigns it to the LinkNotes field.

func (*CFLinkRequest) SetLinkNotify

func (o *CFLinkRequest) SetLinkNotify(v CFLinkNotifyEntity)

SetLinkNotify gets a reference to the given CFLinkNotifyEntity and assigns it to the LinkNotify field.

func (*CFLinkRequest) SetLinkPartialPayments

func (o *CFLinkRequest) SetLinkPartialPayments(v bool)

SetLinkPartialPayments gets a reference to the given bool and assigns it to the LinkPartialPayments field.

func (*CFLinkRequest) SetLinkPurpose

func (o *CFLinkRequest) SetLinkPurpose(v string)

SetLinkPurpose sets field value

type CFNetbanking

type CFNetbanking struct {
	// The channel for netbanking will always be `link`
	Channel string `json:"channel"`
	// Bank code
	NetbankingBankCode int32 `json:"netbanking_bank_code"`
}

CFNetbanking struct for CFNetbanking

func NewCFNetbanking

func NewCFNetbanking(channel string, netbankingBankCode int32) *CFNetbanking

NewCFNetbanking instantiates a new CFNetbanking object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFNetbankingWithDefaults

func NewCFNetbankingWithDefaults() *CFNetbanking

NewCFNetbankingWithDefaults instantiates a new CFNetbanking object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFNetbanking) GetChannel

func (o *CFNetbanking) GetChannel() string

GetChannel returns the Channel field value

func (*CFNetbanking) GetChannelOk

func (o *CFNetbanking) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value and a boolean to check if the value has been set.

func (*CFNetbanking) GetNetbankingBankCode

func (o *CFNetbanking) GetNetbankingBankCode() int32

GetNetbankingBankCode returns the NetbankingBankCode field value

func (*CFNetbanking) GetNetbankingBankCodeOk

func (o *CFNetbanking) GetNetbankingBankCodeOk() (*int32, bool)

GetNetbankingBankCodeOk returns a tuple with the NetbankingBankCode field value and a boolean to check if the value has been set.

func (CFNetbanking) MarshalJSON

func (o CFNetbanking) MarshalJSON() ([]byte, error)

func (*CFNetbanking) SetChannel

func (o *CFNetbanking) SetChannel(v string)

SetChannel sets field value

func (*CFNetbanking) SetNetbankingBankCode

func (o *CFNetbanking) SetNetbankingBankCode(v int32)

SetNetbankingBankCode sets field value

type CFNetbankingPayment

type CFNetbankingPayment struct {
	Netbanking CFNetbanking `json:"netbanking"`
}

CFNetbankingPayment struct for CFNetbankingPayment

func NewCFNetbankingPayment

func NewCFNetbankingPayment(netbanking CFNetbanking) *CFNetbankingPayment

NewCFNetbankingPayment instantiates a new CFNetbankingPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFNetbankingPaymentWithDefaults

func NewCFNetbankingPaymentWithDefaults() *CFNetbankingPayment

NewCFNetbankingPaymentWithDefaults instantiates a new CFNetbankingPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFNetbankingPayment) GetNetbanking

func (o *CFNetbankingPayment) GetNetbanking() CFNetbanking

GetNetbanking returns the Netbanking field value

func (*CFNetbankingPayment) GetNetbankingOk

func (o *CFNetbankingPayment) GetNetbankingOk() (*CFNetbanking, bool)

GetNetbankingOk returns a tuple with the Netbanking field value and a boolean to check if the value has been set.

func (CFNetbankingPayment) MarshalJSON

func (o CFNetbankingPayment) MarshalJSON() ([]byte, error)

func (*CFNetbankingPayment) SetNetbanking

func (o *CFNetbankingPayment) SetNetbanking(v CFNetbanking)

SetNetbanking sets field value

type CFOfferEntity added in v2.1.2

type CFOfferEntity struct {
	OfferId          *string           `json:"offer_id,omitempty"`
	OfferStatus      *string           `json:"offer_status,omitempty"`
	OfferMeta        *OfferMeta        `json:"offer_meta,omitempty"`
	OfferTnc         *OfferTnc         `json:"offer_tnc,omitempty"`
	OfferDetails     *OfferDetails     `json:"offer_details,omitempty"`
	OfferValidations *OfferValidations `json:"offer_validations,omitempty"`
}

OfferEntity struct for OfferEntity

func NewOfferEntity added in v2.1.2

func NewOfferEntity() *CFOfferEntity

NewOfferEntity instantiates a new OfferEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferEntityWithDefaults added in v2.1.2

func NewOfferEntityWithDefaults() *CFOfferEntity

NewOfferEntityWithDefaults instantiates a new OfferEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFOfferEntity) GetOfferDetails added in v2.1.2

func (o *CFOfferEntity) GetOfferDetails() OfferDetails

GetOfferDetails returns the OfferDetails field value if set, zero value otherwise.

func (*CFOfferEntity) GetOfferDetailsOk added in v2.1.2

func (o *CFOfferEntity) GetOfferDetailsOk() (*OfferDetails, bool)

GetOfferDetailsOk returns a tuple with the OfferDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOfferEntity) GetOfferId added in v2.1.2

func (o *CFOfferEntity) GetOfferId() string

GetOfferId returns the OfferId field value if set, zero value otherwise.

func (*CFOfferEntity) GetOfferIdOk added in v2.1.2

func (o *CFOfferEntity) GetOfferIdOk() (*string, bool)

GetOfferIdOk returns a tuple with the OfferId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOfferEntity) GetOfferMeta added in v2.1.2

func (o *CFOfferEntity) GetOfferMeta() OfferMeta

GetOfferMeta returns the OfferMeta field value if set, zero value otherwise.

func (*CFOfferEntity) GetOfferMetaOk added in v2.1.2

func (o *CFOfferEntity) GetOfferMetaOk() (*OfferMeta, bool)

GetOfferMetaOk returns a tuple with the OfferMeta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOfferEntity) GetOfferStatus added in v2.1.2

func (o *CFOfferEntity) GetOfferStatus() string

GetOfferStatus returns the OfferStatus field value if set, zero value otherwise.

func (*CFOfferEntity) GetOfferStatusOk added in v2.1.2

func (o *CFOfferEntity) GetOfferStatusOk() (*string, bool)

GetOfferStatusOk returns a tuple with the OfferStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOfferEntity) GetOfferTnc added in v2.1.2

func (o *CFOfferEntity) GetOfferTnc() OfferTnc

GetOfferTnc returns the OfferTnc field value if set, zero value otherwise.

func (*CFOfferEntity) GetOfferTncOk added in v2.1.2

func (o *CFOfferEntity) GetOfferTncOk() (*OfferTnc, bool)

GetOfferTncOk returns a tuple with the OfferTnc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOfferEntity) GetOfferValidations added in v2.1.2

func (o *CFOfferEntity) GetOfferValidations() OfferValidations

GetOfferValidations returns the OfferValidations field value if set, zero value otherwise.

func (*CFOfferEntity) GetOfferValidationsOk added in v2.1.2

func (o *CFOfferEntity) GetOfferValidationsOk() (*OfferValidations, bool)

GetOfferValidationsOk returns a tuple with the OfferValidations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOfferEntity) HasOfferDetails added in v2.1.2

func (o *CFOfferEntity) HasOfferDetails() bool

HasOfferDetails returns a boolean if a field has been set.

func (*CFOfferEntity) HasOfferId added in v2.1.2

func (o *CFOfferEntity) HasOfferId() bool

HasOfferId returns a boolean if a field has been set.

func (*CFOfferEntity) HasOfferMeta added in v2.1.2

func (o *CFOfferEntity) HasOfferMeta() bool

HasOfferMeta returns a boolean if a field has been set.

func (*CFOfferEntity) HasOfferStatus added in v2.1.2

func (o *CFOfferEntity) HasOfferStatus() bool

HasOfferStatus returns a boolean if a field has been set.

func (*CFOfferEntity) HasOfferTnc added in v2.1.2

func (o *CFOfferEntity) HasOfferTnc() bool

HasOfferTnc returns a boolean if a field has been set.

func (*CFOfferEntity) HasOfferValidations added in v2.1.2

func (o *CFOfferEntity) HasOfferValidations() bool

HasOfferValidations returns a boolean if a field has been set.

func (CFOfferEntity) MarshalJSON added in v2.1.2

func (o CFOfferEntity) MarshalJSON() ([]byte, error)

func (*CFOfferEntity) SetOfferDetails added in v2.1.2

func (o *CFOfferEntity) SetOfferDetails(v OfferDetails)

SetOfferDetails gets a reference to the given OfferDetails and assigns it to the OfferDetails field.

func (*CFOfferEntity) SetOfferId added in v2.1.2

func (o *CFOfferEntity) SetOfferId(v string)

SetOfferId gets a reference to the given int32 and assigns it to the OfferId field.

func (*CFOfferEntity) SetOfferMeta added in v2.1.2

func (o *CFOfferEntity) SetOfferMeta(v OfferMeta)

SetOfferMeta gets a reference to the given OfferMeta and assigns it to the OfferMeta field.

func (*CFOfferEntity) SetOfferStatus added in v2.1.2

func (o *CFOfferEntity) SetOfferStatus(v string)

SetOfferStatus gets a reference to the given string and assigns it to the OfferStatus field.

func (*CFOfferEntity) SetOfferTnc added in v2.1.2

func (o *CFOfferEntity) SetOfferTnc(v OfferTnc)

SetOfferTnc gets a reference to the given OfferTnc and assigns it to the OfferTnc field.

func (*CFOfferEntity) SetOfferValidations added in v2.1.2

func (o *CFOfferEntity) SetOfferValidations(v OfferValidations)

SetOfferValidations gets a reference to the given OfferValidations and assigns it to the OfferValidations field.

func (CFOfferEntity) ToMap added in v2.1.2

func (o CFOfferEntity) ToMap() (map[string]interface{}, error)

type CFOrder

type CFOrder struct {
	CfOrderId        *int64                 `json:"cf_order_id,omitempty"`
	OrderId          *string                `json:"order_id,omitempty"`
	Entity           *string                `json:"entity,omitempty"`
	OrderCurrency    *string                `json:"order_currency,omitempty"`
	OrderAmount      *float32               `json:"order_amount,omitempty"`
	OrderStatus      *string                `json:"order_status,omitempty"`
	OrderToken       *string                `json:"order_token,omitempty"`
	OrderExpiryTime  *string                `json:"order_expiry_time,omitempty"`
	OrderNote        *string                `json:"order_note,omitempty"`
	PaymentLink      *string                `json:"payment_link,omitempty"`
	CustomerDetails  *CFCustomerDetails     `json:"customer_details,omitempty"`
	OrderMeta        *CFOrderMeta           `json:"order_meta,omitempty"`
	Payments         *CFPaymentURLObject    `json:"payments,omitempty"`
	Settlements      *CFSettlementURLObject `json:"settlements,omitempty"`
	Refunds          *CFRefundURLObject     `json:"refunds,omitempty"`
	PaymentSessionId *string                `json:"payment_session_id,omitempty"`
}

CFOrder struct for CFOrder

func NewCFOrder

func NewCFOrder() *CFOrder

NewCFOrder instantiates a new CFOrder object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFOrderWithDefaults

func NewCFOrderWithDefaults() *CFOrder

NewCFOrderWithDefaults instantiates a new CFOrder object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFOrder) GetCfOrderId

func (o *CFOrder) GetCfOrderId() int64

GetCfOrderId returns the CfOrderId field value if set, zero value otherwise.

func (*CFOrder) GetCfOrderIdOk

func (o *CFOrder) GetCfOrderIdOk() (*int64, bool)

GetCfOrderIdOk returns a tuple with the CfOrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetCustomerDetails

func (o *CFOrder) GetCustomerDetails() CFCustomerDetails

GetCustomerDetails returns the CustomerDetails field value if set, zero value otherwise.

func (*CFOrder) GetCustomerDetailsOk

func (o *CFOrder) GetCustomerDetailsOk() (*CFCustomerDetails, bool)

GetCustomerDetailsOk returns a tuple with the CustomerDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetEntity

func (o *CFOrder) GetEntity() string

GetEntity returns the Entity field value if set, zero value otherwise.

func (*CFOrder) GetEntityOk

func (o *CFOrder) GetEntityOk() (*string, bool)

GetEntityOk returns a tuple with the Entity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetOrderAmount

func (o *CFOrder) GetOrderAmount() float32

GetOrderAmount returns the OrderAmount field value if set, zero value otherwise.

func (*CFOrder) GetOrderAmountOk

func (o *CFOrder) GetOrderAmountOk() (*float32, bool)

GetOrderAmountOk returns a tuple with the OrderAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetOrderCurrency

func (o *CFOrder) GetOrderCurrency() string

GetOrderCurrency returns the OrderCurrency field value if set, zero value otherwise.

func (*CFOrder) GetOrderCurrencyOk

func (o *CFOrder) GetOrderCurrencyOk() (*string, bool)

GetOrderCurrencyOk returns a tuple with the OrderCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetOrderExpiryTime

func (o *CFOrder) GetOrderExpiryTime() string

GetOrderExpiryTime returns the OrderExpiryTime field value if set, zero value otherwise.

func (*CFOrder) GetOrderExpiryTimeOk

func (o *CFOrder) GetOrderExpiryTimeOk() (*string, bool)

GetOrderExpiryTimeOk returns a tuple with the OrderExpiryTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetOrderId

func (o *CFOrder) GetOrderId() string

GetOrderId returns the OrderId field value if set, zero value otherwise.

func (*CFOrder) GetOrderIdOk

func (o *CFOrder) GetOrderIdOk() (*string, bool)

GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetOrderMeta

func (o *CFOrder) GetOrderMeta() CFOrderMeta

GetOrderMeta returns the OrderMeta field value if set, zero value otherwise.

func (*CFOrder) GetOrderMetaOk

func (o *CFOrder) GetOrderMetaOk() (*CFOrderMeta, bool)

GetOrderMetaOk returns a tuple with the OrderMeta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetOrderNote

func (o *CFOrder) GetOrderNote() string

GetOrderNote returns the OrderNote field value if set, zero value otherwise.

func (*CFOrder) GetOrderNoteOk

func (o *CFOrder) GetOrderNoteOk() (*string, bool)

GetOrderNoteOk returns a tuple with the OrderNote field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetOrderStatus

func (o *CFOrder) GetOrderStatus() string

GetOrderStatus returns the OrderStatus field value if set, zero value otherwise.

func (*CFOrder) GetOrderStatusOk

func (o *CFOrder) GetOrderStatusOk() (*string, bool)

GetOrderStatusOk returns a tuple with the OrderStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetOrderToken

func (o *CFOrder) GetOrderToken() string

GetOrderToken returns the OrderToken field value if set, zero value otherwise.

func (*CFOrder) GetOrderTokenOk

func (o *CFOrder) GetOrderTokenOk() (*string, bool)

GetOrderTokenOk returns a tuple with the OrderToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CFOrder) GetPaymentLink() string

GetPaymentLink returns the PaymentLink field value if set, zero value otherwise.

func (*CFOrder) GetPaymentLinkOk

func (o *CFOrder) GetPaymentLinkOk() (*string, bool)

GetPaymentLinkOk returns a tuple with the PaymentLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetPayments

func (o *CFOrder) GetPayments() CFPaymentURLObject

GetPayments returns the Payments field value if set, zero value otherwise.

func (*CFOrder) GetPaymentsOk

func (o *CFOrder) GetPaymentsOk() (*CFPaymentURLObject, bool)

GetPaymentsOk returns a tuple with the Payments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetRefunds

func (o *CFOrder) GetRefunds() CFRefundURLObject

GetRefunds returns the Refunds field value if set, zero value otherwise.

func (*CFOrder) GetRefundsOk

func (o *CFOrder) GetRefundsOk() (*CFRefundURLObject, bool)

GetRefundsOk returns a tuple with the Refunds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) GetSettlements

func (o *CFOrder) GetSettlements() CFSettlementURLObject

GetSettlements returns the Settlements field value if set, zero value otherwise.

func (*CFOrder) GetSettlementsOk

func (o *CFOrder) GetSettlementsOk() (*CFSettlementURLObject, bool)

GetSettlementsOk returns a tuple with the Settlements field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrder) HasCfOrderId

func (o *CFOrder) HasCfOrderId() bool

HasCfOrderId returns a boolean if a field has been set.

func (*CFOrder) HasCustomerDetails

func (o *CFOrder) HasCustomerDetails() bool

HasCustomerDetails returns a boolean if a field has been set.

func (*CFOrder) HasEntity

func (o *CFOrder) HasEntity() bool

HasEntity returns a boolean if a field has been set.

func (*CFOrder) HasOrderAmount

func (o *CFOrder) HasOrderAmount() bool

HasOrderAmount returns a boolean if a field has been set.

func (*CFOrder) HasOrderCurrency

func (o *CFOrder) HasOrderCurrency() bool

HasOrderCurrency returns a boolean if a field has been set.

func (*CFOrder) HasOrderExpiryTime

func (o *CFOrder) HasOrderExpiryTime() bool

HasOrderExpiryTime returns a boolean if a field has been set.

func (*CFOrder) HasOrderId

func (o *CFOrder) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (*CFOrder) HasOrderMeta

func (o *CFOrder) HasOrderMeta() bool

HasOrderMeta returns a boolean if a field has been set.

func (*CFOrder) HasOrderNote

func (o *CFOrder) HasOrderNote() bool

HasOrderNote returns a boolean if a field has been set.

func (*CFOrder) HasOrderStatus

func (o *CFOrder) HasOrderStatus() bool

HasOrderStatus returns a boolean if a field has been set.

func (*CFOrder) HasOrderToken

func (o *CFOrder) HasOrderToken() bool

HasOrderToken returns a boolean if a field has been set.

func (o *CFOrder) HasPaymentLink() bool

HasPaymentLink returns a boolean if a field has been set.

func (*CFOrder) HasPayments

func (o *CFOrder) HasPayments() bool

HasPayments returns a boolean if a field has been set.

func (*CFOrder) HasRefunds

func (o *CFOrder) HasRefunds() bool

HasRefunds returns a boolean if a field has been set.

func (*CFOrder) HasSettlements

func (o *CFOrder) HasSettlements() bool

HasSettlements returns a boolean if a field has been set.

func (CFOrder) MarshalJSON

func (o CFOrder) MarshalJSON() ([]byte, error)

func (*CFOrder) SetCfOrderId

func (o *CFOrder) SetCfOrderId(v int64)

SetCfOrderId gets a reference to the given int32 and assigns it to the CfOrderId field.

func (*CFOrder) SetCustomerDetails

func (o *CFOrder) SetCustomerDetails(v CFCustomerDetails)

SetCustomerDetails gets a reference to the given CFCustomerDetails and assigns it to the CustomerDetails field.

func (*CFOrder) SetEntity

func (o *CFOrder) SetEntity(v string)

SetEntity gets a reference to the given string and assigns it to the Entity field.

func (*CFOrder) SetOrderAmount

func (o *CFOrder) SetOrderAmount(v float32)

SetOrderAmount gets a reference to the given float32 and assigns it to the OrderAmount field.

func (*CFOrder) SetOrderCurrency

func (o *CFOrder) SetOrderCurrency(v string)

SetOrderCurrency gets a reference to the given string and assigns it to the OrderCurrency field.

func (*CFOrder) SetOrderExpiryTime

func (o *CFOrder) SetOrderExpiryTime(v string)

SetOrderExpiryTime gets a reference to the given string and assigns it to the OrderExpiryTime field.

func (*CFOrder) SetOrderId

func (o *CFOrder) SetOrderId(v string)

SetOrderId gets a reference to the given string and assigns it to the OrderId field.

func (*CFOrder) SetOrderMeta

func (o *CFOrder) SetOrderMeta(v CFOrderMeta)

SetOrderMeta gets a reference to the given CFOrderMeta and assigns it to the OrderMeta field.

func (*CFOrder) SetOrderNote

func (o *CFOrder) SetOrderNote(v string)

SetOrderNote gets a reference to the given string and assigns it to the OrderNote field.

func (*CFOrder) SetOrderStatus

func (o *CFOrder) SetOrderStatus(v string)

SetOrderStatus gets a reference to the given string and assigns it to the OrderStatus field.

func (*CFOrder) SetOrderToken

func (o *CFOrder) SetOrderToken(v string)

SetOrderToken gets a reference to the given string and assigns it to the OrderToken field.

func (o *CFOrder) SetPaymentLink(v string)

SetPaymentLink gets a reference to the given string and assigns it to the PaymentLink field.

func (*CFOrder) SetPayments

func (o *CFOrder) SetPayments(v CFPaymentURLObject)

SetPayments gets a reference to the given CFPaymentURLObject and assigns it to the Payments field.

func (*CFOrder) SetRefunds

func (o *CFOrder) SetRefunds(v CFRefundURLObject)

SetRefunds gets a reference to the given CFRefundURLObject and assigns it to the Refunds field.

func (*CFOrder) SetSettlements

func (o *CFOrder) SetSettlements(v CFSettlementURLObject)

SetSettlements gets a reference to the given CFSettlementURLObject and assigns it to the Settlements field.

type CFOrderMeta

type CFOrderMeta struct {
	// The URL to which user will be redirected to after the payment on bank OTP page. Maximum length: 250.
	ReturnUrl string `json:"return_url"`
	// Notification URL for server-server communication. Useful when user's connection drops while re-directing. NotifyUrl should be an https URL. Maximum length: 250.
	NotifyUrl string `json:"notify_url"`
	// Allowed payment modes for this order. Pass comma-separated values among following options - \"cc\", \"dc\", \"ccc\", \"ppc\", \"nb\", \"upi\", \"paypal\", \"app\". Leave it blank to show all available payment methods
	PaymentMethods string `json:"payment_methods"`
}

CFOrderMeta struct for CFOrderMeta

func NewCFOrderMeta

func NewCFOrderMeta(returnUrl string, notifyUrl string, paymentMethods string) *CFOrderMeta

NewCFOrderMeta instantiates a new CFOrderMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFOrderMetaWithDefaults

func NewCFOrderMetaWithDefaults() *CFOrderMeta

NewCFOrderMetaWithDefaults instantiates a new CFOrderMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFOrderMeta) GetNotifyUrl

func (o *CFOrderMeta) GetNotifyUrl() string

GetNotifyUrl returns the NotifyUrl field value

func (*CFOrderMeta) GetNotifyUrlOk

func (o *CFOrderMeta) GetNotifyUrlOk() (*string, bool)

GetNotifyUrlOk returns a tuple with the NotifyUrl field value and a boolean to check if the value has been set.

func (*CFOrderMeta) GetPaymentMethods

func (o *CFOrderMeta) GetPaymentMethods() string

GetPaymentMethods returns the PaymentMethods field value

func (*CFOrderMeta) GetPaymentMethodsOk

func (o *CFOrderMeta) GetPaymentMethodsOk() (*string, bool)

GetPaymentMethodsOk returns a tuple with the PaymentMethods field value and a boolean to check if the value has been set.

func (*CFOrderMeta) GetReturnUrl

func (o *CFOrderMeta) GetReturnUrl() string

GetReturnUrl returns the ReturnUrl field value

func (*CFOrderMeta) GetReturnUrlOk

func (o *CFOrderMeta) GetReturnUrlOk() (*string, bool)

GetReturnUrlOk returns a tuple with the ReturnUrl field value and a boolean to check if the value has been set.

func (CFOrderMeta) MarshalJSON

func (o CFOrderMeta) MarshalJSON() ([]byte, error)

func (*CFOrderMeta) SetNotifyUrl

func (o *CFOrderMeta) SetNotifyUrl(v string)

SetNotifyUrl sets field value

func (*CFOrderMeta) SetPaymentMethods

func (o *CFOrderMeta) SetPaymentMethods(v string)

SetPaymentMethods sets field value

func (*CFOrderMeta) SetReturnUrl

func (o *CFOrderMeta) SetReturnUrl(v string)

SetReturnUrl sets field value

type CFOrderPayData

type CFOrderPayData struct {
	Url         NullableString         `json:"url,omitempty"`
	Payload     map[string]interface{} `json:"payload,omitempty"`
	ContentType *string                `json:"content_type,omitempty"`
	Method      *string                `json:"method,omitempty"`
}

CFOrderPayData struct for CFOrderPayData

func NewCFOrderPayData

func NewCFOrderPayData() *CFOrderPayData

NewCFOrderPayData instantiates a new CFOrderPayData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFOrderPayDataWithDefaults

func NewCFOrderPayDataWithDefaults() *CFOrderPayData

NewCFOrderPayDataWithDefaults instantiates a new CFOrderPayData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFOrderPayData) GetContentType

func (o *CFOrderPayData) GetContentType() string

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*CFOrderPayData) GetContentTypeOk

func (o *CFOrderPayData) GetContentTypeOk() (*string, bool)

GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderPayData) GetMethod

func (o *CFOrderPayData) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*CFOrderPayData) GetMethodOk

func (o *CFOrderPayData) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderPayData) GetPayload

func (o *CFOrderPayData) GetPayload() map[string]interface{}

GetPayload returns the Payload field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CFOrderPayData) GetPayloadOk

func (o *CFOrderPayData) GetPayloadOk() (map[string]interface{}, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CFOrderPayData) GetUrl

func (o *CFOrderPayData) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CFOrderPayData) GetUrlOk

func (o *CFOrderPayData) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CFOrderPayData) HasContentType

func (o *CFOrderPayData) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*CFOrderPayData) HasMethod

func (o *CFOrderPayData) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*CFOrderPayData) HasPayload

func (o *CFOrderPayData) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*CFOrderPayData) HasUrl

func (o *CFOrderPayData) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (CFOrderPayData) MarshalJSON

func (o CFOrderPayData) MarshalJSON() ([]byte, error)

func (*CFOrderPayData) SetContentType

func (o *CFOrderPayData) SetContentType(v string)

SetContentType gets a reference to the given string and assigns it to the ContentType field.

func (*CFOrderPayData) SetMethod

func (o *CFOrderPayData) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*CFOrderPayData) SetPayload

func (o *CFOrderPayData) SetPayload(v map[string]interface{})

SetPayload gets a reference to the given map[string]interface{} and assigns it to the Payload field.

func (*CFOrderPayData) SetUrl

func (o *CFOrderPayData) SetUrl(v string)

SetUrl gets a reference to the given NullableString and assigns it to the Url field.

func (*CFOrderPayData) SetUrlNil

func (o *CFOrderPayData) SetUrlNil()

SetUrlNil sets the value for Url to be an explicit nil

func (*CFOrderPayData) UnsetUrl

func (o *CFOrderPayData) UnsetUrl()

UnsetUrl ensures that no value is present for Url, not even an explicit nil

type CFOrderPayRequest

type CFOrderPayRequest struct {
	OrderToken     string          `json:"order_token"`
	PaymentMethod  CFPaymentMethod `json:"payment_method"`
	SaveInstrument *bool           `json:"save_instrument,omitempty"`
}

CFOrderPayRequest struct for CFOrderPayRequest

func NewCFOrderPayRequest

func NewCFOrderPayRequest(orderToken string, paymentMethod CFPaymentMethod) *CFOrderPayRequest

NewCFOrderPayRequest instantiates a new CFOrderPayRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFOrderPayRequestWithDefaults

func NewCFOrderPayRequestWithDefaults() *CFOrderPayRequest

NewCFOrderPayRequestWithDefaults instantiates a new CFOrderPayRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFOrderPayRequest) GetOrderToken

func (o *CFOrderPayRequest) GetOrderToken() string

GetOrderToken returns the OrderToken field value

func (*CFOrderPayRequest) GetOrderTokenOk

func (o *CFOrderPayRequest) GetOrderTokenOk() (*string, bool)

GetOrderTokenOk returns a tuple with the OrderToken field value and a boolean to check if the value has been set.

func (*CFOrderPayRequest) GetPaymentMethod

func (o *CFOrderPayRequest) GetPaymentMethod() CFPaymentMethod

GetPaymentMethod returns the PaymentMethod field value

func (*CFOrderPayRequest) GetPaymentMethodOk

func (o *CFOrderPayRequest) GetPaymentMethodOk() (*CFPaymentMethod, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value and a boolean to check if the value has been set.

func (*CFOrderPayRequest) GetSaveInstrument

func (o *CFOrderPayRequest) GetSaveInstrument() bool

GetSaveInstrument returns the SaveInstrument field value if set, zero value otherwise.

func (*CFOrderPayRequest) GetSaveInstrumentOk

func (o *CFOrderPayRequest) GetSaveInstrumentOk() (*bool, bool)

GetSaveInstrumentOk returns a tuple with the SaveInstrument field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderPayRequest) HasSaveInstrument

func (o *CFOrderPayRequest) HasSaveInstrument() bool

HasSaveInstrument returns a boolean if a field has been set.

func (CFOrderPayRequest) MarshalJSON

func (o CFOrderPayRequest) MarshalJSON() ([]byte, error)

func (*CFOrderPayRequest) SetOrderToken

func (o *CFOrderPayRequest) SetOrderToken(v string)

SetOrderToken sets field value

func (*CFOrderPayRequest) SetPaymentMethod

func (o *CFOrderPayRequest) SetPaymentMethod(v CFPaymentMethod)

SetPaymentMethod sets field value

func (*CFOrderPayRequest) SetSaveInstrument

func (o *CFOrderPayRequest) SetSaveInstrument(v bool)

SetSaveInstrument gets a reference to the given bool and assigns it to the SaveInstrument field.

type CFOrderPayResponse

type CFOrderPayResponse struct {
	// Payment identifier created by Cashfree
	CfPaymentId *int64 `json:"cf_payment_id,omitempty"`
	// One of [\"upi\", \"netbanking\", \"card\", \"app\", \"cardless_emi\", \"paylater\"]
	PaymentMethod *string `json:"payment_method,omitempty"`
	// One of [\"link\", \"collect\", \"qrcode\"]. In an older version we used to support different channels like 'gpay', 'phonepe' etc. However, we now support only the following channels - link, collect and qrcode. To process payments using gpay, you will have to provide channel as 'link' and provider as 'gpay'
	Channel *string `json:"channel,omitempty"`
	// One of [\"link\", \"custom\", \"form\"]
	Action NullableString  `json:"action,omitempty"`
	Data   *CFOrderPayData `json:"data,omitempty"`
}

CFOrderPayResponse struct for CFOrderPayResponse

func NewCFOrderPayResponse

func NewCFOrderPayResponse() *CFOrderPayResponse

NewCFOrderPayResponse instantiates a new CFOrderPayResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFOrderPayResponseWithDefaults

func NewCFOrderPayResponseWithDefaults() *CFOrderPayResponse

NewCFOrderPayResponseWithDefaults instantiates a new CFOrderPayResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFOrderPayResponse) GetAction

func (o *CFOrderPayResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CFOrderPayResponse) GetActionOk

func (o *CFOrderPayResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CFOrderPayResponse) GetCfPaymentId

func (o *CFOrderPayResponse) GetCfPaymentId() int64

GetCfPaymentId returns the CfPaymentId field value if set, zero value otherwise.

func (*CFOrderPayResponse) GetCfPaymentIdOk

func (o *CFOrderPayResponse) GetCfPaymentIdOk() (*int64, bool)

GetCfPaymentIdOk returns a tuple with the CfPaymentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderPayResponse) GetChannel

func (o *CFOrderPayResponse) GetChannel() string

GetChannel returns the Channel field value if set, zero value otherwise.

func (*CFOrderPayResponse) GetChannelOk

func (o *CFOrderPayResponse) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderPayResponse) GetData

func (o *CFOrderPayResponse) GetData() CFOrderPayData

GetData returns the Data field value if set, zero value otherwise.

func (*CFOrderPayResponse) GetDataOk

func (o *CFOrderPayResponse) GetDataOk() (*CFOrderPayData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderPayResponse) GetPaymentMethod

func (o *CFOrderPayResponse) GetPaymentMethod() string

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*CFOrderPayResponse) GetPaymentMethodOk

func (o *CFOrderPayResponse) GetPaymentMethodOk() (*string, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderPayResponse) HasAction

func (o *CFOrderPayResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*CFOrderPayResponse) HasCfPaymentId

func (o *CFOrderPayResponse) HasCfPaymentId() bool

HasCfPaymentId returns a boolean if a field has been set.

func (*CFOrderPayResponse) HasChannel

func (o *CFOrderPayResponse) HasChannel() bool

HasChannel returns a boolean if a field has been set.

func (*CFOrderPayResponse) HasData

func (o *CFOrderPayResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*CFOrderPayResponse) HasPaymentMethod

func (o *CFOrderPayResponse) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (CFOrderPayResponse) MarshalJSON

func (o CFOrderPayResponse) MarshalJSON() ([]byte, error)

func (*CFOrderPayResponse) SetAction

func (o *CFOrderPayResponse) SetAction(v string)

SetAction gets a reference to the given NullableString and assigns it to the Action field.

func (*CFOrderPayResponse) SetActionNil

func (o *CFOrderPayResponse) SetActionNil()

SetActionNil sets the value for Action to be an explicit nil

func (*CFOrderPayResponse) SetCfPaymentId

func (o *CFOrderPayResponse) SetCfPaymentId(v int64)

SetCfPaymentId gets a reference to the given int32 and assigns it to the CfPaymentId field.

func (*CFOrderPayResponse) SetChannel

func (o *CFOrderPayResponse) SetChannel(v string)

SetChannel gets a reference to the given string and assigns it to the Channel field.

func (*CFOrderPayResponse) SetData

func (o *CFOrderPayResponse) SetData(v CFOrderPayData)

SetData gets a reference to the given CFOrderPayData and assigns it to the Data field.

func (*CFOrderPayResponse) SetPaymentMethod

func (o *CFOrderPayResponse) SetPaymentMethod(v string)

SetPaymentMethod gets a reference to the given string and assigns it to the PaymentMethod field.

func (*CFOrderPayResponse) UnsetAction

func (o *CFOrderPayResponse) UnsetAction()

UnsetAction ensures that no value is present for Action, not even an explicit nil

type CFOrderPaySessionIdRequest

type CFOrderPaySessionIdRequest struct {
	PaymentSessionId string          `json:"payment_session_id"`
	PaymentMethod    CFPaymentMethod `json:"payment_method"`
	SaveInstrument   *bool           `json:"save_instrument,omitempty"`
}

CFOrderPayRequest struct for CFOrderPayBySessionIdRequest

func NewCFOrderPaySessionIdRequest

func NewCFOrderPaySessionIdRequest(paymentSessionId string, paymentMethod CFPaymentMethod) *CFOrderPaySessionIdRequest

type CFOrderRequest

type CFOrderRequest struct {
	// Order identifier present in your system. Alphanumeric and only - and _ allowed.
	OrderId *string `json:"order_id,omitempty"`
	// Bill amount for the order. Provide upto two decimals. 10.15 means Rs 10 and 15 paisa
	OrderAmount float64 `json:"order_amount"`
	// Currency for the order. INR if left empty. Contact care@cashfree.com to enable new currencies.
	OrderCurrency   string            `json:"order_currency"`
	CustomerDetails CFCustomerDetails `json:"customer_details"`
	OrderMeta       *CFOrderMeta      `json:"order_meta,omitempty"`
	// Time after which the order expires. Customers will not be able to make the payment beyond the time specified here. We store timestamps in IST, but you can provide them in a valid ISO 8601 time format.
	OrderExpiryTime *string `json:"order_expiry_time,omitempty"`
	// Order note for reference.
	OrderNote *string `json:"order_note,omitempty"`
	// Custom Tags which can be passed for an order. A maximum of 6 tags can be added
	OrderTags   *map[string]string `json:"order_tags,omitempty"`
	OrderSplits []CFVendorSplit    `json:"order_splits,omitempty"`
}

CFOrderRequest struct for CFOrderRequest

func NewCFOrderRequest

func NewCFOrderRequest(orderAmount float64, orderCurrency string, customerDetails CFCustomerDetails) *CFOrderRequest

NewCFOrderRequest instantiates a new CFOrderRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFOrderRequestWithDefaults

func NewCFOrderRequestWithDefaults() *CFOrderRequest

NewCFOrderRequestWithDefaults instantiates a new CFOrderRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFOrderRequest) GetCustomerDetails

func (o *CFOrderRequest) GetCustomerDetails() CFCustomerDetails

GetCustomerDetails returns the CustomerDetails field value

func (*CFOrderRequest) GetCustomerDetailsOk

func (o *CFOrderRequest) GetCustomerDetailsOk() (*CFCustomerDetails, bool)

GetCustomerDetailsOk returns a tuple with the CustomerDetails field value and a boolean to check if the value has been set.

func (*CFOrderRequest) GetOrderAmount

func (o *CFOrderRequest) GetOrderAmount() float64

GetOrderAmount returns the OrderAmount field value

func (*CFOrderRequest) GetOrderAmountOk

func (o *CFOrderRequest) GetOrderAmountOk() (*float64, bool)

GetOrderAmountOk returns a tuple with the OrderAmount field value and a boolean to check if the value has been set.

func (*CFOrderRequest) GetOrderCurrency

func (o *CFOrderRequest) GetOrderCurrency() string

GetOrderCurrency returns the OrderCurrency field value

func (*CFOrderRequest) GetOrderCurrencyOk

func (o *CFOrderRequest) GetOrderCurrencyOk() (*string, bool)

GetOrderCurrencyOk returns a tuple with the OrderCurrency field value and a boolean to check if the value has been set.

func (*CFOrderRequest) GetOrderExpiryTime

func (o *CFOrderRequest) GetOrderExpiryTime() string

GetOrderExpiryTime returns the OrderExpiryTime field value if set, zero value otherwise.

func (*CFOrderRequest) GetOrderExpiryTimeOk

func (o *CFOrderRequest) GetOrderExpiryTimeOk() (*string, bool)

GetOrderExpiryTimeOk returns a tuple with the OrderExpiryTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderRequest) GetOrderId

func (o *CFOrderRequest) GetOrderId() string

GetOrderId returns the OrderId field value if set, zero value otherwise.

func (*CFOrderRequest) GetOrderIdOk

func (o *CFOrderRequest) GetOrderIdOk() (*string, bool)

GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderRequest) GetOrderMeta

func (o *CFOrderRequest) GetOrderMeta() CFOrderMeta

GetOrderMeta returns the OrderMeta field value if set, zero value otherwise.

func (*CFOrderRequest) GetOrderMetaOk

func (o *CFOrderRequest) GetOrderMetaOk() (*CFOrderMeta, bool)

GetOrderMetaOk returns a tuple with the OrderMeta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderRequest) GetOrderNote

func (o *CFOrderRequest) GetOrderNote() string

GetOrderNote returns the OrderNote field value if set, zero value otherwise.

func (*CFOrderRequest) GetOrderNoteOk

func (o *CFOrderRequest) GetOrderNoteOk() (*string, bool)

GetOrderNoteOk returns a tuple with the OrderNote field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderRequest) GetOrderSplits

func (o *CFOrderRequest) GetOrderSplits() []CFVendorSplit

GetOrderSplits returns the OrderSplits field value if set, zero value otherwise.

func (*CFOrderRequest) GetOrderSplitsOk

func (o *CFOrderRequest) GetOrderSplitsOk() ([]CFVendorSplit, bool)

GetOrderSplitsOk returns a tuple with the OrderSplits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderRequest) GetOrderTags

func (o *CFOrderRequest) GetOrderTags() map[string]string

GetOrderTags returns the OrderTags field value if set, zero value otherwise.

func (*CFOrderRequest) GetOrderTagsOk

func (o *CFOrderRequest) GetOrderTagsOk() (*map[string]string, bool)

GetOrderTagsOk returns a tuple with the OrderTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFOrderRequest) HasOrderExpiryTime

func (o *CFOrderRequest) HasOrderExpiryTime() bool

HasOrderExpiryTime returns a boolean if a field has been set.

func (*CFOrderRequest) HasOrderId

func (o *CFOrderRequest) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (*CFOrderRequest) HasOrderMeta

func (o *CFOrderRequest) HasOrderMeta() bool

HasOrderMeta returns a boolean if a field has been set.

func (*CFOrderRequest) HasOrderNote

func (o *CFOrderRequest) HasOrderNote() bool

HasOrderNote returns a boolean if a field has been set.

func (*CFOrderRequest) HasOrderSplits

func (o *CFOrderRequest) HasOrderSplits() bool

HasOrderSplits returns a boolean if a field has been set.

func (*CFOrderRequest) HasOrderTags

func (o *CFOrderRequest) HasOrderTags() bool

HasOrderTags returns a boolean if a field has been set.

func (CFOrderRequest) MarshalJSON

func (o CFOrderRequest) MarshalJSON() ([]byte, error)

func (*CFOrderRequest) SetCustomerDetails

func (o *CFOrderRequest) SetCustomerDetails(v CFCustomerDetails)

SetCustomerDetails sets field value

func (*CFOrderRequest) SetOrderAmount

func (o *CFOrderRequest) SetOrderAmount(v float64)

SetOrderAmount sets field value

func (*CFOrderRequest) SetOrderCurrency

func (o *CFOrderRequest) SetOrderCurrency(v string)

SetOrderCurrency sets field value

func (*CFOrderRequest) SetOrderExpiryTime

func (o *CFOrderRequest) SetOrderExpiryTime(v string)

SetOrderExpiryTime gets a reference to the given string and assigns it to the OrderExpiryTime field.

func (*CFOrderRequest) SetOrderId

func (o *CFOrderRequest) SetOrderId(v string)

SetOrderId gets a reference to the given string and assigns it to the OrderId field.

func (*CFOrderRequest) SetOrderMeta

func (o *CFOrderRequest) SetOrderMeta(v CFOrderMeta)

SetOrderMeta gets a reference to the given CFOrderMeta and assigns it to the OrderMeta field.

func (*CFOrderRequest) SetOrderNote

func (o *CFOrderRequest) SetOrderNote(v string)

SetOrderNote gets a reference to the given string and assigns it to the OrderNote field.

func (*CFOrderRequest) SetOrderSplits

func (o *CFOrderRequest) SetOrderSplits(v []CFVendorSplit)

SetOrderSplits gets a reference to the given []CFVendorSplit and assigns it to the OrderSplits field.

func (*CFOrderRequest) SetOrderTags

func (o *CFOrderRequest) SetOrderTags(v map[string]string)

SetOrderTags gets a reference to the given map[string]string and assigns it to the OrderTags field.

type CFPaylater

type CFPaylater struct {
	// The channel for cardless EMI is always `link`
	Channel string `json:"channel"`
	// One of [\"kotak\", \"flexipay\", \"zestmoney\", \"lazypay\", \"olapostpaid\"]. Please note that Flexipay is offered by HDFC bank
	Provider string `json:"provider"`
	// Customers phone number for this payment instrument. If the customer is not eligible you will receive a 400 error with type as 'invalid_request_error' and code as 'invalid_request_error'
	Phone string `json:"phone"`
}

CFPaylater struct for CFPaylater

func NewCFPaylater

func NewCFPaylater(channel string, provider string, phone string) *CFPaylater

NewCFPaylater instantiates a new CFPaylater object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFPaylaterWithDefaults

func NewCFPaylaterWithDefaults() *CFPaylater

NewCFPaylaterWithDefaults instantiates a new CFPaylater object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFPaylater) GetChannel

func (o *CFPaylater) GetChannel() string

GetChannel returns the Channel field value

func (*CFPaylater) GetChannelOk

func (o *CFPaylater) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value and a boolean to check if the value has been set.

func (*CFPaylater) GetPhone

func (o *CFPaylater) GetPhone() string

GetPhone returns the Phone field value

func (*CFPaylater) GetPhoneOk

func (o *CFPaylater) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value and a boolean to check if the value has been set.

func (*CFPaylater) GetProvider

func (o *CFPaylater) GetProvider() string

GetProvider returns the Provider field value

func (*CFPaylater) GetProviderOk

func (o *CFPaylater) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (CFPaylater) MarshalJSON

func (o CFPaylater) MarshalJSON() ([]byte, error)

func (*CFPaylater) SetChannel

func (o *CFPaylater) SetChannel(v string)

SetChannel sets field value

func (*CFPaylater) SetPhone

func (o *CFPaylater) SetPhone(v string)

SetPhone sets field value

func (*CFPaylater) SetProvider

func (o *CFPaylater) SetProvider(v string)

SetProvider sets field value

type CFPaylaterPayment

type CFPaylaterPayment struct {
	Paylater CFPaylater `json:"paylater"`
}

CFPaylaterPayment struct for CFPaylaterPayment

func NewCFPaylaterPayment

func NewCFPaylaterPayment(paylater CFPaylater) *CFPaylaterPayment

NewCFPaylaterPayment instantiates a new CFPaylaterPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFPaylaterPaymentWithDefaults

func NewCFPaylaterPaymentWithDefaults() *CFPaylaterPayment

NewCFPaylaterPaymentWithDefaults instantiates a new CFPaylaterPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFPaylaterPayment) GetPaylater

func (o *CFPaylaterPayment) GetPaylater() CFPaylater

GetPaylater returns the Paylater field value

func (*CFPaylaterPayment) GetPaylaterOk

func (o *CFPaylaterPayment) GetPaylaterOk() (*CFPaylater, bool)

GetPaylaterOk returns a tuple with the Paylater field value and a boolean to check if the value has been set.

func (CFPaylaterPayment) MarshalJSON

func (o CFPaylaterPayment) MarshalJSON() ([]byte, error)

func (*CFPaylaterPayment) SetPaylater

func (o *CFPaylaterPayment) SetPaylater(v CFPaylater)

SetPaylater sets field value

type CFPaymentMethod

type CFPaymentMethod struct {
	CFAppPayment         *CFAppPayment
	CFCardPayment        *CFCardPayment
	CFCardlessEMIPayment *CFCardlessEMIPayment
	CFEMIPayment         *CFEMIPayment
	CFNetbankingPayment  *CFNetbankingPayment
	CFPaylaterPayment    *CFPaylaterPayment
	CFUPIPayment         *CFUPIPayment
}

CFPaymentMethod - struct for CFPaymentMethod

func CFAppPaymentAsCFPaymentMethod

func CFAppPaymentAsCFPaymentMethod(v *CFAppPayment) CFPaymentMethod

CFAppPaymentAsCFPaymentMethod is a convenience function that returns CFAppPayment wrapped in CFPaymentMethod

func CFCardPaymentAsCFPaymentMethod

func CFCardPaymentAsCFPaymentMethod(v *CFCardPayment) CFPaymentMethod

CFCardPaymentAsCFPaymentMethod is a convenience function that returns CFCardPayment wrapped in CFPaymentMethod

func CFCardlessEMIPaymentAsCFPaymentMethod

func CFCardlessEMIPaymentAsCFPaymentMethod(v *CFCardlessEMIPayment) CFPaymentMethod

CFCardlessEMIPaymentAsCFPaymentMethod is a convenience function that returns CFCardlessEMIPayment wrapped in CFPaymentMethod

func CFEMIPaymentAsCFPaymentMethod

func CFEMIPaymentAsCFPaymentMethod(v *CFEMIPayment) CFPaymentMethod

CFEMIPaymentAsCFPaymentMethod is a convenience function that returns CFEMIPayment wrapped in CFPaymentMethod

func CFNetbankingPaymentAsCFPaymentMethod

func CFNetbankingPaymentAsCFPaymentMethod(v *CFNetbankingPayment) CFPaymentMethod

CFNetbankingPaymentAsCFPaymentMethod is a convenience function that returns CFNetbankingPayment wrapped in CFPaymentMethod

func CFPaylaterPaymentAsCFPaymentMethod

func CFPaylaterPaymentAsCFPaymentMethod(v *CFPaylaterPayment) CFPaymentMethod

CFPaylaterPaymentAsCFPaymentMethod is a convenience function that returns CFPaylaterPayment wrapped in CFPaymentMethod

func CFUPIPaymentAsCFPaymentMethod

func CFUPIPaymentAsCFPaymentMethod(v *CFUPIPayment) CFPaymentMethod

CFUPIPaymentAsCFPaymentMethod is a convenience function that returns CFUPIPayment wrapped in CFPaymentMethod

func (*CFPaymentMethod) GetActualInstance

func (obj *CFPaymentMethod) GetActualInstance() interface{}

Get the actual instance

func (CFPaymentMethod) MarshalJSON

func (src CFPaymentMethod) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*CFPaymentMethod) UnmarshalJSON

func (dst *CFPaymentMethod) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CFPaymentURLObject

type CFPaymentURLObject struct {
	Url *string `json:"url,omitempty"`
}

CFPaymentURLObject struct for CFPaymentURLObject

func NewCFPaymentURLObject

func NewCFPaymentURLObject() *CFPaymentURLObject

NewCFPaymentURLObject instantiates a new CFPaymentURLObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFPaymentURLObjectWithDefaults

func NewCFPaymentURLObjectWithDefaults() *CFPaymentURLObject

NewCFPaymentURLObjectWithDefaults instantiates a new CFPaymentURLObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFPaymentURLObject) GetUrl

func (o *CFPaymentURLObject) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*CFPaymentURLObject) GetUrlOk

func (o *CFPaymentURLObject) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentURLObject) HasUrl

func (o *CFPaymentURLObject) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (CFPaymentURLObject) MarshalJSON

func (o CFPaymentURLObject) MarshalJSON() ([]byte, error)

func (*CFPaymentURLObject) SetUrl

func (o *CFPaymentURLObject) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type CFPaymentsEntity

type CFPaymentsEntity struct {
	CfPaymentId *int64  `json:"cf_payment_id,omitempty"`
	OrderId     *string `json:"order_id,omitempty"`
	Entity      *string `json:"entity,omitempty"`
	IsCaptured  *bool   `json:"is_captured,omitempty"`
	// Order amount can be different from payment amount if you collect service fee from the customer
	OrderAmount *float32 `json:"order_amount,omitempty"`
	// Type of payment group. One of ['upi', 'card', 'app', 'netbanking', 'paylater', 'cardless_emi']
	PaymentGroup    *string  `json:"payment_group,omitempty"`
	PaymentCurrency *string  `json:"payment_currency,omitempty"`
	PaymentAmount   *float32 `json:"payment_amount,omitempty"`
	PaymentTime     *string  `json:"payment_time,omitempty"`
	// The transaction status can be one of  [\"SUCCESS\", \"NOT_ATTEMPTED\", \"FAILED\", \"USER_DROPPED\", \"VOID\", \"CANCELLED\", \"PENDING\"]
	PaymentStatus  *string                          `json:"payment_status,omitempty"`
	PaymentMessage *string                          `json:"payment_message,omitempty"`
	BankReference  *string                          `json:"bank_reference,omitempty"`
	AuthId         *string                          `json:"auth_id,omitempty"`
	Authorization  *CFAuthorizationInPaymentsEntity `json:"authorization,omitempty"`
	PaymentMethod  *CFPaymentsEntityPayment         `json:"payment_method,omitempty"`
}

CFPaymentsEntity struct for CFPaymentsEntity

func NewCFPaymentsEntity

func NewCFPaymentsEntity() *CFPaymentsEntity

NewCFPaymentsEntity instantiates a new CFPaymentsEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFPaymentsEntityWithDefaults

func NewCFPaymentsEntityWithDefaults() *CFPaymentsEntity

NewCFPaymentsEntityWithDefaults instantiates a new CFPaymentsEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFPaymentsEntity) GetAuthId

func (o *CFPaymentsEntity) GetAuthId() string

GetAuthId returns the AuthId field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetAuthIdOk

func (o *CFPaymentsEntity) GetAuthIdOk() (*string, bool)

GetAuthIdOk returns a tuple with the AuthId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetAuthorization

func (o *CFPaymentsEntity) GetAuthorization() CFAuthorizationInPaymentsEntity

GetAuthorization returns the Authorization field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetAuthorizationOk

func (o *CFPaymentsEntity) GetAuthorizationOk() (*CFAuthorizationInPaymentsEntity, bool)

GetAuthorizationOk returns a tuple with the Authorization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetBankReference

func (o *CFPaymentsEntity) GetBankReference() string

GetBankReference returns the BankReference field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetBankReferenceOk

func (o *CFPaymentsEntity) GetBankReferenceOk() (*string, bool)

GetBankReferenceOk returns a tuple with the BankReference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetCfPaymentId

func (o *CFPaymentsEntity) GetCfPaymentId() int64

GetCfPaymentId returns the CfPaymentId field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetCfPaymentIdOk

func (o *CFPaymentsEntity) GetCfPaymentIdOk() (*int64, bool)

GetCfPaymentIdOk returns a tuple with the CfPaymentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetEntity

func (o *CFPaymentsEntity) GetEntity() string

GetEntity returns the Entity field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetEntityOk

func (o *CFPaymentsEntity) GetEntityOk() (*string, bool)

GetEntityOk returns a tuple with the Entity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetIsCaptured

func (o *CFPaymentsEntity) GetIsCaptured() bool

GetIsCaptured returns the IsCaptured field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetIsCapturedOk

func (o *CFPaymentsEntity) GetIsCapturedOk() (*bool, bool)

GetIsCapturedOk returns a tuple with the IsCaptured field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetOrderAmount

func (o *CFPaymentsEntity) GetOrderAmount() float32

GetOrderAmount returns the OrderAmount field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetOrderAmountOk

func (o *CFPaymentsEntity) GetOrderAmountOk() (*float32, bool)

GetOrderAmountOk returns a tuple with the OrderAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetOrderId

func (o *CFPaymentsEntity) GetOrderId() string

GetOrderId returns the OrderId field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetOrderIdOk

func (o *CFPaymentsEntity) GetOrderIdOk() (*string, bool)

GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetPaymentAmount

func (o *CFPaymentsEntity) GetPaymentAmount() float32

GetPaymentAmount returns the PaymentAmount field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetPaymentAmountOk

func (o *CFPaymentsEntity) GetPaymentAmountOk() (*float32, bool)

GetPaymentAmountOk returns a tuple with the PaymentAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetPaymentCurrency

func (o *CFPaymentsEntity) GetPaymentCurrency() string

GetPaymentCurrency returns the PaymentCurrency field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetPaymentCurrencyOk

func (o *CFPaymentsEntity) GetPaymentCurrencyOk() (*string, bool)

GetPaymentCurrencyOk returns a tuple with the PaymentCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetPaymentGroup

func (o *CFPaymentsEntity) GetPaymentGroup() string

GetPaymentGroup returns the PaymentGroup field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetPaymentGroupOk

func (o *CFPaymentsEntity) GetPaymentGroupOk() (*string, bool)

GetPaymentGroupOk returns a tuple with the PaymentGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetPaymentMessage

func (o *CFPaymentsEntity) GetPaymentMessage() string

GetPaymentMessage returns the PaymentMessage field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetPaymentMessageOk

func (o *CFPaymentsEntity) GetPaymentMessageOk() (*string, bool)

GetPaymentMessageOk returns a tuple with the PaymentMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetPaymentMethod

func (o *CFPaymentsEntity) GetPaymentMethod() CFPaymentsEntityPayment

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetPaymentMethodOk

func (o *CFPaymentsEntity) GetPaymentMethodOk() (*CFPaymentsEntityPayment, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetPaymentStatus

func (o *CFPaymentsEntity) GetPaymentStatus() string

GetPaymentStatus returns the PaymentStatus field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetPaymentStatusOk

func (o *CFPaymentsEntity) GetPaymentStatusOk() (*string, bool)

GetPaymentStatusOk returns a tuple with the PaymentStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) GetPaymentTime

func (o *CFPaymentsEntity) GetPaymentTime() string

GetPaymentTime returns the PaymentTime field value if set, zero value otherwise.

func (*CFPaymentsEntity) GetPaymentTimeOk

func (o *CFPaymentsEntity) GetPaymentTimeOk() (*string, bool)

GetPaymentTimeOk returns a tuple with the PaymentTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntity) HasAuthId

func (o *CFPaymentsEntity) HasAuthId() bool

HasAuthId returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasAuthorization

func (o *CFPaymentsEntity) HasAuthorization() bool

HasAuthorization returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasBankReference

func (o *CFPaymentsEntity) HasBankReference() bool

HasBankReference returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasCfPaymentId

func (o *CFPaymentsEntity) HasCfPaymentId() bool

HasCfPaymentId returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasEntity

func (o *CFPaymentsEntity) HasEntity() bool

HasEntity returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasIsCaptured

func (o *CFPaymentsEntity) HasIsCaptured() bool

HasIsCaptured returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasOrderAmount

func (o *CFPaymentsEntity) HasOrderAmount() bool

HasOrderAmount returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasOrderId

func (o *CFPaymentsEntity) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasPaymentAmount

func (o *CFPaymentsEntity) HasPaymentAmount() bool

HasPaymentAmount returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasPaymentCurrency

func (o *CFPaymentsEntity) HasPaymentCurrency() bool

HasPaymentCurrency returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasPaymentGroup

func (o *CFPaymentsEntity) HasPaymentGroup() bool

HasPaymentGroup returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasPaymentMessage

func (o *CFPaymentsEntity) HasPaymentMessage() bool

HasPaymentMessage returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasPaymentMethod

func (o *CFPaymentsEntity) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasPaymentStatus

func (o *CFPaymentsEntity) HasPaymentStatus() bool

HasPaymentStatus returns a boolean if a field has been set.

func (*CFPaymentsEntity) HasPaymentTime

func (o *CFPaymentsEntity) HasPaymentTime() bool

HasPaymentTime returns a boolean if a field has been set.

func (CFPaymentsEntity) MarshalJSON

func (o CFPaymentsEntity) MarshalJSON() ([]byte, error)

func (*CFPaymentsEntity) SetAuthId

func (o *CFPaymentsEntity) SetAuthId(v string)

SetAuthId gets a reference to the given string and assigns it to the AuthId field.

func (*CFPaymentsEntity) SetAuthorization

func (o *CFPaymentsEntity) SetAuthorization(v CFAuthorizationInPaymentsEntity)

SetAuthorization gets a reference to the given CFAuthorizationInPaymentsEntity and assigns it to the Authorization field.

func (*CFPaymentsEntity) SetBankReference

func (o *CFPaymentsEntity) SetBankReference(v string)

SetBankReference gets a reference to the given string and assigns it to the BankReference field.

func (*CFPaymentsEntity) SetCfPaymentId

func (o *CFPaymentsEntity) SetCfPaymentId(v int64)

SetCfPaymentId gets a reference to the given int32 and assigns it to the CfPaymentId field.

func (*CFPaymentsEntity) SetEntity

func (o *CFPaymentsEntity) SetEntity(v string)

SetEntity gets a reference to the given string and assigns it to the Entity field.

func (*CFPaymentsEntity) SetIsCaptured

func (o *CFPaymentsEntity) SetIsCaptured(v bool)

SetIsCaptured gets a reference to the given bool and assigns it to the IsCaptured field.

func (*CFPaymentsEntity) SetOrderAmount

func (o *CFPaymentsEntity) SetOrderAmount(v float32)

SetOrderAmount gets a reference to the given float32 and assigns it to the OrderAmount field.

func (*CFPaymentsEntity) SetOrderId

func (o *CFPaymentsEntity) SetOrderId(v string)

SetOrderId gets a reference to the given string and assigns it to the OrderId field.

func (*CFPaymentsEntity) SetPaymentAmount

func (o *CFPaymentsEntity) SetPaymentAmount(v float32)

SetPaymentAmount gets a reference to the given float32 and assigns it to the PaymentAmount field.

func (*CFPaymentsEntity) SetPaymentCurrency

func (o *CFPaymentsEntity) SetPaymentCurrency(v string)

SetPaymentCurrency gets a reference to the given string and assigns it to the PaymentCurrency field.

func (*CFPaymentsEntity) SetPaymentGroup

func (o *CFPaymentsEntity) SetPaymentGroup(v string)

SetPaymentGroup gets a reference to the given string and assigns it to the PaymentGroup field.

func (*CFPaymentsEntity) SetPaymentMessage

func (o *CFPaymentsEntity) SetPaymentMessage(v string)

SetPaymentMessage gets a reference to the given string and assigns it to the PaymentMessage field.

func (*CFPaymentsEntity) SetPaymentMethod

func (o *CFPaymentsEntity) SetPaymentMethod(v CFPaymentsEntityPayment)

SetPaymentMethod gets a reference to the given CFPaymentsEntityPayment and assigns it to the PaymentMethod field.

func (*CFPaymentsEntity) SetPaymentStatus

func (o *CFPaymentsEntity) SetPaymentStatus(v string)

SetPaymentStatus gets a reference to the given string and assigns it to the PaymentStatus field.

func (*CFPaymentsEntity) SetPaymentTime

func (o *CFPaymentsEntity) SetPaymentTime(v string)

SetPaymentTime gets a reference to the given string and assigns it to the PaymentTime field.

type CFPaymentsEntityAppPayment

type CFPaymentsEntityAppPayment struct {
	Channel  *string `json:"channel,omitempty"`
	Provider *string `json:"provider,omitempty"`
	Phone    *string `json:"phone,omitempty"`
}

CFPaymentsEntityAppPayment struct for CFPaymentsEntityAppPayment

func NewCFPaymentsEntityAppPayment

func NewCFPaymentsEntityAppPayment() *CFPaymentsEntityAppPayment

NewCFPaymentsEntityAppPayment instantiates a new CFPaymentsEntityAppPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFPaymentsEntityAppPaymentWithDefaults

func NewCFPaymentsEntityAppPaymentWithDefaults() *CFPaymentsEntityAppPayment

NewCFPaymentsEntityAppPaymentWithDefaults instantiates a new CFPaymentsEntityAppPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFPaymentsEntityAppPayment) GetChannel

func (o *CFPaymentsEntityAppPayment) GetChannel() string

GetChannel returns the Channel field value if set, zero value otherwise.

func (*CFPaymentsEntityAppPayment) GetChannelOk

func (o *CFPaymentsEntityAppPayment) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityAppPayment) GetPhone

func (o *CFPaymentsEntityAppPayment) GetPhone() string

GetPhone returns the Phone field value if set, zero value otherwise.

func (*CFPaymentsEntityAppPayment) GetPhoneOk

func (o *CFPaymentsEntityAppPayment) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityAppPayment) GetProvider

func (o *CFPaymentsEntityAppPayment) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*CFPaymentsEntityAppPayment) GetProviderOk

func (o *CFPaymentsEntityAppPayment) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityAppPayment) HasChannel

func (o *CFPaymentsEntityAppPayment) HasChannel() bool

HasChannel returns a boolean if a field has been set.

func (*CFPaymentsEntityAppPayment) HasPhone

func (o *CFPaymentsEntityAppPayment) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (*CFPaymentsEntityAppPayment) HasProvider

func (o *CFPaymentsEntityAppPayment) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (CFPaymentsEntityAppPayment) MarshalJSON

func (o CFPaymentsEntityAppPayment) MarshalJSON() ([]byte, error)

func (*CFPaymentsEntityAppPayment) SetChannel

func (o *CFPaymentsEntityAppPayment) SetChannel(v string)

SetChannel gets a reference to the given string and assigns it to the Channel field.

func (*CFPaymentsEntityAppPayment) SetPhone

func (o *CFPaymentsEntityAppPayment) SetPhone(v string)

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*CFPaymentsEntityAppPayment) SetProvider

func (o *CFPaymentsEntityAppPayment) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

type CFPaymentsEntityCardPayment

type CFPaymentsEntityCardPayment struct {
	Channel      *string `json:"channel,omitempty"`
	CardNumber   *string `json:"card_number,omitempty"`
	CardNetwork  *string `json:"card_network,omitempty"`
	CardType     *string `json:"card_type,omitempty"`
	CardCountry  *string `json:"card_country,omitempty"`
	CardBankName *string `json:"card_bank_name,omitempty"`
}

CFPaymentsEntityCardPayment struct for CFPaymentsEntityCardPayment

func NewCFPaymentsEntityCardPayment

func NewCFPaymentsEntityCardPayment() *CFPaymentsEntityCardPayment

NewCFPaymentsEntityCardPayment instantiates a new CFPaymentsEntityCardPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFPaymentsEntityCardPaymentWithDefaults

func NewCFPaymentsEntityCardPaymentWithDefaults() *CFPaymentsEntityCardPayment

NewCFPaymentsEntityCardPaymentWithDefaults instantiates a new CFPaymentsEntityCardPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFPaymentsEntityCardPayment) GetCardBankName

func (o *CFPaymentsEntityCardPayment) GetCardBankName() string

GetCardBankName returns the CardBankName field value if set, zero value otherwise.

func (*CFPaymentsEntityCardPayment) GetCardBankNameOk

func (o *CFPaymentsEntityCardPayment) GetCardBankNameOk() (*string, bool)

GetCardBankNameOk returns a tuple with the CardBankName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityCardPayment) GetCardCountry

func (o *CFPaymentsEntityCardPayment) GetCardCountry() string

GetCardCountry returns the CardCountry field value if set, zero value otherwise.

func (*CFPaymentsEntityCardPayment) GetCardCountryOk

func (o *CFPaymentsEntityCardPayment) GetCardCountryOk() (*string, bool)

GetCardCountryOk returns a tuple with the CardCountry field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityCardPayment) GetCardNetwork

func (o *CFPaymentsEntityCardPayment) GetCardNetwork() string

GetCardNetwork returns the CardNetwork field value if set, zero value otherwise.

func (*CFPaymentsEntityCardPayment) GetCardNetworkOk

func (o *CFPaymentsEntityCardPayment) GetCardNetworkOk() (*string, bool)

GetCardNetworkOk returns a tuple with the CardNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityCardPayment) GetCardNumber

func (o *CFPaymentsEntityCardPayment) GetCardNumber() string

GetCardNumber returns the CardNumber field value if set, zero value otherwise.

func (*CFPaymentsEntityCardPayment) GetCardNumberOk

func (o *CFPaymentsEntityCardPayment) GetCardNumberOk() (*string, bool)

GetCardNumberOk returns a tuple with the CardNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityCardPayment) GetCardType

func (o *CFPaymentsEntityCardPayment) GetCardType() string

GetCardType returns the CardType field value if set, zero value otherwise.

func (*CFPaymentsEntityCardPayment) GetCardTypeOk

func (o *CFPaymentsEntityCardPayment) GetCardTypeOk() (*string, bool)

GetCardTypeOk returns a tuple with the CardType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityCardPayment) GetChannel

func (o *CFPaymentsEntityCardPayment) GetChannel() string

GetChannel returns the Channel field value if set, zero value otherwise.

func (*CFPaymentsEntityCardPayment) GetChannelOk

func (o *CFPaymentsEntityCardPayment) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityCardPayment) HasCardBankName

func (o *CFPaymentsEntityCardPayment) HasCardBankName() bool

HasCardBankName returns a boolean if a field has been set.

func (*CFPaymentsEntityCardPayment) HasCardCountry

func (o *CFPaymentsEntityCardPayment) HasCardCountry() bool

HasCardCountry returns a boolean if a field has been set.

func (*CFPaymentsEntityCardPayment) HasCardNetwork

func (o *CFPaymentsEntityCardPayment) HasCardNetwork() bool

HasCardNetwork returns a boolean if a field has been set.

func (*CFPaymentsEntityCardPayment) HasCardNumber

func (o *CFPaymentsEntityCardPayment) HasCardNumber() bool

HasCardNumber returns a boolean if a field has been set.

func (*CFPaymentsEntityCardPayment) HasCardType

func (o *CFPaymentsEntityCardPayment) HasCardType() bool

HasCardType returns a boolean if a field has been set.

func (*CFPaymentsEntityCardPayment) HasChannel

func (o *CFPaymentsEntityCardPayment) HasChannel() bool

HasChannel returns a boolean if a field has been set.

func (CFPaymentsEntityCardPayment) MarshalJSON

func (o CFPaymentsEntityCardPayment) MarshalJSON() ([]byte, error)

func (*CFPaymentsEntityCardPayment) SetCardBankName

func (o *CFPaymentsEntityCardPayment) SetCardBankName(v string)

SetCardBankName gets a reference to the given string and assigns it to the CardBankName field.

func (*CFPaymentsEntityCardPayment) SetCardCountry

func (o *CFPaymentsEntityCardPayment) SetCardCountry(v string)

SetCardCountry gets a reference to the given string and assigns it to the CardCountry field.

func (*CFPaymentsEntityCardPayment) SetCardNetwork

func (o *CFPaymentsEntityCardPayment) SetCardNetwork(v string)

SetCardNetwork gets a reference to the given string and assigns it to the CardNetwork field.

func (*CFPaymentsEntityCardPayment) SetCardNumber

func (o *CFPaymentsEntityCardPayment) SetCardNumber(v string)

SetCardNumber gets a reference to the given string and assigns it to the CardNumber field.

func (*CFPaymentsEntityCardPayment) SetCardType

func (o *CFPaymentsEntityCardPayment) SetCardType(v string)

SetCardType gets a reference to the given string and assigns it to the CardType field.

func (*CFPaymentsEntityCardPayment) SetChannel

func (o *CFPaymentsEntityCardPayment) SetChannel(v string)

SetChannel gets a reference to the given string and assigns it to the Channel field.

type CFPaymentsEntityCardlessEMIPayment

type CFPaymentsEntityCardlessEMIPayment struct {
	Channel  *string `json:"channel,omitempty"`
	Provider *string `json:"provider,omitempty"`
	Phone    *string `json:"phone,omitempty"`
}

CFPaymentsEntityCardlessEMIPayment struct for CFPaymentsEntityCardlessEMIPayment

func NewCFPaymentsEntityCardlessEMIPayment

func NewCFPaymentsEntityCardlessEMIPayment() *CFPaymentsEntityCardlessEMIPayment

NewCFPaymentsEntityCardlessEMIPayment instantiates a new CFPaymentsEntityCardlessEMIPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFPaymentsEntityCardlessEMIPaymentWithDefaults

func NewCFPaymentsEntityCardlessEMIPaymentWithDefaults() *CFPaymentsEntityCardlessEMIPayment

NewCFPaymentsEntityCardlessEMIPaymentWithDefaults instantiates a new CFPaymentsEntityCardlessEMIPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFPaymentsEntityCardlessEMIPayment) GetChannel

GetChannel returns the Channel field value if set, zero value otherwise.

func (*CFPaymentsEntityCardlessEMIPayment) GetChannelOk

func (o *CFPaymentsEntityCardlessEMIPayment) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityCardlessEMIPayment) GetPhone

GetPhone returns the Phone field value if set, zero value otherwise.

func (*CFPaymentsEntityCardlessEMIPayment) GetPhoneOk

func (o *CFPaymentsEntityCardlessEMIPayment) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityCardlessEMIPayment) GetProvider

func (o *CFPaymentsEntityCardlessEMIPayment) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*CFPaymentsEntityCardlessEMIPayment) GetProviderOk

func (o *CFPaymentsEntityCardlessEMIPayment) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityCardlessEMIPayment) HasChannel

func (o *CFPaymentsEntityCardlessEMIPayment) HasChannel() bool

HasChannel returns a boolean if a field has been set.

func (*CFPaymentsEntityCardlessEMIPayment) HasPhone

HasPhone returns a boolean if a field has been set.

func (*CFPaymentsEntityCardlessEMIPayment) HasProvider

func (o *CFPaymentsEntityCardlessEMIPayment) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (CFPaymentsEntityCardlessEMIPayment) MarshalJSON

func (o CFPaymentsEntityCardlessEMIPayment) MarshalJSON() ([]byte, error)

func (*CFPaymentsEntityCardlessEMIPayment) SetChannel

func (o *CFPaymentsEntityCardlessEMIPayment) SetChannel(v string)

SetChannel gets a reference to the given string and assigns it to the Channel field.

func (*CFPaymentsEntityCardlessEMIPayment) SetPhone

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*CFPaymentsEntityCardlessEMIPayment) SetProvider

func (o *CFPaymentsEntityCardlessEMIPayment) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

type CFPaymentsEntityMethod

type CFPaymentsEntityMethod struct {
	CFPaymentsEntityAppPayment         *CFPaymentsEntityAppPayment
	CFPaymentsEntityCardPayment        *CFPaymentsEntityCardPayment
	CFPaymentsEntityCardlessEMIPayment *CFPaymentsEntityCardlessEMIPayment
	CFPaymentsEntityNetbankingPayment  *CFPaymentsEntityNetbankingPayment
	CFPaymentsEntityPaylaterPayment    *CFPaymentsEntityPaylaterPayment
	CFPaymentsEntityUPIPayment         *CFPaymentsEntityUPIPayment
}

CFPaymentsEntityMethod - struct for CFPaymentsEntityMethod

func CFPaymentsEntityAppPaymentAsCFPaymentsEntityMethod

func CFPaymentsEntityAppPaymentAsCFPaymentsEntityMethod(v *CFPaymentsEntityAppPayment) CFPaymentsEntityMethod

CFPaymentsEntityAppPaymentAsCFPaymentsEntityMethod is a convenience function that returns CFPaymentsEntityAppPayment wrapped in CFPaymentsEntityMethod

func CFPaymentsEntityCardPaymentAsCFPaymentsEntityMethod

func CFPaymentsEntityCardPaymentAsCFPaymentsEntityMethod(v *CFPaymentsEntityCardPayment) CFPaymentsEntityMethod

CFPaymentsEntityCardPaymentAsCFPaymentsEntityMethod is a convenience function that returns CFPaymentsEntityCardPayment wrapped in CFPaymentsEntityMethod

func CFPaymentsEntityCardlessEMIPaymentAsCFPaymentsEntityMethod

func CFPaymentsEntityCardlessEMIPaymentAsCFPaymentsEntityMethod(v *CFPaymentsEntityCardlessEMIPayment) CFPaymentsEntityMethod

CFPaymentsEntityCardlessEMIPaymentAsCFPaymentsEntityMethod is a convenience function that returns CFPaymentsEntityCardlessEMIPayment wrapped in CFPaymentsEntityMethod

func CFPaymentsEntityNetbankingPaymentAsCFPaymentsEntityMethod

func CFPaymentsEntityNetbankingPaymentAsCFPaymentsEntityMethod(v *CFPaymentsEntityNetbankingPayment) CFPaymentsEntityMethod

CFPaymentsEntityNetbankingPaymentAsCFPaymentsEntityMethod is a convenience function that returns CFPaymentsEntityNetbankingPayment wrapped in CFPaymentsEntityMethod

func CFPaymentsEntityPaylaterPaymentAsCFPaymentsEntityMethod

func CFPaymentsEntityPaylaterPaymentAsCFPaymentsEntityMethod(v *CFPaymentsEntityPaylaterPayment) CFPaymentsEntityMethod

CFPaymentsEntityPaylaterPaymentAsCFPaymentsEntityMethod is a convenience function that returns CFPaymentsEntityPaylaterPayment wrapped in CFPaymentsEntityMethod

func CFPaymentsEntityUPIPaymentAsCFPaymentsEntityMethod

func CFPaymentsEntityUPIPaymentAsCFPaymentsEntityMethod(v *CFPaymentsEntityUPIPayment) CFPaymentsEntityMethod

CFPaymentsEntityUPIPaymentAsCFPaymentsEntityMethod is a convenience function that returns CFPaymentsEntityUPIPayment wrapped in CFPaymentsEntityMethod

func (*CFPaymentsEntityMethod) GetActualInstance

func (obj *CFPaymentsEntityMethod) GetActualInstance() interface{}

Get the actual instance

func (CFPaymentsEntityMethod) MarshalJSON

func (src CFPaymentsEntityMethod) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*CFPaymentsEntityMethod) UnmarshalJSON

func (dst *CFPaymentsEntityMethod) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CFPaymentsEntityNetbankingPayment

type CFPaymentsEntityNetbankingPayment struct {
	Channel            string `json:"channel"`
	NetbankingBankCode string `json:"netbanking_bank_code"`
	NetbankingBankName string `json:"netbanking_bank_name"`
}

CFPaymentsEntityNetbankingPayment struct for CFPaymentsEntityNetbankingPayment

func NewCFPaymentsEntityNetbankingPayment

func NewCFPaymentsEntityNetbankingPayment(channel string, netbankingBankCode string, netbankingBankName string) *CFPaymentsEntityNetbankingPayment

NewCFPaymentsEntityNetbankingPayment instantiates a new CFPaymentsEntityNetbankingPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFPaymentsEntityNetbankingPaymentWithDefaults

func NewCFPaymentsEntityNetbankingPaymentWithDefaults() *CFPaymentsEntityNetbankingPayment

NewCFPaymentsEntityNetbankingPaymentWithDefaults instantiates a new CFPaymentsEntityNetbankingPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFPaymentsEntityNetbankingPayment) GetChannel

func (o *CFPaymentsEntityNetbankingPayment) GetChannel() string

GetChannel returns the Channel field value

func (*CFPaymentsEntityNetbankingPayment) GetChannelOk

func (o *CFPaymentsEntityNetbankingPayment) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value and a boolean to check if the value has been set.

func (*CFPaymentsEntityNetbankingPayment) GetNetbankingBankCode

func (o *CFPaymentsEntityNetbankingPayment) GetNetbankingBankCode() string

GetNetbankingBankCode returns the NetbankingBankCode field value

func (*CFPaymentsEntityNetbankingPayment) GetNetbankingBankCodeOk

func (o *CFPaymentsEntityNetbankingPayment) GetNetbankingBankCodeOk() (*string, bool)

GetNetbankingBankCodeOk returns a tuple with the NetbankingBankCode field value and a boolean to check if the value has been set.

func (*CFPaymentsEntityNetbankingPayment) GetNetbankingBankName

func (o *CFPaymentsEntityNetbankingPayment) GetNetbankingBankName() string

GetNetbankingBankName returns the NetbankingBankName field value

func (*CFPaymentsEntityNetbankingPayment) GetNetbankingBankNameOk

func (o *CFPaymentsEntityNetbankingPayment) GetNetbankingBankNameOk() (*string, bool)

GetNetbankingBankNameOk returns a tuple with the NetbankingBankName field value and a boolean to check if the value has been set.

func (CFPaymentsEntityNetbankingPayment) MarshalJSON

func (o CFPaymentsEntityNetbankingPayment) MarshalJSON() ([]byte, error)

func (*CFPaymentsEntityNetbankingPayment) SetChannel

func (o *CFPaymentsEntityNetbankingPayment) SetChannel(v string)

SetChannel sets field value

func (*CFPaymentsEntityNetbankingPayment) SetNetbankingBankCode

func (o *CFPaymentsEntityNetbankingPayment) SetNetbankingBankCode(v string)

SetNetbankingBankCode sets field value

func (*CFPaymentsEntityNetbankingPayment) SetNetbankingBankName

func (o *CFPaymentsEntityNetbankingPayment) SetNetbankingBankName(v string)

SetNetbankingBankName sets field value

type CFPaymentsEntityPaylaterPayment

type CFPaymentsEntityPaylaterPayment struct {
	Channel  *string `json:"channel,omitempty"`
	Provider *string `json:"provider,omitempty"`
	Phone    *string `json:"phone,omitempty"`
}

CFPaymentsEntityPaylaterPayment struct for CFPaymentsEntityPaylaterPayment

func NewCFPaymentsEntityPaylaterPayment

func NewCFPaymentsEntityPaylaterPayment() *CFPaymentsEntityPaylaterPayment

NewCFPaymentsEntityPaylaterPayment instantiates a new CFPaymentsEntityPaylaterPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFPaymentsEntityPaylaterPaymentWithDefaults

func NewCFPaymentsEntityPaylaterPaymentWithDefaults() *CFPaymentsEntityPaylaterPayment

NewCFPaymentsEntityPaylaterPaymentWithDefaults instantiates a new CFPaymentsEntityPaylaterPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFPaymentsEntityPaylaterPayment) GetChannel

func (o *CFPaymentsEntityPaylaterPayment) GetChannel() string

GetChannel returns the Channel field value if set, zero value otherwise.

func (*CFPaymentsEntityPaylaterPayment) GetChannelOk

func (o *CFPaymentsEntityPaylaterPayment) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityPaylaterPayment) GetPhone

GetPhone returns the Phone field value if set, zero value otherwise.

func (*CFPaymentsEntityPaylaterPayment) GetPhoneOk

func (o *CFPaymentsEntityPaylaterPayment) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityPaylaterPayment) GetProvider

func (o *CFPaymentsEntityPaylaterPayment) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*CFPaymentsEntityPaylaterPayment) GetProviderOk

func (o *CFPaymentsEntityPaylaterPayment) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityPaylaterPayment) HasChannel

func (o *CFPaymentsEntityPaylaterPayment) HasChannel() bool

HasChannel returns a boolean if a field has been set.

func (*CFPaymentsEntityPaylaterPayment) HasPhone

func (o *CFPaymentsEntityPaylaterPayment) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (*CFPaymentsEntityPaylaterPayment) HasProvider

func (o *CFPaymentsEntityPaylaterPayment) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (CFPaymentsEntityPaylaterPayment) MarshalJSON

func (o CFPaymentsEntityPaylaterPayment) MarshalJSON() ([]byte, error)

func (*CFPaymentsEntityPaylaterPayment) SetChannel

func (o *CFPaymentsEntityPaylaterPayment) SetChannel(v string)

SetChannel gets a reference to the given string and assigns it to the Channel field.

func (*CFPaymentsEntityPaylaterPayment) SetPhone

func (o *CFPaymentsEntityPaylaterPayment) SetPhone(v string)

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*CFPaymentsEntityPaylaterPayment) SetProvider

func (o *CFPaymentsEntityPaylaterPayment) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

type CFPaymentsEntityPayment

type CFPaymentsEntityPayment struct {
	PaymentMethod *CFPaymentsEntityMethod `json:"payment_method,omitempty"`
}

CFPaymentsEntityPayment struct for CFPaymentsEntityPayment

func NewCFPaymentsEntityPayment

func NewCFPaymentsEntityPayment() *CFPaymentsEntityPayment

NewCFPaymentsEntityPayment instantiates a new CFPaymentsEntityPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFPaymentsEntityPaymentWithDefaults

func NewCFPaymentsEntityPaymentWithDefaults() *CFPaymentsEntityPayment

NewCFPaymentsEntityPaymentWithDefaults instantiates a new CFPaymentsEntityPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFPaymentsEntityPayment) GetPaymentMethod

func (o *CFPaymentsEntityPayment) GetPaymentMethod() CFPaymentsEntityMethod

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*CFPaymentsEntityPayment) GetPaymentMethodOk

func (o *CFPaymentsEntityPayment) GetPaymentMethodOk() (*CFPaymentsEntityMethod, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityPayment) HasPaymentMethod

func (o *CFPaymentsEntityPayment) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (CFPaymentsEntityPayment) MarshalJSON

func (o CFPaymentsEntityPayment) MarshalJSON() ([]byte, error)

func (*CFPaymentsEntityPayment) SetPaymentMethod

func (o *CFPaymentsEntityPayment) SetPaymentMethod(v CFPaymentsEntityMethod)

SetPaymentMethod gets a reference to the given CFPaymentsEntityMethod and assigns it to the PaymentMethod field.

type CFPaymentsEntityUPIPayment

type CFPaymentsEntityUPIPayment struct {
	Channel string  `json:"channel"`
	UpiId   *string `json:"upi_id,omitempty"`
}

CFPaymentsEntityUPIPayment struct for CFPaymentsEntityUPIPayment

func NewCFPaymentsEntityUPIPayment

func NewCFPaymentsEntityUPIPayment(channel string) *CFPaymentsEntityUPIPayment

NewCFPaymentsEntityUPIPayment instantiates a new CFPaymentsEntityUPIPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFPaymentsEntityUPIPaymentWithDefaults

func NewCFPaymentsEntityUPIPaymentWithDefaults() *CFPaymentsEntityUPIPayment

NewCFPaymentsEntityUPIPaymentWithDefaults instantiates a new CFPaymentsEntityUPIPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFPaymentsEntityUPIPayment) GetChannel

func (o *CFPaymentsEntityUPIPayment) GetChannel() string

GetChannel returns the Channel field value

func (*CFPaymentsEntityUPIPayment) GetChannelOk

func (o *CFPaymentsEntityUPIPayment) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value and a boolean to check if the value has been set.

func (*CFPaymentsEntityUPIPayment) GetUpiId

func (o *CFPaymentsEntityUPIPayment) GetUpiId() string

GetUpiId returns the UpiId field value if set, zero value otherwise.

func (*CFPaymentsEntityUPIPayment) GetUpiIdOk

func (o *CFPaymentsEntityUPIPayment) GetUpiIdOk() (*string, bool)

GetUpiIdOk returns a tuple with the UpiId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFPaymentsEntityUPIPayment) HasUpiId

func (o *CFPaymentsEntityUPIPayment) HasUpiId() bool

HasUpiId returns a boolean if a field has been set.

func (CFPaymentsEntityUPIPayment) MarshalJSON

func (o CFPaymentsEntityUPIPayment) MarshalJSON() ([]byte, error)

func (*CFPaymentsEntityUPIPayment) SetChannel

func (o *CFPaymentsEntityUPIPayment) SetChannel(v string)

SetChannel sets field value

func (*CFPaymentsEntityUPIPayment) SetUpiId

func (o *CFPaymentsEntityUPIPayment) SetUpiId(v string)

SetUpiId gets a reference to the given string and assigns it to the UpiId field.

type CFRefund

type CFRefund struct {
	// Cashfree Payments ID of the payment for which refund is initiated
	CfPaymentId *int64 `json:"cf_payment_id,omitempty"`
	// Cashfree Payments ID for a refund
	CfRefundId *string `json:"cf_refund_id,omitempty"`
	// Merchant’s order Id of the order for which refund is initiated
	OrderId *string `json:"order_id,omitempty"`
	// Merchant’s refund ID of the refund
	RefundId *string `json:"refund_id,omitempty"`
	// Type of object
	Entity *string `json:"entity,omitempty"`
	// Amount that is refunded
	RefundAmount *float32 `json:"refund_amount,omitempty"`
	// Currency of the refund amount
	RefundCurrency *string `json:"refund_currency,omitempty"`
	// Note added by merchant for the refund
	RefundNote *string `json:"refund_note,omitempty"`
	// This can be one of [\"SUCCESS\", \"PENDING\", \"CANCELLED\", \"ONHOLD\"]
	RefundStatus *string `json:"refund_status,omitempty"`
	// The bank reference number for refund
	RefundArn *string `json:"refund_arn,omitempty"`
	// Charges in INR for processing refund
	RefundCharge *float32 `json:"refund_charge,omitempty"`
	// Description of refund status
	StatusDescription *string `json:"status_description,omitempty"`
	// Key-value pair that can be used to store additional information about the entity. Maximum 5 key-value pairs
	Metadata     map[string]interface{} `json:"metadata,omitempty"`
	RefundSplits []CFVendorSplit        `json:"refund_splits,omitempty"`
	// This can be one of [\"PAYMENT_AUTO_REFUND\", \"MERCHANT_INITIATED\", \"UNRECONCILED_AUTO_REFUND\"]
	RefundType *string `json:"refund_type,omitempty"`
	// Method or speed of processing refund
	RefundMode *string `json:"refund_mode,omitempty"`
	// Time of refund creation
	CreatedAt *string `json:"created_at,omitempty"`
	// Time when refund was processed successfully
	ProcessedAt *string `json:"processed_at,omitempty"`
}

CFRefund struct for CFRefund

func NewCFRefund

func NewCFRefund() *CFRefund

NewCFRefund instantiates a new CFRefund object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFRefundWithDefaults

func NewCFRefundWithDefaults() *CFRefund

NewCFRefundWithDefaults instantiates a new CFRefund object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFRefund) GetCfPaymentId

func (o *CFRefund) GetCfPaymentId() int64

GetCfPaymentId returns the CfPaymentId field value if set, zero value otherwise.

func (*CFRefund) GetCfPaymentIdOk

func (o *CFRefund) GetCfPaymentIdOk() (*int64, bool)

GetCfPaymentIdOk returns a tuple with the CfPaymentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetCfRefundId

func (o *CFRefund) GetCfRefundId() string

GetCfRefundId returns the CfRefundId field value if set, zero value otherwise.

func (*CFRefund) GetCfRefundIdOk

func (o *CFRefund) GetCfRefundIdOk() (*string, bool)

GetCfRefundIdOk returns a tuple with the CfRefundId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetCreatedAt

func (o *CFRefund) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CFRefund) GetCreatedAtOk

func (o *CFRefund) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetEntity

func (o *CFRefund) GetEntity() string

GetEntity returns the Entity field value if set, zero value otherwise.

func (*CFRefund) GetEntityOk

func (o *CFRefund) GetEntityOk() (*string, bool)

GetEntityOk returns a tuple with the Entity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetMetadata

func (o *CFRefund) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*CFRefund) GetMetadataOk

func (o *CFRefund) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetOrderId

func (o *CFRefund) GetOrderId() string

GetOrderId returns the OrderId field value if set, zero value otherwise.

func (*CFRefund) GetOrderIdOk

func (o *CFRefund) GetOrderIdOk() (*string, bool)

GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetProcessedAt

func (o *CFRefund) GetProcessedAt() string

GetProcessedAt returns the ProcessedAt field value if set, zero value otherwise.

func (*CFRefund) GetProcessedAtOk

func (o *CFRefund) GetProcessedAtOk() (*string, bool)

GetProcessedAtOk returns a tuple with the ProcessedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetRefundAmount

func (o *CFRefund) GetRefundAmount() float32

GetRefundAmount returns the RefundAmount field value if set, zero value otherwise.

func (*CFRefund) GetRefundAmountOk

func (o *CFRefund) GetRefundAmountOk() (*float32, bool)

GetRefundAmountOk returns a tuple with the RefundAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetRefundArn

func (o *CFRefund) GetRefundArn() string

GetRefundArn returns the RefundArn field value if set, zero value otherwise.

func (*CFRefund) GetRefundArnOk

func (o *CFRefund) GetRefundArnOk() (*string, bool)

GetRefundArnOk returns a tuple with the RefundArn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetRefundCharge

func (o *CFRefund) GetRefundCharge() float32

GetRefundCharge returns the RefundCharge field value if set, zero value otherwise.

func (*CFRefund) GetRefundChargeOk

func (o *CFRefund) GetRefundChargeOk() (*float32, bool)

GetRefundChargeOk returns a tuple with the RefundCharge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetRefundCurrency

func (o *CFRefund) GetRefundCurrency() string

GetRefundCurrency returns the RefundCurrency field value if set, zero value otherwise.

func (*CFRefund) GetRefundCurrencyOk

func (o *CFRefund) GetRefundCurrencyOk() (*string, bool)

GetRefundCurrencyOk returns a tuple with the RefundCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetRefundId

func (o *CFRefund) GetRefundId() string

GetRefundId returns the RefundId field value if set, zero value otherwise.

func (*CFRefund) GetRefundIdOk

func (o *CFRefund) GetRefundIdOk() (*string, bool)

GetRefundIdOk returns a tuple with the RefundId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetRefundMode

func (o *CFRefund) GetRefundMode() string

GetRefundMode returns the RefundMode field value if set, zero value otherwise.

func (*CFRefund) GetRefundModeOk

func (o *CFRefund) GetRefundModeOk() (*string, bool)

GetRefundModeOk returns a tuple with the RefundMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetRefundNote

func (o *CFRefund) GetRefundNote() string

GetRefundNote returns the RefundNote field value if set, zero value otherwise.

func (*CFRefund) GetRefundNoteOk

func (o *CFRefund) GetRefundNoteOk() (*string, bool)

GetRefundNoteOk returns a tuple with the RefundNote field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetRefundSplits

func (o *CFRefund) GetRefundSplits() []CFVendorSplit

GetRefundSplits returns the RefundSplits field value if set, zero value otherwise.

func (*CFRefund) GetRefundSplitsOk

func (o *CFRefund) GetRefundSplitsOk() ([]CFVendorSplit, bool)

GetRefundSplitsOk returns a tuple with the RefundSplits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetRefundStatus

func (o *CFRefund) GetRefundStatus() string

GetRefundStatus returns the RefundStatus field value if set, zero value otherwise.

func (*CFRefund) GetRefundStatusOk

func (o *CFRefund) GetRefundStatusOk() (*string, bool)

GetRefundStatusOk returns a tuple with the RefundStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetRefundType

func (o *CFRefund) GetRefundType() string

GetRefundType returns the RefundType field value if set, zero value otherwise.

func (*CFRefund) GetRefundTypeOk

func (o *CFRefund) GetRefundTypeOk() (*string, bool)

GetRefundTypeOk returns a tuple with the RefundType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) GetStatusDescription

func (o *CFRefund) GetStatusDescription() string

GetStatusDescription returns the StatusDescription field value if set, zero value otherwise.

func (*CFRefund) GetStatusDescriptionOk

func (o *CFRefund) GetStatusDescriptionOk() (*string, bool)

GetStatusDescriptionOk returns a tuple with the StatusDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefund) HasCfPaymentId

func (o *CFRefund) HasCfPaymentId() bool

HasCfPaymentId returns a boolean if a field has been set.

func (*CFRefund) HasCfRefundId

func (o *CFRefund) HasCfRefundId() bool

HasCfRefundId returns a boolean if a field has been set.

func (*CFRefund) HasCreatedAt

func (o *CFRefund) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CFRefund) HasEntity

func (o *CFRefund) HasEntity() bool

HasEntity returns a boolean if a field has been set.

func (*CFRefund) HasMetadata

func (o *CFRefund) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CFRefund) HasOrderId

func (o *CFRefund) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (*CFRefund) HasProcessedAt

func (o *CFRefund) HasProcessedAt() bool

HasProcessedAt returns a boolean if a field has been set.

func (*CFRefund) HasRefundAmount

func (o *CFRefund) HasRefundAmount() bool

HasRefundAmount returns a boolean if a field has been set.

func (*CFRefund) HasRefundArn

func (o *CFRefund) HasRefundArn() bool

HasRefundArn returns a boolean if a field has been set.

func (*CFRefund) HasRefundCharge

func (o *CFRefund) HasRefundCharge() bool

HasRefundCharge returns a boolean if a field has been set.

func (*CFRefund) HasRefundCurrency

func (o *CFRefund) HasRefundCurrency() bool

HasRefundCurrency returns a boolean if a field has been set.

func (*CFRefund) HasRefundId

func (o *CFRefund) HasRefundId() bool

HasRefundId returns a boolean if a field has been set.

func (*CFRefund) HasRefundMode

func (o *CFRefund) HasRefundMode() bool

HasRefundMode returns a boolean if a field has been set.

func (*CFRefund) HasRefundNote

func (o *CFRefund) HasRefundNote() bool

HasRefundNote returns a boolean if a field has been set.

func (*CFRefund) HasRefundSplits

func (o *CFRefund) HasRefundSplits() bool

HasRefundSplits returns a boolean if a field has been set.

func (*CFRefund) HasRefundStatus

func (o *CFRefund) HasRefundStatus() bool

HasRefundStatus returns a boolean if a field has been set.

func (*CFRefund) HasRefundType

func (o *CFRefund) HasRefundType() bool

HasRefundType returns a boolean if a field has been set.

func (*CFRefund) HasStatusDescription

func (o *CFRefund) HasStatusDescription() bool

HasStatusDescription returns a boolean if a field has been set.

func (CFRefund) MarshalJSON

func (o CFRefund) MarshalJSON() ([]byte, error)

func (*CFRefund) SetCfPaymentId

func (o *CFRefund) SetCfPaymentId(v int64)

SetCfPaymentId gets a reference to the given int32 and assigns it to the CfPaymentId field.

func (*CFRefund) SetCfRefundId

func (o *CFRefund) SetCfRefundId(v string)

SetCfRefundId gets a reference to the given string and assigns it to the CfRefundId field.

func (*CFRefund) SetCreatedAt

func (o *CFRefund) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*CFRefund) SetEntity

func (o *CFRefund) SetEntity(v string)

SetEntity gets a reference to the given string and assigns it to the Entity field.

func (*CFRefund) SetMetadata

func (o *CFRefund) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*CFRefund) SetOrderId

func (o *CFRefund) SetOrderId(v string)

SetOrderId gets a reference to the given string and assigns it to the OrderId field.

func (*CFRefund) SetProcessedAt

func (o *CFRefund) SetProcessedAt(v string)

SetProcessedAt gets a reference to the given string and assigns it to the ProcessedAt field.

func (*CFRefund) SetRefundAmount

func (o *CFRefund) SetRefundAmount(v float32)

SetRefundAmount gets a reference to the given float32 and assigns it to the RefundAmount field.

func (*CFRefund) SetRefundArn

func (o *CFRefund) SetRefundArn(v string)

SetRefundArn gets a reference to the given string and assigns it to the RefundArn field.

func (*CFRefund) SetRefundCharge

func (o *CFRefund) SetRefundCharge(v float32)

SetRefundCharge gets a reference to the given float32 and assigns it to the RefundCharge field.

func (*CFRefund) SetRefundCurrency

func (o *CFRefund) SetRefundCurrency(v string)

SetRefundCurrency gets a reference to the given string and assigns it to the RefundCurrency field.

func (*CFRefund) SetRefundId

func (o *CFRefund) SetRefundId(v string)

SetRefundId gets a reference to the given string and assigns it to the RefundId field.

func (*CFRefund) SetRefundMode

func (o *CFRefund) SetRefundMode(v string)

SetRefundMode gets a reference to the given string and assigns it to the RefundMode field.

func (*CFRefund) SetRefundNote

func (o *CFRefund) SetRefundNote(v string)

SetRefundNote gets a reference to the given string and assigns it to the RefundNote field.

func (*CFRefund) SetRefundSplits

func (o *CFRefund) SetRefundSplits(v []CFVendorSplit)

SetRefundSplits gets a reference to the given []CFVendorSplit and assigns it to the RefundSplits field.

func (*CFRefund) SetRefundStatus

func (o *CFRefund) SetRefundStatus(v string)

SetRefundStatus gets a reference to the given string and assigns it to the RefundStatus field.

func (*CFRefund) SetRefundType

func (o *CFRefund) SetRefundType(v string)

SetRefundType gets a reference to the given string and assigns it to the RefundType field.

func (*CFRefund) SetStatusDescription

func (o *CFRefund) SetStatusDescription(v string)

SetStatusDescription gets a reference to the given string and assigns it to the StatusDescription field.

type CFRefundRequest

type CFRefundRequest struct {
	// Amount to be refunded. Should be lesser than or equal to the transaction amount. (Decimals allowed)
	RefundAmount float64 `json:"refund_amount"`
	// An unique ID to associate the refund with. Provie alphanumeric values
	RefundId string `json:"refund_id"`
	// A refund note for your reference.
	RefundNote   *string         `json:"refund_note,omitempty"`
	RefundSplits []CFVendorSplit `json:"refund_splits,omitempty"`
}

CFRefundRequest struct for CFRefundRequest

func NewCFRefundRequest

func NewCFRefundRequest(refundAmount float64, refundId string) *CFRefundRequest

NewCFRefundRequest instantiates a new CFRefundRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFRefundRequestWithDefaults

func NewCFRefundRequestWithDefaults() *CFRefundRequest

NewCFRefundRequestWithDefaults instantiates a new CFRefundRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFRefundRequest) GetRefundAmount

func (o *CFRefundRequest) GetRefundAmount() float64

GetRefundAmount returns the RefundAmount field value

func (*CFRefundRequest) GetRefundAmountOk

func (o *CFRefundRequest) GetRefundAmountOk() (*float64, bool)

GetRefundAmountOk returns a tuple with the RefundAmount field value and a boolean to check if the value has been set.

func (*CFRefundRequest) GetRefundId

func (o *CFRefundRequest) GetRefundId() string

GetRefundId returns the RefundId field value

func (*CFRefundRequest) GetRefundIdOk

func (o *CFRefundRequest) GetRefundIdOk() (*string, bool)

GetRefundIdOk returns a tuple with the RefundId field value and a boolean to check if the value has been set.

func (*CFRefundRequest) GetRefundNote

func (o *CFRefundRequest) GetRefundNote() string

GetRefundNote returns the RefundNote field value if set, zero value otherwise.

func (*CFRefundRequest) GetRefundNoteOk

func (o *CFRefundRequest) GetRefundNoteOk() (*string, bool)

GetRefundNoteOk returns a tuple with the RefundNote field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefundRequest) GetRefundSplits

func (o *CFRefundRequest) GetRefundSplits() []CFVendorSplit

GetRefundSplits returns the RefundSplits field value if set, zero value otherwise.

func (*CFRefundRequest) GetRefundSplitsOk

func (o *CFRefundRequest) GetRefundSplitsOk() ([]CFVendorSplit, bool)

GetRefundSplitsOk returns a tuple with the RefundSplits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefundRequest) HasRefundNote

func (o *CFRefundRequest) HasRefundNote() bool

HasRefundNote returns a boolean if a field has been set.

func (*CFRefundRequest) HasRefundSplits

func (o *CFRefundRequest) HasRefundSplits() bool

HasRefundSplits returns a boolean if a field has been set.

func (CFRefundRequest) MarshalJSON

func (o CFRefundRequest) MarshalJSON() ([]byte, error)

func (*CFRefundRequest) SetRefundAmount

func (o *CFRefundRequest) SetRefundAmount(v float64)

SetRefundAmount sets field value

func (*CFRefundRequest) SetRefundId

func (o *CFRefundRequest) SetRefundId(v string)

SetRefundId sets field value

func (*CFRefundRequest) SetRefundNote

func (o *CFRefundRequest) SetRefundNote(v string)

SetRefundNote gets a reference to the given string and assigns it to the RefundNote field.

func (*CFRefundRequest) SetRefundSplits

func (o *CFRefundRequest) SetRefundSplits(v []CFVendorSplit)

SetRefundSplits gets a reference to the given []CFVendorSplit and assigns it to the RefundSplits field.

type CFRefundURLObject

type CFRefundURLObject struct {
	Url *string `json:"url,omitempty"`
}

CFRefundURLObject struct for CFRefundURLObject

func NewCFRefundURLObject

func NewCFRefundURLObject() *CFRefundURLObject

NewCFRefundURLObject instantiates a new CFRefundURLObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFRefundURLObjectWithDefaults

func NewCFRefundURLObjectWithDefaults() *CFRefundURLObject

NewCFRefundURLObjectWithDefaults instantiates a new CFRefundURLObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFRefundURLObject) GetUrl

func (o *CFRefundURLObject) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*CFRefundURLObject) GetUrlOk

func (o *CFRefundURLObject) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFRefundURLObject) HasUrl

func (o *CFRefundURLObject) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (CFRefundURLObject) MarshalJSON

func (o CFRefundURLObject) MarshalJSON() ([]byte, error)

func (*CFRefundURLObject) SetUrl

func (o *CFRefundURLObject) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type CFResponseHeader

type CFResponseHeader struct {
	ApiVersion          *string
	RateLimit           *string
	RateLimitRemaining  *string
	RateLimitRetry      *string
	RateLimitType       *string
	RequestID           *string
	IdempotencyKey      *string
	IdempotencyReplayed *string
}

type CFSavedInstrumentMeta

type CFSavedInstrumentMeta struct {
	// card scheme/network of the saved card
	CardNetwork *string `json:"card_network,omitempty"`
	// Issuing bank name of saved card
	CardBankName *string `json:"card_bank_name,omitempty"`
	// Issuing country of saved card
	CardCountry *string `json:"card_country,omitempty"`
	// Type of saved card
	CardType         *string                `json:"card_type,omitempty"`
	CardTokenDetails map[string]interface{} `json:"card_token_details,omitempty"`
}

CFSavedInstrumentMeta struct for CFSavedInstrumentMeta

func NewCFSavedInstrumentMeta

func NewCFSavedInstrumentMeta() *CFSavedInstrumentMeta

NewCFSavedInstrumentMeta instantiates a new CFSavedInstrumentMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFSavedInstrumentMetaWithDefaults

func NewCFSavedInstrumentMetaWithDefaults() *CFSavedInstrumentMeta

NewCFSavedInstrumentMetaWithDefaults instantiates a new CFSavedInstrumentMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFSavedInstrumentMeta) GetCardBankName

func (o *CFSavedInstrumentMeta) GetCardBankName() string

GetCardBankName returns the CardBankName field value if set, zero value otherwise.

func (*CFSavedInstrumentMeta) GetCardBankNameOk

func (o *CFSavedInstrumentMeta) GetCardBankNameOk() (*string, bool)

GetCardBankNameOk returns a tuple with the CardBankName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSavedInstrumentMeta) GetCardCountry

func (o *CFSavedInstrumentMeta) GetCardCountry() string

GetCardCountry returns the CardCountry field value if set, zero value otherwise.

func (*CFSavedInstrumentMeta) GetCardCountryOk

func (o *CFSavedInstrumentMeta) GetCardCountryOk() (*string, bool)

GetCardCountryOk returns a tuple with the CardCountry field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSavedInstrumentMeta) GetCardNetwork

func (o *CFSavedInstrumentMeta) GetCardNetwork() string

GetCardNetwork returns the CardNetwork field value if set, zero value otherwise.

func (*CFSavedInstrumentMeta) GetCardNetworkOk

func (o *CFSavedInstrumentMeta) GetCardNetworkOk() (*string, bool)

GetCardNetworkOk returns a tuple with the CardNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSavedInstrumentMeta) GetCardTokenDetails

func (o *CFSavedInstrumentMeta) GetCardTokenDetails() map[string]interface{}

GetCardTokenDetails returns the CardTokenDetails field value if set, zero value otherwise.

func (*CFSavedInstrumentMeta) GetCardTokenDetailsOk

func (o *CFSavedInstrumentMeta) GetCardTokenDetailsOk() (map[string]interface{}, bool)

GetCardTokenDetailsOk returns a tuple with the CardTokenDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSavedInstrumentMeta) GetCardType

func (o *CFSavedInstrumentMeta) GetCardType() string

GetCardType returns the CardType field value if set, zero value otherwise.

func (*CFSavedInstrumentMeta) GetCardTypeOk

func (o *CFSavedInstrumentMeta) GetCardTypeOk() (*string, bool)

GetCardTypeOk returns a tuple with the CardType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSavedInstrumentMeta) HasCardBankName

func (o *CFSavedInstrumentMeta) HasCardBankName() bool

HasCardBankName returns a boolean if a field has been set.

func (*CFSavedInstrumentMeta) HasCardCountry

func (o *CFSavedInstrumentMeta) HasCardCountry() bool

HasCardCountry returns a boolean if a field has been set.

func (*CFSavedInstrumentMeta) HasCardNetwork

func (o *CFSavedInstrumentMeta) HasCardNetwork() bool

HasCardNetwork returns a boolean if a field has been set.

func (*CFSavedInstrumentMeta) HasCardTokenDetails

func (o *CFSavedInstrumentMeta) HasCardTokenDetails() bool

HasCardTokenDetails returns a boolean if a field has been set.

func (*CFSavedInstrumentMeta) HasCardType

func (o *CFSavedInstrumentMeta) HasCardType() bool

HasCardType returns a boolean if a field has been set.

func (CFSavedInstrumentMeta) MarshalJSON

func (o CFSavedInstrumentMeta) MarshalJSON() ([]byte, error)

func (*CFSavedInstrumentMeta) SetCardBankName

func (o *CFSavedInstrumentMeta) SetCardBankName(v string)

SetCardBankName gets a reference to the given string and assigns it to the CardBankName field.

func (*CFSavedInstrumentMeta) SetCardCountry

func (o *CFSavedInstrumentMeta) SetCardCountry(v string)

SetCardCountry gets a reference to the given string and assigns it to the CardCountry field.

func (*CFSavedInstrumentMeta) SetCardNetwork

func (o *CFSavedInstrumentMeta) SetCardNetwork(v string)

SetCardNetwork gets a reference to the given string and assigns it to the CardNetwork field.

func (*CFSavedInstrumentMeta) SetCardTokenDetails

func (o *CFSavedInstrumentMeta) SetCardTokenDetails(v map[string]interface{})

SetCardTokenDetails gets a reference to the given map[string]interface{} and assigns it to the CardTokenDetails field.

func (*CFSavedInstrumentMeta) SetCardType

func (o *CFSavedInstrumentMeta) SetCardType(v string)

SetCardType gets a reference to the given string and assigns it to the CardType field.

type CFSettlementURLObject

type CFSettlementURLObject struct {
	Url *string `json:"url,omitempty"`
}

CFSettlementURLObject struct for CFSettlementURLObject

func NewCFSettlementURLObject

func NewCFSettlementURLObject() *CFSettlementURLObject

NewCFSettlementURLObject instantiates a new CFSettlementURLObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFSettlementURLObjectWithDefaults

func NewCFSettlementURLObjectWithDefaults() *CFSettlementURLObject

NewCFSettlementURLObjectWithDefaults instantiates a new CFSettlementURLObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFSettlementURLObject) GetUrl

func (o *CFSettlementURLObject) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*CFSettlementURLObject) GetUrlOk

func (o *CFSettlementURLObject) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementURLObject) HasUrl

func (o *CFSettlementURLObject) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (CFSettlementURLObject) MarshalJSON

func (o CFSettlementURLObject) MarshalJSON() ([]byte, error)

func (*CFSettlementURLObject) SetUrl

func (o *CFSettlementURLObject) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type CFSettlementsEntity

type CFSettlementsEntity struct {
	CfPaymentId        *string  `json:"cf_payment_id,omitempty"`
	CfSettlementId     *string  `json:"cf_settlement_id,omitempty"`
	SettlementCurrency *string  `json:"settlement_currency,omitempty"`
	OrderId            *string  `json:"order_id,omitempty"`
	Entity             *string  `json:"entity,omitempty"`
	OrderAmount        *float32 `json:"order_amount,omitempty"`
	PaymentTime        *string  `json:"payment_time,omitempty"`
	ServiceCharge      *float32 `json:"service_charge,omitempty"`
	ServiceTax         *float32 `json:"service_tax,omitempty"`
	SettlementAmount   *float32 `json:"settlement_amount,omitempty"`
	SettlementId       *int64   `json:"settlement_id,omitempty"`
	TransferId         *int32   `json:"transfer_id,omitempty"`
	TransferTime       *string  `json:"transfer_time,omitempty"`
	TransferUtr        *string  `json:"transfer_utr,omitempty"`
}

CFSettlementsEntity struct for CFSettlementsEntity

func NewCFSettlementsEntity

func NewCFSettlementsEntity() *CFSettlementsEntity

NewCFSettlementsEntity instantiates a new CFSettlementsEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFSettlementsEntityWithDefaults

func NewCFSettlementsEntityWithDefaults() *CFSettlementsEntity

NewCFSettlementsEntityWithDefaults instantiates a new CFSettlementsEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFSettlementsEntity) GetCfPaymentId

func (o *CFSettlementsEntity) GetCfPaymentId() string

GetCfPaymentId returns the CfPaymentId field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetCfPaymentIdOk

func (o *CFSettlementsEntity) GetCfPaymentIdOk() (*string, bool)

GetCfPaymentIdOk returns a tuple with the CfPaymentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetCfSettlementId

func (o *CFSettlementsEntity) GetCfSettlementId() string

GetCfSettlementId returns the CfSettlementId field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetCfSettlementIdOk

func (o *CFSettlementsEntity) GetCfSettlementIdOk() (*string, bool)

GetCfSettlementIdOk returns a tuple with the CfSettlementId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetEntity

func (o *CFSettlementsEntity) GetEntity() string

GetEntity returns the Entity field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetEntityOk

func (o *CFSettlementsEntity) GetEntityOk() (*string, bool)

GetEntityOk returns a tuple with the Entity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetOrderAmount

func (o *CFSettlementsEntity) GetOrderAmount() float32

GetOrderAmount returns the OrderAmount field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetOrderAmountOk

func (o *CFSettlementsEntity) GetOrderAmountOk() (*float32, bool)

GetOrderAmountOk returns a tuple with the OrderAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetOrderId

func (o *CFSettlementsEntity) GetOrderId() string

GetOrderId returns the OrderId field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetOrderIdOk

func (o *CFSettlementsEntity) GetOrderIdOk() (*string, bool)

GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetPaymentTime

func (o *CFSettlementsEntity) GetPaymentTime() string

GetPaymentTime returns the PaymentTime field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetPaymentTimeOk

func (o *CFSettlementsEntity) GetPaymentTimeOk() (*string, bool)

GetPaymentTimeOk returns a tuple with the PaymentTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetServiceCharge

func (o *CFSettlementsEntity) GetServiceCharge() float32

GetServiceCharge returns the ServiceCharge field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetServiceChargeOk

func (o *CFSettlementsEntity) GetServiceChargeOk() (*float32, bool)

GetServiceChargeOk returns a tuple with the ServiceCharge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetServiceTax

func (o *CFSettlementsEntity) GetServiceTax() float32

GetServiceTax returns the ServiceTax field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetServiceTaxOk

func (o *CFSettlementsEntity) GetServiceTaxOk() (*float32, bool)

GetServiceTaxOk returns a tuple with the ServiceTax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetSettlementAmount

func (o *CFSettlementsEntity) GetSettlementAmount() float32

GetSettlementAmount returns the SettlementAmount field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetSettlementAmountOk

func (o *CFSettlementsEntity) GetSettlementAmountOk() (*float32, bool)

GetSettlementAmountOk returns a tuple with the SettlementAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetSettlementCurrency

func (o *CFSettlementsEntity) GetSettlementCurrency() string

GetSettlementCurrency returns the SettlementCurrency field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetSettlementCurrencyOk

func (o *CFSettlementsEntity) GetSettlementCurrencyOk() (*string, bool)

GetSettlementCurrencyOk returns a tuple with the SettlementCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetSettlementId

func (o *CFSettlementsEntity) GetSettlementId() int64

GetSettlementId returns the SettlementId field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetSettlementIdOk

func (o *CFSettlementsEntity) GetSettlementIdOk() (*int64, bool)

GetSettlementIdOk returns a tuple with the SettlementId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetTransferId

func (o *CFSettlementsEntity) GetTransferId() int32

GetTransferId returns the TransferId field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetTransferIdOk

func (o *CFSettlementsEntity) GetTransferIdOk() (*int32, bool)

GetTransferIdOk returns a tuple with the TransferId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetTransferTime

func (o *CFSettlementsEntity) GetTransferTime() string

GetTransferTime returns the TransferTime field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetTransferTimeOk

func (o *CFSettlementsEntity) GetTransferTimeOk() (*string, bool)

GetTransferTimeOk returns a tuple with the TransferTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) GetTransferUtr

func (o *CFSettlementsEntity) GetTransferUtr() string

GetTransferUtr returns the TransferUtr field value if set, zero value otherwise.

func (*CFSettlementsEntity) GetTransferUtrOk

func (o *CFSettlementsEntity) GetTransferUtrOk() (*string, bool)

GetTransferUtrOk returns a tuple with the TransferUtr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFSettlementsEntity) HasCfPaymentId

func (o *CFSettlementsEntity) HasCfPaymentId() bool

HasCfPaymentId returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasCfSettlementId

func (o *CFSettlementsEntity) HasCfSettlementId() bool

HasCfSettlementId returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasEntity

func (o *CFSettlementsEntity) HasEntity() bool

HasEntity returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasOrderAmount

func (o *CFSettlementsEntity) HasOrderAmount() bool

HasOrderAmount returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasOrderId

func (o *CFSettlementsEntity) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasPaymentTime

func (o *CFSettlementsEntity) HasPaymentTime() bool

HasPaymentTime returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasServiceCharge

func (o *CFSettlementsEntity) HasServiceCharge() bool

HasServiceCharge returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasServiceTax

func (o *CFSettlementsEntity) HasServiceTax() bool

HasServiceTax returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasSettlementAmount

func (o *CFSettlementsEntity) HasSettlementAmount() bool

HasSettlementAmount returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasSettlementCurrency

func (o *CFSettlementsEntity) HasSettlementCurrency() bool

HasSettlementCurrency returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasSettlementId

func (o *CFSettlementsEntity) HasSettlementId() bool

HasSettlementId returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasTransferId

func (o *CFSettlementsEntity) HasTransferId() bool

HasTransferId returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasTransferTime

func (o *CFSettlementsEntity) HasTransferTime() bool

HasTransferTime returns a boolean if a field has been set.

func (*CFSettlementsEntity) HasTransferUtr

func (o *CFSettlementsEntity) HasTransferUtr() bool

HasTransferUtr returns a boolean if a field has been set.

func (CFSettlementsEntity) MarshalJSON

func (o CFSettlementsEntity) MarshalJSON() ([]byte, error)

func (*CFSettlementsEntity) SetCfPaymentId

func (o *CFSettlementsEntity) SetCfPaymentId(v string)

SetCfPaymentId gets a reference to the given string and assigns it to the CfPaymentId field.

func (*CFSettlementsEntity) SetCfSettlementId

func (o *CFSettlementsEntity) SetCfSettlementId(v string)

SetCfSettlementId gets a reference to the given string and assigns it to the CfSettlementId field.

func (*CFSettlementsEntity) SetEntity

func (o *CFSettlementsEntity) SetEntity(v string)

SetEntity gets a reference to the given string and assigns it to the Entity field.

func (*CFSettlementsEntity) SetOrderAmount

func (o *CFSettlementsEntity) SetOrderAmount(v float32)

SetOrderAmount gets a reference to the given float32 and assigns it to the OrderAmount field.

func (*CFSettlementsEntity) SetOrderId

func (o *CFSettlementsEntity) SetOrderId(v string)

SetOrderId gets a reference to the given string and assigns it to the OrderId field.

func (*CFSettlementsEntity) SetPaymentTime

func (o *CFSettlementsEntity) SetPaymentTime(v string)

SetPaymentTime gets a reference to the given string and assigns it to the PaymentTime field.

func (*CFSettlementsEntity) SetServiceCharge

func (o *CFSettlementsEntity) SetServiceCharge(v float32)

SetServiceCharge gets a reference to the given float32 and assigns it to the ServiceCharge field.

func (*CFSettlementsEntity) SetServiceTax

func (o *CFSettlementsEntity) SetServiceTax(v float32)

SetServiceTax gets a reference to the given float32 and assigns it to the ServiceTax field.

func (*CFSettlementsEntity) SetSettlementAmount

func (o *CFSettlementsEntity) SetSettlementAmount(v float32)

SetSettlementAmount gets a reference to the given float32 and assigns it to the SettlementAmount field.

func (*CFSettlementsEntity) SetSettlementCurrency

func (o *CFSettlementsEntity) SetSettlementCurrency(v string)

SetSettlementCurrency gets a reference to the given string and assigns it to the SettlementCurrency field.

func (*CFSettlementsEntity) SetSettlementId

func (o *CFSettlementsEntity) SetSettlementId(v int64)

SetSettlementId gets a reference to the given int32 and assigns it to the SettlementId field.

func (*CFSettlementsEntity) SetTransferId

func (o *CFSettlementsEntity) SetTransferId(v int32)

SetTransferId gets a reference to the given int32 and assigns it to the TransferId field.

func (*CFSettlementsEntity) SetTransferTime

func (o *CFSettlementsEntity) SetTransferTime(v string)

SetTransferTime gets a reference to the given string and assigns it to the TransferTime field.

func (*CFSettlementsEntity) SetTransferUtr

func (o *CFSettlementsEntity) SetTransferUtr(v string)

SetTransferUtr gets a reference to the given string and assigns it to the TransferUtr field.

type CFUPI

type CFUPI struct {
	// Specify the channel through which the payment must be processed. Can be one of [\"link\", \"collect\", \"qrcode\"]
	Channel string `json:"channel"`
	// Customer UPI VPA to process payment.
	UpiId string `json:"upi_id"`
	// For one time mandate on UPI. Set this as authorize_only = true. Please note that you can only use the \"collect\" channel if you are sending a one time mandate request
	AuthorizeOnly *bool                 `json:"authorize_only,omitempty"`
	Authorization CFUPIAuthorizeDetails `json:"authorization,omitempty"`
}

CFUPI struct for CFUPI

func NewCFUPI

func NewCFUPI(channel string, upiId string) *CFUPI

NewCFUPI instantiates a new CFUPI object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFUPIWithDefaults

func NewCFUPIWithDefaults() *CFUPI

NewCFUPIWithDefaults instantiates a new CFUPI object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFUPI) GetAuthorization

func (o *CFUPI) GetAuthorization() CFUPIAuthorizeDetails

GetAuthorization returns the Authorization field value if set, zero value otherwise.

func (*CFUPI) GetAuthorizationOk

func (o *CFUPI) GetAuthorizationOk() (CFUPIAuthorizeDetails, bool)

GetAuthorizationOk returns a tuple with the Authorization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFUPI) GetAuthorizeOnly

func (o *CFUPI) GetAuthorizeOnly() bool

GetAuthorizeOnly returns the AuthorizeOnly field value if set, zero value otherwise.

func (*CFUPI) GetAuthorizeOnlyOk

func (o *CFUPI) GetAuthorizeOnlyOk() (*bool, bool)

GetAuthorizeOnlyOk returns a tuple with the AuthorizeOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFUPI) GetChannel

func (o *CFUPI) GetChannel() string

GetChannel returns the Channel field value

func (*CFUPI) GetChannelOk

func (o *CFUPI) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field value and a boolean to check if the value has been set.

func (*CFUPI) GetUpiId

func (o *CFUPI) GetUpiId() string

GetUpiId returns the UpiId field value

func (*CFUPI) GetUpiIdOk

func (o *CFUPI) GetUpiIdOk() (*string, bool)

GetUpiIdOk returns a tuple with the UpiId field value and a boolean to check if the value has been set.

func (*CFUPI) HasAuthorization

func (o *CFUPI) HasAuthorization() bool

HasAuthorization returns a boolean if a field has been set.

func (*CFUPI) HasAuthorizeOnly

func (o *CFUPI) HasAuthorizeOnly() bool

HasAuthorizeOnly returns a boolean if a field has been set.

func (CFUPI) MarshalJSON

func (o CFUPI) MarshalJSON() ([]byte, error)

func (*CFUPI) SetAuthorization

func (o *CFUPI) SetAuthorization(v CFUPIAuthorizeDetails)

SetAuthorization gets a reference to the given UPIAuthorizeDetails and assigns it to the Authorization field.

func (*CFUPI) SetAuthorizeOnly

func (o *CFUPI) SetAuthorizeOnly(v bool)

SetAuthorizeOnly gets a reference to the given bool and assigns it to the AuthorizeOnly field.

func (*CFUPI) SetChannel

func (o *CFUPI) SetChannel(v string)

SetChannel sets field value

func (*CFUPI) SetUpiId

func (o *CFUPI) SetUpiId(v string)

SetUpiId sets field value

type CFUPIAuthorizeDetails

type CFUPIAuthorizeDetails struct {
	// Time by which this authorization should be approved by the customer.
	ApproveBy *string `json:"approve_by,omitempty"`
	// This is the time when the UPI one time mandate will start
	StartTime *string `json:"start_time,omitempty"`
	// This is the time when the UPI mandate will be over. If the mandate has not been executed by this time, the funds will be returned back to the customer after this time.
	EndTime *string `json:"end_time,omitempty"`
}

CFUPIAuthorizeDetails struct for CFUPIAuthorizeDetails

func NewCFUPIAuthorizeDetails

func NewCFUPIAuthorizeDetails() *CFUPIAuthorizeDetails

NewCFUPIAuthorizeDetails instantiates a new CFUPIAuthorizeDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFUPIAuthorizeDetailsWithDefaults

func NewCFUPIAuthorizeDetailsWithDefaults() *CFUPIAuthorizeDetails

NewCFUPIAuthorizeDetailsWithDefaults instantiates a new CFUPIAuthorizeDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFUPIAuthorizeDetails) GetApproveBy

func (o *CFUPIAuthorizeDetails) GetApproveBy() string

GetApproveBy returns the ApproveBy field value if set, zero value otherwise.

func (*CFUPIAuthorizeDetails) GetApproveByOk

func (o *CFUPIAuthorizeDetails) GetApproveByOk() (*string, bool)

GetApproveByOk returns a tuple with the ApproveBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFUPIAuthorizeDetails) GetEndTime

func (o *CFUPIAuthorizeDetails) GetEndTime() string

GetEndTime returns the EndTime field value if set, zero value otherwise.

func (*CFUPIAuthorizeDetails) GetEndTimeOk

func (o *CFUPIAuthorizeDetails) GetEndTimeOk() (*string, bool)

GetEndTimeOk returns a tuple with the EndTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFUPIAuthorizeDetails) GetStartTime

func (o *CFUPIAuthorizeDetails) GetStartTime() string

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*CFUPIAuthorizeDetails) GetStartTimeOk

func (o *CFUPIAuthorizeDetails) GetStartTimeOk() (*string, bool)

GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFUPIAuthorizeDetails) HasApproveBy

func (o *CFUPIAuthorizeDetails) HasApproveBy() bool

HasApproveBy returns a boolean if a field has been set.

func (*CFUPIAuthorizeDetails) HasEndTime

func (o *CFUPIAuthorizeDetails) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

func (*CFUPIAuthorizeDetails) HasStartTime

func (o *CFUPIAuthorizeDetails) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (CFUPIAuthorizeDetails) MarshalJSON

func (o CFUPIAuthorizeDetails) MarshalJSON() ([]byte, error)

func (*CFUPIAuthorizeDetails) SetApproveBy

func (o *CFUPIAuthorizeDetails) SetApproveBy(v string)

SetApproveBy gets a reference to the given string and assigns it to the ApproveBy field.

func (*CFUPIAuthorizeDetails) SetEndTime

func (o *CFUPIAuthorizeDetails) SetEndTime(v string)

SetEndTime gets a reference to the given string and assigns it to the EndTime field.

func (*CFUPIAuthorizeDetails) SetStartTime

func (o *CFUPIAuthorizeDetails) SetStartTime(v string)

SetStartTime gets a reference to the given string and assigns it to the StartTime field.

type CFUPIPayment

type CFUPIPayment struct {
	Upi CFUPI `json:"upi"`
}

CFUPIPayment struct for CFUPIPayment

func NewCFUPIPayment

func NewCFUPIPayment(upi CFUPI) *CFUPIPayment

NewCFUPIPayment instantiates a new CFUPIPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFUPIPaymentWithDefaults

func NewCFUPIPaymentWithDefaults() *CFUPIPayment

NewCFUPIPaymentWithDefaults instantiates a new CFUPIPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFUPIPayment) GetUpi

func (o *CFUPIPayment) GetUpi() CFUPI

GetUpi returns the Upi field value

func (*CFUPIPayment) GetUpiOk

func (o *CFUPIPayment) GetUpiOk() (*CFUPI, bool)

GetUpiOk returns a tuple with the Upi field value and a boolean to check if the value has been set.

func (CFUPIPayment) MarshalJSON

func (o CFUPIPayment) MarshalJSON() ([]byte, error)

func (*CFUPIPayment) SetUpi

func (o *CFUPIPayment) SetUpi(v CFUPI)

SetUpi sets field value

type CFVendorSplit

type CFVendorSplit struct {
	// Vendor id created in Cashfree system
	VendorId *string `json:"vendor_id,omitempty"`
	// Amount which will be associated with this vendor
	Amount *float32 `json:"amount,omitempty"`
	// Percentage of order amount which shall get added to vendor account
	Percentage *float32 `json:"percentage,omitempty"`
}

CFVendorSplit struct for CFVendorSplit

func NewCFVendorSplit

func NewCFVendorSplit() *CFVendorSplit

NewCFVendorSplit instantiates a new CFVendorSplit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCFVendorSplitWithDefaults

func NewCFVendorSplitWithDefaults() *CFVendorSplit

NewCFVendorSplitWithDefaults instantiates a new CFVendorSplit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CFVendorSplit) GetAmount

func (o *CFVendorSplit) GetAmount() float32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*CFVendorSplit) GetAmountOk

func (o *CFVendorSplit) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFVendorSplit) GetPercentage

func (o *CFVendorSplit) GetPercentage() float32

GetPercentage returns the Percentage field value if set, zero value otherwise.

func (*CFVendorSplit) GetPercentageOk

func (o *CFVendorSplit) GetPercentageOk() (*float32, bool)

GetPercentageOk returns a tuple with the Percentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFVendorSplit) GetVendorId

func (o *CFVendorSplit) GetVendorId() string

GetVendorId returns the VendorId field value if set, zero value otherwise.

func (*CFVendorSplit) GetVendorIdOk

func (o *CFVendorSplit) GetVendorIdOk() (*string, bool)

GetVendorIdOk returns a tuple with the VendorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CFVendorSplit) HasAmount

func (o *CFVendorSplit) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*CFVendorSplit) HasPercentage

func (o *CFVendorSplit) HasPercentage() bool

HasPercentage returns a boolean if a field has been set.

func (*CFVendorSplit) HasVendorId

func (o *CFVendorSplit) HasVendorId() bool

HasVendorId returns a boolean if a field has been set.

func (CFVendorSplit) MarshalJSON

func (o CFVendorSplit) MarshalJSON() ([]byte, error)

func (*CFVendorSplit) SetAmount

func (o *CFVendorSplit) SetAmount(v float32)

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*CFVendorSplit) SetPercentage

func (o *CFVendorSplit) SetPercentage(v float32)

SetPercentage gets a reference to the given float32 and assigns it to the Percentage field.

func (*CFVendorSplit) SetVendorId

func (o *CFVendorSplit) SetVendorId(v string)

SetVendorId gets a reference to the given string and assigns it to the VendorId field.

type CardOffer added in v2.1.2

type CardOffer struct {
	Type []string `json:"type"`
	// Bank Name of Card.
	BankName   string   `json:"bank_name"`
	SchemeName []string `json:"scheme_name"`
	Bins       []int32  `json:"bins"`
}

CardOffer struct for CardOffer

func NewCardOffer added in v2.1.2

func NewCardOffer(type_ []string, bankName string, schemeName []string) *CardOffer

NewCardOffer instantiates a new CardOffer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCardOfferWithDefaults added in v2.1.2

func NewCardOfferWithDefaults() *CardOffer

NewCardOfferWithDefaults instantiates a new CardOffer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CardOffer) GetBankName added in v2.1.2

func (o *CardOffer) GetBankName() string

GetBankName returns the BankName field value

func (*CardOffer) GetBankNameOk added in v2.1.2

func (o *CardOffer) GetBankNameOk() (*string, bool)

GetBankNameOk returns a tuple with the BankName field value and a boolean to check if the value has been set.

func (*CardOffer) GetSchemeName added in v2.1.2

func (o *CardOffer) GetSchemeName() []string

GetSchemeName returns the SchemeName field value

func (*CardOffer) GetSchemeNameOk added in v2.1.2

func (o *CardOffer) GetSchemeNameOk() ([]string, bool)

GetSchemeNameOk returns a tuple with the SchemeName field value and a boolean to check if the value has been set.

func (*CardOffer) GetType added in v2.1.2

func (o *CardOffer) GetType() []string

GetType returns the Type field value

func (*CardOffer) GetTypeOk added in v2.1.2

func (o *CardOffer) GetTypeOk() ([]string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (CardOffer) MarshalJSON added in v2.1.2

func (o CardOffer) MarshalJSON() ([]byte, error)

func (*CardOffer) SetBankName added in v2.1.2

func (o *CardOffer) SetBankName(v string)

SetBankName sets field value

func (*CardOffer) SetSchemeName added in v2.1.2

func (o *CardOffer) SetSchemeName(v []string)

SetSchemeName sets field value

func (*CardOffer) SetType added in v2.1.2

func (o *CardOffer) SetType(v []string)

SetType sets field value

func (CardOffer) ToMap added in v2.1.2

func (o CardOffer) ToMap() (map[string]interface{}, error)

type CardlessEMIEntity added in v2.1.2

type CardlessEMIEntity struct {
	PaymentMethod *string         `json:"payment_method,omitempty"`
	EmiPlans      []EMIPlansArray `json:"emi_plans,omitempty"`
}

CardlessEMIEntity struct for CardlessEMIEntity

func NewCardlessEMIEntity added in v2.1.2

func NewCardlessEMIEntity() *CardlessEMIEntity

NewCardlessEMIEntity instantiates a new CardlessEMIEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCardlessEMIEntityWithDefaults added in v2.1.2

func NewCardlessEMIEntityWithDefaults() *CardlessEMIEntity

NewCardlessEMIEntityWithDefaults instantiates a new CardlessEMIEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CardlessEMIEntity) GetEmiPlans added in v2.1.2

func (o *CardlessEMIEntity) GetEmiPlans() []EMIPlansArray

GetEmiPlans returns the EmiPlans field value if set, zero value otherwise.

func (*CardlessEMIEntity) GetEmiPlansOk added in v2.1.2

func (o *CardlessEMIEntity) GetEmiPlansOk() ([]EMIPlansArray, bool)

GetEmiPlansOk returns a tuple with the EmiPlans field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardlessEMIEntity) GetPaymentMethod added in v2.1.2

func (o *CardlessEMIEntity) GetPaymentMethod() string

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*CardlessEMIEntity) GetPaymentMethodOk added in v2.1.2

func (o *CardlessEMIEntity) GetPaymentMethodOk() (*string, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardlessEMIEntity) HasEmiPlans added in v2.1.2

func (o *CardlessEMIEntity) HasEmiPlans() bool

HasEmiPlans returns a boolean if a field has been set.

func (*CardlessEMIEntity) HasPaymentMethod added in v2.1.2

func (o *CardlessEMIEntity) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (CardlessEMIEntity) MarshalJSON added in v2.1.2

func (o CardlessEMIEntity) MarshalJSON() ([]byte, error)

func (*CardlessEMIEntity) SetEmiPlans added in v2.1.2

func (o *CardlessEMIEntity) SetEmiPlans(v []EMIPlansArray)

SetEmiPlans gets a reference to the given []EMIPlansArray and assigns it to the EmiPlans field.

func (*CardlessEMIEntity) SetPaymentMethod added in v2.1.2

func (o *CardlessEMIEntity) SetPaymentMethod(v string)

SetPaymentMethod gets a reference to the given string and assigns it to the PaymentMethod field.

func (CardlessEMIEntity) ToMap added in v2.1.2

func (o CardlessEMIEntity) ToMap() (map[string]interface{}, error)

type CardlessEMIQueries added in v2.1.2

type CardlessEMIQueries struct {
	// OrderId of the order. Either of `order_id` or `amount` is mandatory.
	OrderId *float64 `json:"order_id,omitempty"`
	// Amount of the order. OrderId of the order. Either of `order_id` or `amount` is mandatory.
	Amount          *float32                    `json:"amount,omitempty"`
	CustomerDetails *CustomerDetailsCardlessEMI `json:"customer_details,omitempty"`
}

CardlessEMIQueries struct for CardlessEMIQueries

func NewCardlessEMIQueries added in v2.1.2

func NewCardlessEMIQueries() *CardlessEMIQueries

NewCardlessEMIQueries instantiates a new CardlessEMIQueries object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCardlessEMIQueriesWithDefaults added in v2.1.2

func NewCardlessEMIQueriesWithDefaults() *CardlessEMIQueries

NewCardlessEMIQueriesWithDefaults instantiates a new CardlessEMIQueries object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CardlessEMIQueries) GetAmount added in v2.1.2

func (o *CardlessEMIQueries) GetAmount() float32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*CardlessEMIQueries) GetAmountOk added in v2.1.2

func (o *CardlessEMIQueries) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardlessEMIQueries) GetCustomerDetails added in v2.1.2

func (o *CardlessEMIQueries) GetCustomerDetails() CustomerDetailsCardlessEMI

GetCustomerDetails returns the CustomerDetails field value if set, zero value otherwise.

func (*CardlessEMIQueries) GetCustomerDetailsOk added in v2.1.2

func (o *CardlessEMIQueries) GetCustomerDetailsOk() (*CustomerDetailsCardlessEMI, bool)

GetCustomerDetailsOk returns a tuple with the CustomerDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardlessEMIQueries) GetOrderId added in v2.1.2

func (o *CardlessEMIQueries) GetOrderId() float64

GetOrderId returns the OrderId field value if set, zero value otherwise.

func (*CardlessEMIQueries) GetOrderIdOk added in v2.1.2

func (o *CardlessEMIQueries) GetOrderIdOk() (*float64, bool)

GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardlessEMIQueries) HasAmount added in v2.1.2

func (o *CardlessEMIQueries) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*CardlessEMIQueries) HasCustomerDetails added in v2.1.2

func (o *CardlessEMIQueries) HasCustomerDetails() bool

HasCustomerDetails returns a boolean if a field has been set.

func (*CardlessEMIQueries) HasOrderId added in v2.1.2

func (o *CardlessEMIQueries) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (CardlessEMIQueries) MarshalJSON added in v2.1.2

func (o CardlessEMIQueries) MarshalJSON() ([]byte, error)

func (*CardlessEMIQueries) SetAmount added in v2.1.2

func (o *CardlessEMIQueries) SetAmount(v float32)

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*CardlessEMIQueries) SetCustomerDetails added in v2.1.2

func (o *CardlessEMIQueries) SetCustomerDetails(v CustomerDetailsCardlessEMI)

SetCustomerDetails gets a reference to the given CustomerDetailsCardlessEMI and assigns it to the CustomerDetails field.

func (*CardlessEMIQueries) SetOrderId added in v2.1.2

func (o *CardlessEMIQueries) SetOrderId(v float64)

SetOrderId gets a reference to the given float64 and assigns it to the OrderId field.

func (CardlessEMIQueries) ToMap added in v2.1.2

func (o CardlessEMIQueries) ToMap() (map[string]interface{}, error)

type CashbackDetails added in v2.1.2

type CashbackDetails struct {
	// Type of discount
	CashbackType string `json:"cashback_type,omitempty"`
	// Value of Discount.
	CashbackValue float32 `json:"cashback_value,omitempty"`
	// Maximum Value of Cashback allowed.
	MaxCashbackAmount float32 `json:"max_cashback_amount"`
}

CashbackDetails struct for CashbackDetails

func NewCashbackDetails added in v2.1.2

func NewCashbackDetails(maxCashbackAmount float32) *CashbackDetails

NewCashbackDetails instantiates a new CashbackDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCashbackDetailsWithDefaults added in v2.1.2

func NewCashbackDetailsWithDefaults() *CashbackDetails

NewCashbackDetailsWithDefaults instantiates a new CashbackDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CashbackDetails) GetCashbackType added in v2.1.2

func (o *CashbackDetails) GetCashbackType() string

GetCashbackType returns the CashbackType field value if set, zero value otherwise.

func (*CashbackDetails) GetCashbackTypeOk added in v2.1.2

func (o *CashbackDetails) GetCashbackTypeOk() (string, bool)

GetCashbackTypeOk returns a tuple with the CashbackType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CashbackDetails) GetCashbackValue added in v2.1.2

func (o *CashbackDetails) GetCashbackValue() float32

GetCashbackValue returns the CashbackValue field value if set, zero value otherwise.

func (*CashbackDetails) GetCashbackValueOk added in v2.1.2

func (o *CashbackDetails) GetCashbackValueOk() (float32, bool)

GetCashbackValueOk returns a tuple with the CashbackValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CashbackDetails) GetMaxCashbackAmount added in v2.1.2

func (o *CashbackDetails) GetMaxCashbackAmount() float32

GetMaxCashbackAmount returns the MaxCashbackAmount field value

func (*CashbackDetails) GetMaxCashbackAmountOk added in v2.1.2

func (o *CashbackDetails) GetMaxCashbackAmountOk() (float32, bool)

GetMaxCashbackAmountOk returns a tuple with the MaxCashbackAmount field value and a boolean to check if the value has been set.

func (*CashbackDetails) HasCashbackType added in v2.1.2

func (o *CashbackDetails) HasCashbackType() bool

HasCashbackType returns a boolean if a field has been set.

func (*CashbackDetails) HasCashbackValue added in v2.1.2

func (o *CashbackDetails) HasCashbackValue() bool

HasCashbackValue returns a boolean if a field has been set.

func (CashbackDetails) MarshalJSON added in v2.1.2

func (o CashbackDetails) MarshalJSON() ([]byte, error)

func (*CashbackDetails) SetCashbackType added in v2.1.2

func (o *CashbackDetails) SetCashbackType(v string)

SetCashbackType gets a reference to the given string and assigns it to the CashbackType field.

func (*CashbackDetails) SetCashbackValue added in v2.1.2

func (o *CashbackDetails) SetCashbackValue(v float32)

SetCashbackValue gets a reference to the given string and assigns it to the CashbackValue field.

func (*CashbackDetails) SetMaxCashbackAmount added in v2.1.2

func (o *CashbackDetails) SetMaxCashbackAmount(v float32)

SetMaxCashbackAmount sets field value

func (CashbackDetails) ToMap added in v2.1.2

func (o CashbackDetails) ToMap() (map[string]interface{}, error)

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func NewConfigurationWithTimeoutAndProxy

func NewConfigurationWithTimeoutAndProxy(timeout *time.Duration, proxy *string) *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CustomerDetailsCardlessEMI added in v2.1.2

type CustomerDetailsCardlessEMI struct {
	// Phone Number of the customer
	CustomerPhone string `json:"customer_phone"`
}

CustomerDetailsCardlessEMI Details of the customer for whom eligibility is being checked.

func NewCustomerDetailsCardlessEMI added in v2.1.2

func NewCustomerDetailsCardlessEMI(customerPhone string) *CustomerDetailsCardlessEMI

NewCustomerDetailsCardlessEMI instantiates a new CustomerDetailsCardlessEMI object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerDetailsCardlessEMIWithDefaults added in v2.1.2

func NewCustomerDetailsCardlessEMIWithDefaults() *CustomerDetailsCardlessEMI

NewCustomerDetailsCardlessEMIWithDefaults instantiates a new CustomerDetailsCardlessEMI object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerDetailsCardlessEMI) GetCustomerPhone added in v2.1.2

func (o *CustomerDetailsCardlessEMI) GetCustomerPhone() string

GetCustomerPhone returns the CustomerPhone field value

func (*CustomerDetailsCardlessEMI) GetCustomerPhoneOk added in v2.1.2

func (o *CustomerDetailsCardlessEMI) GetCustomerPhoneOk() (*string, bool)

GetCustomerPhoneOk returns a tuple with the CustomerPhone field value and a boolean to check if the value has been set.

func (CustomerDetailsCardlessEMI) MarshalJSON added in v2.1.2

func (o CustomerDetailsCardlessEMI) MarshalJSON() ([]byte, error)

func (*CustomerDetailsCardlessEMI) SetCustomerPhone added in v2.1.2

func (o *CustomerDetailsCardlessEMI) SetCustomerPhone(v string)

SetCustomerPhone sets field value

func (CustomerDetailsCardlessEMI) ToMap added in v2.1.2

func (o CustomerDetailsCardlessEMI) ToMap() (map[string]interface{}, error)

type DiscountDetails added in v2.1.2

type DiscountDetails struct {
	// Type of discount
	DiscountType string `json:"discount_type"`
	// Value of Discount.
	DiscountValue float32 `json:"discount_value"`
	// Maximum Value of Discount allowed.
	MaxDiscountAmount float32 `json:"max_discount_amount"`
}

DiscountDetails struct for DiscountDetails

func NewDiscountDetails added in v2.1.2

func NewDiscountDetails(discountType string, discountValue float32, maxDiscountAmount float32) *DiscountDetails

NewDiscountDetails instantiates a new DiscountDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDiscountDetailsWithDefaults added in v2.1.2

func NewDiscountDetailsWithDefaults() *DiscountDetails

NewDiscountDetailsWithDefaults instantiates a new DiscountDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DiscountDetails) GetDiscountType added in v2.1.2

func (o *DiscountDetails) GetDiscountType() string

GetDiscountType returns the DiscountType field value

func (*DiscountDetails) GetDiscountTypeOk added in v2.1.2

func (o *DiscountDetails) GetDiscountTypeOk() (*string, bool)

GetDiscountTypeOk returns a tuple with the DiscountType field value and a boolean to check if the value has been set.

func (*DiscountDetails) GetDiscountValue added in v2.1.2

func (o *DiscountDetails) GetDiscountValue() float32

GetDiscountValue returns the DiscountValue field value

func (*DiscountDetails) GetDiscountValueOk added in v2.1.2

func (o *DiscountDetails) GetDiscountValueOk() (*float32, bool)

GetDiscountValueOk returns a tuple with the DiscountValue field value and a boolean to check if the value has been set.

func (*DiscountDetails) GetMaxDiscountAmount added in v2.1.2

func (o *DiscountDetails) GetMaxDiscountAmount() float32

GetMaxDiscountAmount returns the MaxDiscountAmount field value

func (*DiscountDetails) GetMaxDiscountAmountOk added in v2.1.2

func (o *DiscountDetails) GetMaxDiscountAmountOk() (*float32, bool)

GetMaxDiscountAmountOk returns a tuple with the MaxDiscountAmount field value and a boolean to check if the value has been set.

func (DiscountDetails) MarshalJSON added in v2.1.2

func (o DiscountDetails) MarshalJSON() ([]byte, error)

func (*DiscountDetails) SetDiscountType added in v2.1.2

func (o *DiscountDetails) SetDiscountType(v string)

SetDiscountType sets field value

func (*DiscountDetails) SetDiscountValue added in v2.1.2

func (o *DiscountDetails) SetDiscountValue(v float32)

SetDiscountValue sets field value

func (*DiscountDetails) SetMaxDiscountAmount added in v2.1.2

func (o *DiscountDetails) SetMaxDiscountAmount(v float32)

SetMaxDiscountAmount sets field value

func (DiscountDetails) ToMap added in v2.1.2

func (o DiscountDetails) ToMap() (map[string]interface{}, error)

type EMIOffer added in v2.1.2

type EMIOffer struct {
	// Type of emi offer. Possible values are `credit_card_emi`, `debit_card_emi`, `cardless_emi`
	Type string `json:"type"`
	// Bank Name
	BankName string  `json:"issuer"`
	Tenures  []int32 `json:"tenures,omitempty"`
}

EMIOffer struct for EMIOffer

func NewEMIOffer added in v2.1.2

func NewEMIOffer(type_ string, bankName string) *EMIOffer

NewEMIOffer instantiates a new EMIOffer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEMIOfferWithDefaults added in v2.1.2

func NewEMIOfferWithDefaults() *EMIOffer

NewEMIOfferWithDefaults instantiates a new EMIOffer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EMIOffer) GetBankName added in v2.1.2

func (o *EMIOffer) GetBankName() string

GetBankName returns the BankName field value

func (*EMIOffer) GetBankNameOk added in v2.1.2

func (o *EMIOffer) GetBankNameOk() (*string, bool)

GetBankNameOk returns a tuple with the BankName field value and a boolean to check if the value has been set.

func (*EMIOffer) GetTenures added in v2.1.2

func (o *EMIOffer) GetTenures() []int32

GetTenures returns the Tenures field value if set, zero value otherwise.

func (*EMIOffer) GetTenuresOk added in v2.1.2

func (o *EMIOffer) GetTenuresOk() ([]int32, bool)

GetTenuresOk returns a tuple with the Tenures field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EMIOffer) GetType added in v2.1.2

func (o *EMIOffer) GetType() string

GetType returns the Type field value

func (*EMIOffer) GetTypeOk added in v2.1.2

func (o *EMIOffer) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*EMIOffer) HasTenures added in v2.1.2

func (o *EMIOffer) HasTenures() bool

HasTenures returns a boolean if a field has been set.

func (EMIOffer) MarshalJSON added in v2.1.2

func (o EMIOffer) MarshalJSON() ([]byte, error)

func (*EMIOffer) SetBankName added in v2.1.2

func (o *EMIOffer) SetBankName(v string)

SetBankName sets field value

func (*EMIOffer) SetTenures added in v2.1.2

func (o *EMIOffer) SetTenures(v []int32)

SetTenures gets a reference to the given []int32 and assigns it to the Tenures field.

func (*EMIOffer) SetType added in v2.1.2

func (o *EMIOffer) SetType(v string)

SetType sets field value

func (EMIOffer) ToMap added in v2.1.2

func (o EMIOffer) ToMap() (map[string]interface{}, error)

type EMIPlansArray added in v2.1.2

type EMIPlansArray struct {
	Tenure        *int32  `json:"tenure,omitempty"`
	InterestRate  *int32  `json:"interest_rate,omitempty"`
	Currency      *string `json:"currency,omitempty"`
	Emi           *int32  `json:"emi,omitempty"`
	TotalInterest *int32  `json:"total_interest,omitempty"`
	TotalAmount   *int32  `json:"total_amount,omitempty"`
}

EMIPlansArray struct for EMIPlansArray

func NewEMIPlansArray added in v2.1.2

func NewEMIPlansArray() *EMIPlansArray

NewEMIPlansArray instantiates a new EMIPlansArray object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEMIPlansArrayWithDefaults added in v2.1.2

func NewEMIPlansArrayWithDefaults() *EMIPlansArray

NewEMIPlansArrayWithDefaults instantiates a new EMIPlansArray object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EMIPlansArray) GetCurrency added in v2.1.2

func (o *EMIPlansArray) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*EMIPlansArray) GetCurrencyOk added in v2.1.2

func (o *EMIPlansArray) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EMIPlansArray) GetEmi added in v2.1.2

func (o *EMIPlansArray) GetEmi() int32

GetEmi returns the Emi field value if set, zero value otherwise.

func (*EMIPlansArray) GetEmiOk added in v2.1.2

func (o *EMIPlansArray) GetEmiOk() (*int32, bool)

GetEmiOk returns a tuple with the Emi field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EMIPlansArray) GetInterestRate added in v2.1.2

func (o *EMIPlansArray) GetInterestRate() int32

GetInterestRate returns the InterestRate field value if set, zero value otherwise.

func (*EMIPlansArray) GetInterestRateOk added in v2.1.2

func (o *EMIPlansArray) GetInterestRateOk() (*int32, bool)

GetInterestRateOk returns a tuple with the InterestRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EMIPlansArray) GetTenure added in v2.1.2

func (o *EMIPlansArray) GetTenure() int32

GetTenure returns the Tenure field value if set, zero value otherwise.

func (*EMIPlansArray) GetTenureOk added in v2.1.2

func (o *EMIPlansArray) GetTenureOk() (*int32, bool)

GetTenureOk returns a tuple with the Tenure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EMIPlansArray) GetTotalAmount added in v2.1.2

func (o *EMIPlansArray) GetTotalAmount() int32

GetTotalAmount returns the TotalAmount field value if set, zero value otherwise.

func (*EMIPlansArray) GetTotalAmountOk added in v2.1.2

func (o *EMIPlansArray) GetTotalAmountOk() (*int32, bool)

GetTotalAmountOk returns a tuple with the TotalAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EMIPlansArray) GetTotalInterest added in v2.1.2

func (o *EMIPlansArray) GetTotalInterest() int32

GetTotalInterest returns the TotalInterest field value if set, zero value otherwise.

func (*EMIPlansArray) GetTotalInterestOk added in v2.1.2

func (o *EMIPlansArray) GetTotalInterestOk() (*int32, bool)

GetTotalInterestOk returns a tuple with the TotalInterest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EMIPlansArray) HasCurrency added in v2.1.2

func (o *EMIPlansArray) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*EMIPlansArray) HasEmi added in v2.1.2

func (o *EMIPlansArray) HasEmi() bool

HasEmi returns a boolean if a field has been set.

func (*EMIPlansArray) HasInterestRate added in v2.1.2

func (o *EMIPlansArray) HasInterestRate() bool

HasInterestRate returns a boolean if a field has been set.

func (*EMIPlansArray) HasTenure added in v2.1.2

func (o *EMIPlansArray) HasTenure() bool

HasTenure returns a boolean if a field has been set.

func (*EMIPlansArray) HasTotalAmount added in v2.1.2

func (o *EMIPlansArray) HasTotalAmount() bool

HasTotalAmount returns a boolean if a field has been set.

func (*EMIPlansArray) HasTotalInterest added in v2.1.2

func (o *EMIPlansArray) HasTotalInterest() bool

HasTotalInterest returns a boolean if a field has been set.

func (EMIPlansArray) MarshalJSON added in v2.1.2

func (o EMIPlansArray) MarshalJSON() ([]byte, error)

func (*EMIPlansArray) SetCurrency added in v2.1.2

func (o *EMIPlansArray) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*EMIPlansArray) SetEmi added in v2.1.2

func (o *EMIPlansArray) SetEmi(v int32)

SetEmi gets a reference to the given int32 and assigns it to the Emi field.

func (*EMIPlansArray) SetInterestRate added in v2.1.2

func (o *EMIPlansArray) SetInterestRate(v int32)

SetInterestRate gets a reference to the given int32 and assigns it to the InterestRate field.

func (*EMIPlansArray) SetTenure added in v2.1.2

func (o *EMIPlansArray) SetTenure(v int32)

SetTenure gets a reference to the given int32 and assigns it to the Tenure field.

func (*EMIPlansArray) SetTotalAmount added in v2.1.2

func (o *EMIPlansArray) SetTotalAmount(v int32)

SetTotalAmount gets a reference to the given int32 and assigns it to the TotalAmount field.

func (*EMIPlansArray) SetTotalInterest added in v2.1.2

func (o *EMIPlansArray) SetTotalInterest(v int32)

SetTotalInterest gets a reference to the given int32 and assigns it to the TotalInterest field.

func (EMIPlansArray) ToMap added in v2.1.2

func (o EMIPlansArray) ToMap() (map[string]interface{}, error)

type EligibilityAPIsApiService added in v2.1.2

type EligibilityAPIsApiService service

EligibilityAPIsApiService EligibilityAPIsApi service

func (*EligibilityAPIsApiService) EligibilityCardlessEMI added in v2.1.2

EligibilityCardlessEMI Get eligible Cardless EMI

Use this API to get eligible Cardless EMI Payment Methods for a customer on an order.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiEligibilityCardlessEMIRequest

func (*EligibilityAPIsApiService) EligibilityCardlessEMIExecute added in v2.1.2

Execute executes the request

@return []EligibleCardlessEMIEntity

func (*EligibilityAPIsApiService) EligibilityOffer added in v2.1.2

EligibilityOffer Get eligible Offers

Use this API to get eligible offers for an order or amount.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiEligibilityOfferRequest

func (*EligibilityAPIsApiService) EligibilityOfferExecute added in v2.1.2

Execute executes the request

@return []EligibleOffersEntity

type EligibilityCardlessEMIRequest added in v2.1.2

type EligibilityCardlessEMIRequest struct {
	Queries CardlessEMIQueries `json:"queries"`
}

EligibilityCardlessEMIRequest struct for EligibilityCardlessEMIRequest

func NewEligibilityCardlessEMIRequest added in v2.1.2

func NewEligibilityCardlessEMIRequest(queries CardlessEMIQueries) *EligibilityCardlessEMIRequest

NewEligibilityCardlessEMIRequest instantiates a new EligibilityCardlessEMIRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEligibilityCardlessEMIRequestWithDefaults added in v2.1.2

func NewEligibilityCardlessEMIRequestWithDefaults() *EligibilityCardlessEMIRequest

NewEligibilityCardlessEMIRequestWithDefaults instantiates a new EligibilityCardlessEMIRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EligibilityCardlessEMIRequest) GetQueries added in v2.1.2

GetQueries returns the Queries field value

func (*EligibilityCardlessEMIRequest) GetQueriesOk added in v2.1.2

GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.

func (EligibilityCardlessEMIRequest) MarshalJSON added in v2.1.2

func (o EligibilityCardlessEMIRequest) MarshalJSON() ([]byte, error)

func (*EligibilityCardlessEMIRequest) SetQueries added in v2.1.2

SetQueries sets field value

func (EligibilityCardlessEMIRequest) ToMap added in v2.1.2

func (o EligibilityCardlessEMIRequest) ToMap() (map[string]interface{}, error)

type EligibleCardlessEMIEntity added in v2.1.2

type EligibleCardlessEMIEntity struct {
	Eligibility   *string            `json:"eligibility,omitempty"`
	EntityType    *string            `json:"entity_type,omitempty"`
	EntityValue   *string            `json:"entity_value,omitempty"`
	EntityDetails *CardlessEMIEntity `json:"entity_details,omitempty"`
}

EligibleCardlessEMIEntity struct for EligibleCardlessEMIEntity

func NewEligibleCardlessEMIEntity added in v2.1.2

func NewEligibleCardlessEMIEntity() *EligibleCardlessEMIEntity

NewEligibleCardlessEMIEntity instantiates a new EligibleCardlessEMIEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEligibleCardlessEMIEntityWithDefaults added in v2.1.2

func NewEligibleCardlessEMIEntityWithDefaults() *EligibleCardlessEMIEntity

NewEligibleCardlessEMIEntityWithDefaults instantiates a new EligibleCardlessEMIEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EligibleCardlessEMIEntity) GetEligibility added in v2.1.2

func (o *EligibleCardlessEMIEntity) GetEligibility() string

GetEligibility returns the Eligibility field value if set, zero value otherwise.

func (*EligibleCardlessEMIEntity) GetEligibilityOk added in v2.1.2

func (o *EligibleCardlessEMIEntity) GetEligibilityOk() (*string, bool)

GetEligibilityOk returns a tuple with the Eligibility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EligibleCardlessEMIEntity) GetEntityDetails added in v2.1.2

func (o *EligibleCardlessEMIEntity) GetEntityDetails() CardlessEMIEntity

GetEntityDetails returns the EntityDetails field value if set, zero value otherwise.

func (*EligibleCardlessEMIEntity) GetEntityDetailsOk added in v2.1.2

func (o *EligibleCardlessEMIEntity) GetEntityDetailsOk() (*CardlessEMIEntity, bool)

GetEntityDetailsOk returns a tuple with the EntityDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EligibleCardlessEMIEntity) GetEntityType added in v2.1.2

func (o *EligibleCardlessEMIEntity) GetEntityType() string

GetEntityType returns the EntityType field value if set, zero value otherwise.

func (*EligibleCardlessEMIEntity) GetEntityTypeOk added in v2.1.2

func (o *EligibleCardlessEMIEntity) GetEntityTypeOk() (*string, bool)

GetEntityTypeOk returns a tuple with the EntityType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EligibleCardlessEMIEntity) GetEntityValue added in v2.1.2

func (o *EligibleCardlessEMIEntity) GetEntityValue() string

GetEntityValue returns the EntityValue field value if set, zero value otherwise.

func (*EligibleCardlessEMIEntity) GetEntityValueOk added in v2.1.2

func (o *EligibleCardlessEMIEntity) GetEntityValueOk() (*string, bool)

GetEntityValueOk returns a tuple with the EntityValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EligibleCardlessEMIEntity) HasEligibility added in v2.1.2

func (o *EligibleCardlessEMIEntity) HasEligibility() bool

HasEligibility returns a boolean if a field has been set.

func (*EligibleCardlessEMIEntity) HasEntityDetails added in v2.1.2

func (o *EligibleCardlessEMIEntity) HasEntityDetails() bool

HasEntityDetails returns a boolean if a field has been set.

func (*EligibleCardlessEMIEntity) HasEntityType added in v2.1.2

func (o *EligibleCardlessEMIEntity) HasEntityType() bool

HasEntityType returns a boolean if a field has been set.

func (*EligibleCardlessEMIEntity) HasEntityValue added in v2.1.2

func (o *EligibleCardlessEMIEntity) HasEntityValue() bool

HasEntityValue returns a boolean if a field has been set.

func (EligibleCardlessEMIEntity) MarshalJSON added in v2.1.2

func (o EligibleCardlessEMIEntity) MarshalJSON() ([]byte, error)

func (*EligibleCardlessEMIEntity) SetEligibility added in v2.1.2

func (o *EligibleCardlessEMIEntity) SetEligibility(v string)

SetEligibility gets a reference to the given string and assigns it to the Eligibility field.

func (*EligibleCardlessEMIEntity) SetEntityDetails added in v2.1.2

func (o *EligibleCardlessEMIEntity) SetEntityDetails(v CardlessEMIEntity)

SetEntityDetails gets a reference to the given CardlessEMIEntity and assigns it to the EntityDetails field.

func (*EligibleCardlessEMIEntity) SetEntityType added in v2.1.2

func (o *EligibleCardlessEMIEntity) SetEntityType(v string)

SetEntityType gets a reference to the given string and assigns it to the EntityType field.

func (*EligibleCardlessEMIEntity) SetEntityValue added in v2.1.2

func (o *EligibleCardlessEMIEntity) SetEntityValue(v string)

SetEntityValue gets a reference to the given string and assigns it to the EntityValue field.

func (EligibleCardlessEMIEntity) ToMap added in v2.1.2

func (o EligibleCardlessEMIEntity) ToMap() (map[string]interface{}, error)

type EligibleOffersEntity added in v2.1.2

type EligibleOffersEntity struct {
	Eligibility   *string        `json:"eligibility,omitempty"`
	EntityType    *string        `json:"entity_type,omitempty"`
	EntityValue   *string        `json:"entity_value,omitempty"`
	EntityDetails *CFOfferEntity `json:"entity_details,omitempty"`
}

EligibleOffersEntity struct for EligibleOffersEntity

func NewEligibleOffersEntity added in v2.1.2

func NewEligibleOffersEntity() *EligibleOffersEntity

NewEligibleOffersEntity instantiates a new EligibleOffersEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEligibleOffersEntityWithDefaults added in v2.1.2

func NewEligibleOffersEntityWithDefaults() *EligibleOffersEntity

NewEligibleOffersEntityWithDefaults instantiates a new EligibleOffersEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EligibleOffersEntity) GetEligibility added in v2.1.2

func (o *EligibleOffersEntity) GetEligibility() string

GetEligibility returns the Eligibility field value if set, zero value otherwise.

func (*EligibleOffersEntity) GetEligibilityOk added in v2.1.2

func (o *EligibleOffersEntity) GetEligibilityOk() (*string, bool)

GetEligibilityOk returns a tuple with the Eligibility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EligibleOffersEntity) GetEntityDetails added in v2.1.2

func (o *EligibleOffersEntity) GetEntityDetails() CFOfferEntity

GetEntityDetails returns the EntityDetails field value if set, zero value otherwise.

func (*EligibleOffersEntity) GetEntityDetailsOk added in v2.1.2

func (o *EligibleOffersEntity) GetEntityDetailsOk() (*CFOfferEntity, bool)

GetEntityDetailsOk returns a tuple with the EntityDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EligibleOffersEntity) GetEntityType added in v2.1.2

func (o *EligibleOffersEntity) GetEntityType() string

GetEntityType returns the EntityType field value if set, zero value otherwise.

func (*EligibleOffersEntity) GetEntityTypeOk added in v2.1.2

func (o *EligibleOffersEntity) GetEntityTypeOk() (*string, bool)

GetEntityTypeOk returns a tuple with the EntityType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EligibleOffersEntity) GetEntityValue added in v2.1.2

func (o *EligibleOffersEntity) GetEntityValue() string

GetEntityValue returns the EntityValue field value if set, zero value otherwise.

func (*EligibleOffersEntity) GetEntityValueOk added in v2.1.2

func (o *EligibleOffersEntity) GetEntityValueOk() (*string, bool)

GetEntityValueOk returns a tuple with the EntityValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EligibleOffersEntity) HasEligibility added in v2.1.2

func (o *EligibleOffersEntity) HasEligibility() bool

HasEligibility returns a boolean if a field has been set.

func (*EligibleOffersEntity) HasEntityDetails added in v2.1.2

func (o *EligibleOffersEntity) HasEntityDetails() bool

HasEntityDetails returns a boolean if a field has been set.

func (*EligibleOffersEntity) HasEntityType added in v2.1.2

func (o *EligibleOffersEntity) HasEntityType() bool

HasEntityType returns a boolean if a field has been set.

func (*EligibleOffersEntity) HasEntityValue added in v2.1.2

func (o *EligibleOffersEntity) HasEntityValue() bool

HasEntityValue returns a boolean if a field has been set.

func (EligibleOffersEntity) MarshalJSON added in v2.1.2

func (o EligibleOffersEntity) MarshalJSON() ([]byte, error)

func (*EligibleOffersEntity) SetEligibility added in v2.1.2

func (o *EligibleOffersEntity) SetEligibility(v string)

SetEligibility gets a reference to the given string and assigns it to the Eligibility field.

func (*EligibleOffersEntity) SetEntityDetails added in v2.1.2

func (o *EligibleOffersEntity) SetEntityDetails(v CFOfferEntity)

SetEntityDetails gets a reference to the given OfferEntity and assigns it to the EntityDetails field.

func (*EligibleOffersEntity) SetEntityType added in v2.1.2

func (o *EligibleOffersEntity) SetEntityType(v string)

SetEntityType gets a reference to the given string and assigns it to the EntityType field.

func (*EligibleOffersEntity) SetEntityValue added in v2.1.2

func (o *EligibleOffersEntity) SetEntityValue(v string)

SetEntityValue gets a reference to the given string and assigns it to the EntityValue field.

func (EligibleOffersEntity) ToMap added in v2.1.2

func (o EligibleOffersEntity) ToMap() (map[string]interface{}, error)

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type MappedNullable added in v2.1.2

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NBOffer added in v2.1.2

type NBOffer struct {
	BankName string `json:"bank_name"`
}

NBOffer struct for NBOffer

func NewNBOffer added in v2.1.2

func NewNBOffer(bankName string) *NBOffer

NewNBOffer instantiates a new NBOffer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNBOfferWithDefaults added in v2.1.2

func NewNBOfferWithDefaults() *NBOffer

NewNBOfferWithDefaults instantiates a new NBOffer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NBOffer) GetBankName added in v2.1.2

func (o *NBOffer) GetBankName() string

GetBankName returns the BankName field value

func (*NBOffer) GetBankNameOk added in v2.1.2

func (o *NBOffer) GetBankNameOk() (*string, bool)

GetBankNameOk returns a tuple with the BankName field value and a boolean to check if the value has been set.

func (NBOffer) MarshalJSON added in v2.1.2

func (o NBOffer) MarshalJSON() ([]byte, error)

func (*NBOffer) SetBankName added in v2.1.2

func (o *NBOffer) SetBankName(v string)

SetBankName sets field value

func (NBOffer) ToMap added in v2.1.2

func (o NBOffer) ToMap() (map[string]interface{}, error)

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCFApp

type NullableCFApp struct {
	// contains filtered or unexported fields
}

func NewNullableCFApp

func NewNullableCFApp(val *CFApp) *NullableCFApp

func (NullableCFApp) Get

func (v NullableCFApp) Get() *CFApp

func (NullableCFApp) IsSet

func (v NullableCFApp) IsSet() bool

func (NullableCFApp) MarshalJSON

func (v NullableCFApp) MarshalJSON() ([]byte, error)

func (*NullableCFApp) Set

func (v *NullableCFApp) Set(val *CFApp)

func (*NullableCFApp) UnmarshalJSON

func (v *NullableCFApp) UnmarshalJSON(src []byte) error

func (*NullableCFApp) Unset

func (v *NullableCFApp) Unset()

type NullableCFAppPayment

type NullableCFAppPayment struct {
	// contains filtered or unexported fields
}

func NewNullableCFAppPayment

func NewNullableCFAppPayment(val *CFAppPayment) *NullableCFAppPayment

func (NullableCFAppPayment) Get

func (NullableCFAppPayment) IsSet

func (v NullableCFAppPayment) IsSet() bool

func (NullableCFAppPayment) MarshalJSON

func (v NullableCFAppPayment) MarshalJSON() ([]byte, error)

func (*NullableCFAppPayment) Set

func (v *NullableCFAppPayment) Set(val *CFAppPayment)

func (*NullableCFAppPayment) UnmarshalJSON

func (v *NullableCFAppPayment) UnmarshalJSON(src []byte) error

func (*NullableCFAppPayment) Unset

func (v *NullableCFAppPayment) Unset()

type NullableCFAuthorizationInPaymentsEntity

type NullableCFAuthorizationInPaymentsEntity struct {
	// contains filtered or unexported fields
}

func (NullableCFAuthorizationInPaymentsEntity) Get

func (NullableCFAuthorizationInPaymentsEntity) IsSet

func (NullableCFAuthorizationInPaymentsEntity) MarshalJSON

func (v NullableCFAuthorizationInPaymentsEntity) MarshalJSON() ([]byte, error)

func (*NullableCFAuthorizationInPaymentsEntity) Set

func (*NullableCFAuthorizationInPaymentsEntity) UnmarshalJSON

func (v *NullableCFAuthorizationInPaymentsEntity) UnmarshalJSON(src []byte) error

func (*NullableCFAuthorizationInPaymentsEntity) Unset

type NullableCFAuthorizationRequest

type NullableCFAuthorizationRequest struct {
	// contains filtered or unexported fields
}

func (NullableCFAuthorizationRequest) Get

func (NullableCFAuthorizationRequest) IsSet

func (NullableCFAuthorizationRequest) MarshalJSON

func (v NullableCFAuthorizationRequest) MarshalJSON() ([]byte, error)

func (*NullableCFAuthorizationRequest) Set

func (*NullableCFAuthorizationRequest) UnmarshalJSON

func (v *NullableCFAuthorizationRequest) UnmarshalJSON(src []byte) error

func (*NullableCFAuthorizationRequest) Unset

func (v *NullableCFAuthorizationRequest) Unset()

type NullableCFCard

type NullableCFCard struct {
	// contains filtered or unexported fields
}

func NewNullableCFCard

func NewNullableCFCard(val *CFCard) *NullableCFCard

func (NullableCFCard) Get

func (v NullableCFCard) Get() *CFCard

func (NullableCFCard) IsSet

func (v NullableCFCard) IsSet() bool

func (NullableCFCard) MarshalJSON

func (v NullableCFCard) MarshalJSON() ([]byte, error)

func (*NullableCFCard) Set

func (v *NullableCFCard) Set(val *CFCard)

func (*NullableCFCard) UnmarshalJSON

func (v *NullableCFCard) UnmarshalJSON(src []byte) error

func (*NullableCFCard) Unset

func (v *NullableCFCard) Unset()

type NullableCFCardEMI

type NullableCFCardEMI struct {
	// contains filtered or unexported fields
}

func NewNullableCFCardEMI

func NewNullableCFCardEMI(val *CFCardEMI) *NullableCFCardEMI

func (NullableCFCardEMI) Get

func (v NullableCFCardEMI) Get() *CFCardEMI

func (NullableCFCardEMI) IsSet

func (v NullableCFCardEMI) IsSet() bool

func (NullableCFCardEMI) MarshalJSON

func (v NullableCFCardEMI) MarshalJSON() ([]byte, error)

func (*NullableCFCardEMI) Set

func (v *NullableCFCardEMI) Set(val *CFCardEMI)

func (*NullableCFCardEMI) UnmarshalJSON

func (v *NullableCFCardEMI) UnmarshalJSON(src []byte) error

func (*NullableCFCardEMI) Unset

func (v *NullableCFCardEMI) Unset()

type NullableCFCardPayment

type NullableCFCardPayment struct {
	// contains filtered or unexported fields
}

func NewNullableCFCardPayment

func NewNullableCFCardPayment(val *CFCardPayment) *NullableCFCardPayment

func (NullableCFCardPayment) Get

func (NullableCFCardPayment) IsSet

func (v NullableCFCardPayment) IsSet() bool

func (NullableCFCardPayment) MarshalJSON

func (v NullableCFCardPayment) MarshalJSON() ([]byte, error)

func (*NullableCFCardPayment) Set

func (v *NullableCFCardPayment) Set(val *CFCardPayment)

func (*NullableCFCardPayment) UnmarshalJSON

func (v *NullableCFCardPayment) UnmarshalJSON(src []byte) error

func (*NullableCFCardPayment) Unset

func (v *NullableCFCardPayment) Unset()

type NullableCFCardlessEMI

type NullableCFCardlessEMI struct {
	// contains filtered or unexported fields
}

func NewNullableCFCardlessEMI

func NewNullableCFCardlessEMI(val *CFCardlessEMI) *NullableCFCardlessEMI

func (NullableCFCardlessEMI) Get

func (NullableCFCardlessEMI) IsSet

func (v NullableCFCardlessEMI) IsSet() bool

func (NullableCFCardlessEMI) MarshalJSON

func (v NullableCFCardlessEMI) MarshalJSON() ([]byte, error)

func (*NullableCFCardlessEMI) Set

func (v *NullableCFCardlessEMI) Set(val *CFCardlessEMI)

func (*NullableCFCardlessEMI) UnmarshalJSON

func (v *NullableCFCardlessEMI) UnmarshalJSON(src []byte) error

func (*NullableCFCardlessEMI) Unset

func (v *NullableCFCardlessEMI) Unset()

type NullableCFCardlessEMIPayment

type NullableCFCardlessEMIPayment struct {
	// contains filtered or unexported fields
}

func NewNullableCFCardlessEMIPayment

func NewNullableCFCardlessEMIPayment(val *CFCardlessEMIPayment) *NullableCFCardlessEMIPayment

func (NullableCFCardlessEMIPayment) Get

func (NullableCFCardlessEMIPayment) IsSet

func (NullableCFCardlessEMIPayment) MarshalJSON

func (v NullableCFCardlessEMIPayment) MarshalJSON() ([]byte, error)

func (*NullableCFCardlessEMIPayment) Set

func (*NullableCFCardlessEMIPayment) UnmarshalJSON

func (v *NullableCFCardlessEMIPayment) UnmarshalJSON(src []byte) error

func (*NullableCFCardlessEMIPayment) Unset

func (v *NullableCFCardlessEMIPayment) Unset()

type NullableCFCryptogram

type NullableCFCryptogram struct {
	// contains filtered or unexported fields
}

func NewNullableCFCryptogram

func NewNullableCFCryptogram(val *CFCryptogram) *NullableCFCryptogram

func (NullableCFCryptogram) Get

func (NullableCFCryptogram) IsSet

func (v NullableCFCryptogram) IsSet() bool

func (NullableCFCryptogram) MarshalJSON

func (v NullableCFCryptogram) MarshalJSON() ([]byte, error)

func (*NullableCFCryptogram) Set

func (v *NullableCFCryptogram) Set(val *CFCryptogram)

func (*NullableCFCryptogram) UnmarshalJSON

func (v *NullableCFCryptogram) UnmarshalJSON(src []byte) error

func (*NullableCFCryptogram) Unset

func (v *NullableCFCryptogram) Unset()

type NullableCFCustomerDetails

type NullableCFCustomerDetails struct {
	// contains filtered or unexported fields
}

func NewNullableCFCustomerDetails

func NewNullableCFCustomerDetails(val *CFCustomerDetails) *NullableCFCustomerDetails

func (NullableCFCustomerDetails) Get

func (NullableCFCustomerDetails) IsSet

func (v NullableCFCustomerDetails) IsSet() bool

func (NullableCFCustomerDetails) MarshalJSON

func (v NullableCFCustomerDetails) MarshalJSON() ([]byte, error)

func (*NullableCFCustomerDetails) Set

func (*NullableCFCustomerDetails) UnmarshalJSON

func (v *NullableCFCustomerDetails) UnmarshalJSON(src []byte) error

func (*NullableCFCustomerDetails) Unset

func (v *NullableCFCustomerDetails) Unset()

type NullableCFEMIPayment

type NullableCFEMIPayment struct {
	// contains filtered or unexported fields
}

func NewNullableCFEMIPayment

func NewNullableCFEMIPayment(val *CFEMIPayment) *NullableCFEMIPayment

func (NullableCFEMIPayment) Get

func (NullableCFEMIPayment) IsSet

func (v NullableCFEMIPayment) IsSet() bool

func (NullableCFEMIPayment) MarshalJSON

func (v NullableCFEMIPayment) MarshalJSON() ([]byte, error)

func (*NullableCFEMIPayment) Set

func (v *NullableCFEMIPayment) Set(val *CFEMIPayment)

func (*NullableCFEMIPayment) UnmarshalJSON

func (v *NullableCFEMIPayment) UnmarshalJSON(src []byte) error

func (*NullableCFEMIPayment) Unset

func (v *NullableCFEMIPayment) Unset()

type NullableCFError

type NullableCFError struct {
	// contains filtered or unexported fields
}

func NewNullableCFError

func NewNullableCFError(val *CFError) *NullableCFError

func (NullableCFError) Get

func (v NullableCFError) Get() *CFError

func (NullableCFError) IsSet

func (v NullableCFError) IsSet() bool

func (NullableCFError) MarshalJSON

func (v NullableCFError) MarshalJSON() ([]byte, error)

func (*NullableCFError) Set

func (v *NullableCFError) Set(val *CFError)

func (*NullableCFError) UnmarshalJSON

func (v *NullableCFError) UnmarshalJSON(src []byte) error

func (*NullableCFError) Unset

func (v *NullableCFError) Unset()

type NullableCFFetchAllSavedInstruments

type NullableCFFetchAllSavedInstruments struct {
	// contains filtered or unexported fields
}

func (NullableCFFetchAllSavedInstruments) Get

func (NullableCFFetchAllSavedInstruments) IsSet

func (NullableCFFetchAllSavedInstruments) MarshalJSON

func (v NullableCFFetchAllSavedInstruments) MarshalJSON() ([]byte, error)

func (*NullableCFFetchAllSavedInstruments) Set

func (*NullableCFFetchAllSavedInstruments) UnmarshalJSON

func (v *NullableCFFetchAllSavedInstruments) UnmarshalJSON(src []byte) error

func (*NullableCFFetchAllSavedInstruments) Unset

type NullableCFLink struct {
	// contains filtered or unexported fields
}
func NewNullableCFLink(val *CFLink) *NullableCFLink

func (NullableCFLink) Get

func (v NullableCFLink) Get() *CFLink

func (NullableCFLink) IsSet

func (v NullableCFLink) IsSet() bool

func (NullableCFLink) MarshalJSON

func (v NullableCFLink) MarshalJSON() ([]byte, error)

func (*NullableCFLink) Set

func (v *NullableCFLink) Set(val *CFLink)

func (*NullableCFLink) UnmarshalJSON

func (v *NullableCFLink) UnmarshalJSON(src []byte) error

func (*NullableCFLink) Unset

func (v *NullableCFLink) Unset()

type NullableCFLinkCustomerDetailsEntity

type NullableCFLinkCustomerDetailsEntity struct {
	// contains filtered or unexported fields
}

func (NullableCFLinkCustomerDetailsEntity) Get

func (NullableCFLinkCustomerDetailsEntity) IsSet

func (NullableCFLinkCustomerDetailsEntity) MarshalJSON

func (v NullableCFLinkCustomerDetailsEntity) MarshalJSON() ([]byte, error)

func (*NullableCFLinkCustomerDetailsEntity) Set

func (*NullableCFLinkCustomerDetailsEntity) UnmarshalJSON

func (v *NullableCFLinkCustomerDetailsEntity) UnmarshalJSON(src []byte) error

func (*NullableCFLinkCustomerDetailsEntity) Unset

type NullableCFLinkMetaEntity

type NullableCFLinkMetaEntity struct {
	// contains filtered or unexported fields
}

func NewNullableCFLinkMetaEntity

func NewNullableCFLinkMetaEntity(val *CFLinkMetaEntity) *NullableCFLinkMetaEntity

func (NullableCFLinkMetaEntity) Get

func (NullableCFLinkMetaEntity) IsSet

func (v NullableCFLinkMetaEntity) IsSet() bool

func (NullableCFLinkMetaEntity) MarshalJSON

func (v NullableCFLinkMetaEntity) MarshalJSON() ([]byte, error)

func (*NullableCFLinkMetaEntity) Set

func (*NullableCFLinkMetaEntity) UnmarshalJSON

func (v *NullableCFLinkMetaEntity) UnmarshalJSON(src []byte) error

func (*NullableCFLinkMetaEntity) Unset

func (v *NullableCFLinkMetaEntity) Unset()

type NullableCFLinkNotifyEntity

type NullableCFLinkNotifyEntity struct {
	// contains filtered or unexported fields
}

func NewNullableCFLinkNotifyEntity

func NewNullableCFLinkNotifyEntity(val *CFLinkNotifyEntity) *NullableCFLinkNotifyEntity

func (NullableCFLinkNotifyEntity) Get

func (NullableCFLinkNotifyEntity) IsSet

func (v NullableCFLinkNotifyEntity) IsSet() bool

func (NullableCFLinkNotifyEntity) MarshalJSON

func (v NullableCFLinkNotifyEntity) MarshalJSON() ([]byte, error)

func (*NullableCFLinkNotifyEntity) Set

func (*NullableCFLinkNotifyEntity) UnmarshalJSON

func (v *NullableCFLinkNotifyEntity) UnmarshalJSON(src []byte) error

func (*NullableCFLinkNotifyEntity) Unset

func (v *NullableCFLinkNotifyEntity) Unset()

type NullableCFLinkOrders

type NullableCFLinkOrders struct {
	// contains filtered or unexported fields
}

func NewNullableCFLinkOrders

func NewNullableCFLinkOrders(val *CFLinkOrders) *NullableCFLinkOrders

func (NullableCFLinkOrders) Get

func (NullableCFLinkOrders) IsSet

func (v NullableCFLinkOrders) IsSet() bool

func (NullableCFLinkOrders) MarshalJSON

func (v NullableCFLinkOrders) MarshalJSON() ([]byte, error)

func (*NullableCFLinkOrders) Set

func (v *NullableCFLinkOrders) Set(val *CFLinkOrders)

func (*NullableCFLinkOrders) UnmarshalJSON

func (v *NullableCFLinkOrders) UnmarshalJSON(src []byte) error

func (*NullableCFLinkOrders) Unset

func (v *NullableCFLinkOrders) Unset()

type NullableCFLinkRequest

type NullableCFLinkRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCFLinkRequest

func NewNullableCFLinkRequest(val *CFLinkRequest) *NullableCFLinkRequest

func (NullableCFLinkRequest) Get

func (NullableCFLinkRequest) IsSet

func (v NullableCFLinkRequest) IsSet() bool

func (NullableCFLinkRequest) MarshalJSON

func (v NullableCFLinkRequest) MarshalJSON() ([]byte, error)

func (*NullableCFLinkRequest) Set

func (v *NullableCFLinkRequest) Set(val *CFLinkRequest)

func (*NullableCFLinkRequest) UnmarshalJSON

func (v *NullableCFLinkRequest) UnmarshalJSON(src []byte) error

func (*NullableCFLinkRequest) Unset

func (v *NullableCFLinkRequest) Unset()

type NullableCFNetbanking

type NullableCFNetbanking struct {
	// contains filtered or unexported fields
}

func NewNullableCFNetbanking

func NewNullableCFNetbanking(val *CFNetbanking) *NullableCFNetbanking

func (NullableCFNetbanking) Get

func (NullableCFNetbanking) IsSet

func (v NullableCFNetbanking) IsSet() bool

func (NullableCFNetbanking) MarshalJSON

func (v NullableCFNetbanking) MarshalJSON() ([]byte, error)

func (*NullableCFNetbanking) Set

func (v *NullableCFNetbanking) Set(val *CFNetbanking)

func (*NullableCFNetbanking) UnmarshalJSON

func (v *NullableCFNetbanking) UnmarshalJSON(src []byte) error

func (*NullableCFNetbanking) Unset

func (v *NullableCFNetbanking) Unset()

type NullableCFNetbankingPayment

type NullableCFNetbankingPayment struct {
	// contains filtered or unexported fields
}

func NewNullableCFNetbankingPayment

func NewNullableCFNetbankingPayment(val *CFNetbankingPayment) *NullableCFNetbankingPayment

func (NullableCFNetbankingPayment) Get

func (NullableCFNetbankingPayment) IsSet

func (NullableCFNetbankingPayment) MarshalJSON

func (v NullableCFNetbankingPayment) MarshalJSON() ([]byte, error)

func (*NullableCFNetbankingPayment) Set

func (*NullableCFNetbankingPayment) UnmarshalJSON

func (v *NullableCFNetbankingPayment) UnmarshalJSON(src []byte) error

func (*NullableCFNetbankingPayment) Unset

func (v *NullableCFNetbankingPayment) Unset()

type NullableCFOrder

type NullableCFOrder struct {
	// contains filtered or unexported fields
}

func NewNullableCFOrder

func NewNullableCFOrder(val *CFOrder) *NullableCFOrder

func (NullableCFOrder) Get

func (v NullableCFOrder) Get() *CFOrder

func (NullableCFOrder) IsSet

func (v NullableCFOrder) IsSet() bool

func (NullableCFOrder) MarshalJSON

func (v NullableCFOrder) MarshalJSON() ([]byte, error)

func (*NullableCFOrder) Set

func (v *NullableCFOrder) Set(val *CFOrder)

func (*NullableCFOrder) UnmarshalJSON

func (v *NullableCFOrder) UnmarshalJSON(src []byte) error

func (*NullableCFOrder) Unset

func (v *NullableCFOrder) Unset()

type NullableCFOrderMeta

type NullableCFOrderMeta struct {
	// contains filtered or unexported fields
}

func NewNullableCFOrderMeta

func NewNullableCFOrderMeta(val *CFOrderMeta) *NullableCFOrderMeta

func (NullableCFOrderMeta) Get

func (NullableCFOrderMeta) IsSet

func (v NullableCFOrderMeta) IsSet() bool

func (NullableCFOrderMeta) MarshalJSON

func (v NullableCFOrderMeta) MarshalJSON() ([]byte, error)

func (*NullableCFOrderMeta) Set

func (v *NullableCFOrderMeta) Set(val *CFOrderMeta)

func (*NullableCFOrderMeta) UnmarshalJSON

func (v *NullableCFOrderMeta) UnmarshalJSON(src []byte) error

func (*NullableCFOrderMeta) Unset

func (v *NullableCFOrderMeta) Unset()

type NullableCFOrderPayData

type NullableCFOrderPayData struct {
	// contains filtered or unexported fields
}

func NewNullableCFOrderPayData

func NewNullableCFOrderPayData(val *CFOrderPayData) *NullableCFOrderPayData

func (NullableCFOrderPayData) Get

func (NullableCFOrderPayData) IsSet

func (v NullableCFOrderPayData) IsSet() bool

func (NullableCFOrderPayData) MarshalJSON

func (v NullableCFOrderPayData) MarshalJSON() ([]byte, error)

func (*NullableCFOrderPayData) Set

func (*NullableCFOrderPayData) UnmarshalJSON

func (v *NullableCFOrderPayData) UnmarshalJSON(src []byte) error

func (*NullableCFOrderPayData) Unset

func (v *NullableCFOrderPayData) Unset()

type NullableCFOrderPayRequest

type NullableCFOrderPayRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCFOrderPayRequest

func NewNullableCFOrderPayRequest(val *CFOrderPayRequest) *NullableCFOrderPayRequest

func (NullableCFOrderPayRequest) Get

func (NullableCFOrderPayRequest) IsSet

func (v NullableCFOrderPayRequest) IsSet() bool

func (NullableCFOrderPayRequest) MarshalJSON

func (v NullableCFOrderPayRequest) MarshalJSON() ([]byte, error)

func (*NullableCFOrderPayRequest) Set

func (*NullableCFOrderPayRequest) UnmarshalJSON

func (v *NullableCFOrderPayRequest) UnmarshalJSON(src []byte) error

func (*NullableCFOrderPayRequest) Unset

func (v *NullableCFOrderPayRequest) Unset()

type NullableCFOrderPayResponse

type NullableCFOrderPayResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCFOrderPayResponse

func NewNullableCFOrderPayResponse(val *CFOrderPayResponse) *NullableCFOrderPayResponse

func (NullableCFOrderPayResponse) Get

func (NullableCFOrderPayResponse) IsSet

func (v NullableCFOrderPayResponse) IsSet() bool

func (NullableCFOrderPayResponse) MarshalJSON

func (v NullableCFOrderPayResponse) MarshalJSON() ([]byte, error)

func (*NullableCFOrderPayResponse) Set

func (*NullableCFOrderPayResponse) UnmarshalJSON

func (v *NullableCFOrderPayResponse) UnmarshalJSON(src []byte) error

func (*NullableCFOrderPayResponse) Unset

func (v *NullableCFOrderPayResponse) Unset()

type NullableCFOrderRequest

type NullableCFOrderRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCFOrderRequest

func NewNullableCFOrderRequest(val *CFOrderRequest) *NullableCFOrderRequest

func (NullableCFOrderRequest) Get

func (NullableCFOrderRequest) IsSet

func (v NullableCFOrderRequest) IsSet() bool

func (NullableCFOrderRequest) MarshalJSON

func (v NullableCFOrderRequest) MarshalJSON() ([]byte, error)

func (*NullableCFOrderRequest) Set

func (*NullableCFOrderRequest) UnmarshalJSON

func (v *NullableCFOrderRequest) UnmarshalJSON(src []byte) error

func (*NullableCFOrderRequest) Unset

func (v *NullableCFOrderRequest) Unset()

type NullableCFPaylater

type NullableCFPaylater struct {
	// contains filtered or unexported fields
}

func NewNullableCFPaylater

func NewNullableCFPaylater(val *CFPaylater) *NullableCFPaylater

func (NullableCFPaylater) Get

func (v NullableCFPaylater) Get() *CFPaylater

func (NullableCFPaylater) IsSet

func (v NullableCFPaylater) IsSet() bool

func (NullableCFPaylater) MarshalJSON

func (v NullableCFPaylater) MarshalJSON() ([]byte, error)

func (*NullableCFPaylater) Set

func (v *NullableCFPaylater) Set(val *CFPaylater)

func (*NullableCFPaylater) UnmarshalJSON

func (v *NullableCFPaylater) UnmarshalJSON(src []byte) error

func (*NullableCFPaylater) Unset

func (v *NullableCFPaylater) Unset()

type NullableCFPaylaterPayment

type NullableCFPaylaterPayment struct {
	// contains filtered or unexported fields
}

func NewNullableCFPaylaterPayment

func NewNullableCFPaylaterPayment(val *CFPaylaterPayment) *NullableCFPaylaterPayment

func (NullableCFPaylaterPayment) Get

func (NullableCFPaylaterPayment) IsSet

func (v NullableCFPaylaterPayment) IsSet() bool

func (NullableCFPaylaterPayment) MarshalJSON

func (v NullableCFPaylaterPayment) MarshalJSON() ([]byte, error)

func (*NullableCFPaylaterPayment) Set

func (*NullableCFPaylaterPayment) UnmarshalJSON

func (v *NullableCFPaylaterPayment) UnmarshalJSON(src []byte) error

func (*NullableCFPaylaterPayment) Unset

func (v *NullableCFPaylaterPayment) Unset()

type NullableCFPaymentMethod

type NullableCFPaymentMethod struct {
	// contains filtered or unexported fields
}

func NewNullableCFPaymentMethod

func NewNullableCFPaymentMethod(val *CFPaymentMethod) *NullableCFPaymentMethod

func (NullableCFPaymentMethod) Get

func (NullableCFPaymentMethod) IsSet

func (v NullableCFPaymentMethod) IsSet() bool

func (NullableCFPaymentMethod) MarshalJSON

func (v NullableCFPaymentMethod) MarshalJSON() ([]byte, error)

func (*NullableCFPaymentMethod) Set

func (*NullableCFPaymentMethod) UnmarshalJSON

func (v *NullableCFPaymentMethod) UnmarshalJSON(src []byte) error

func (*NullableCFPaymentMethod) Unset

func (v *NullableCFPaymentMethod) Unset()

type NullableCFPaymentURLObject

type NullableCFPaymentURLObject struct {
	// contains filtered or unexported fields
}

func NewNullableCFPaymentURLObject

func NewNullableCFPaymentURLObject(val *CFPaymentURLObject) *NullableCFPaymentURLObject

func (NullableCFPaymentURLObject) Get

func (NullableCFPaymentURLObject) IsSet

func (v NullableCFPaymentURLObject) IsSet() bool

func (NullableCFPaymentURLObject) MarshalJSON

func (v NullableCFPaymentURLObject) MarshalJSON() ([]byte, error)

func (*NullableCFPaymentURLObject) Set

func (*NullableCFPaymentURLObject) UnmarshalJSON

func (v *NullableCFPaymentURLObject) UnmarshalJSON(src []byte) error

func (*NullableCFPaymentURLObject) Unset

func (v *NullableCFPaymentURLObject) Unset()

type NullableCFPaymentsEntity

type NullableCFPaymentsEntity struct {
	// contains filtered or unexported fields
}

func NewNullableCFPaymentsEntity

func NewNullableCFPaymentsEntity(val *CFPaymentsEntity) *NullableCFPaymentsEntity

func (NullableCFPaymentsEntity) Get

func (NullableCFPaymentsEntity) IsSet

func (v NullableCFPaymentsEntity) IsSet() bool

func (NullableCFPaymentsEntity) MarshalJSON

func (v NullableCFPaymentsEntity) MarshalJSON() ([]byte, error)

func (*NullableCFPaymentsEntity) Set

func (*NullableCFPaymentsEntity) UnmarshalJSON

func (v *NullableCFPaymentsEntity) UnmarshalJSON(src []byte) error

func (*NullableCFPaymentsEntity) Unset

func (v *NullableCFPaymentsEntity) Unset()

type NullableCFPaymentsEntityAppPayment

type NullableCFPaymentsEntityAppPayment struct {
	// contains filtered or unexported fields
}

func (NullableCFPaymentsEntityAppPayment) Get

func (NullableCFPaymentsEntityAppPayment) IsSet

func (NullableCFPaymentsEntityAppPayment) MarshalJSON

func (v NullableCFPaymentsEntityAppPayment) MarshalJSON() ([]byte, error)

func (*NullableCFPaymentsEntityAppPayment) Set

func (*NullableCFPaymentsEntityAppPayment) UnmarshalJSON

func (v *NullableCFPaymentsEntityAppPayment) UnmarshalJSON(src []byte) error

func (*NullableCFPaymentsEntityAppPayment) Unset

type NullableCFPaymentsEntityCardPayment

type NullableCFPaymentsEntityCardPayment struct {
	// contains filtered or unexported fields
}

func (NullableCFPaymentsEntityCardPayment) Get

func (NullableCFPaymentsEntityCardPayment) IsSet

func (NullableCFPaymentsEntityCardPayment) MarshalJSON

func (v NullableCFPaymentsEntityCardPayment) MarshalJSON() ([]byte, error)

func (*NullableCFPaymentsEntityCardPayment) Set

func (*NullableCFPaymentsEntityCardPayment) UnmarshalJSON

func (v *NullableCFPaymentsEntityCardPayment) UnmarshalJSON(src []byte) error

func (*NullableCFPaymentsEntityCardPayment) Unset

type NullableCFPaymentsEntityCardlessEMIPayment

type NullableCFPaymentsEntityCardlessEMIPayment struct {
	// contains filtered or unexported fields
}

func (NullableCFPaymentsEntityCardlessEMIPayment) Get

func (NullableCFPaymentsEntityCardlessEMIPayment) IsSet

func (NullableCFPaymentsEntityCardlessEMIPayment) MarshalJSON

func (*NullableCFPaymentsEntityCardlessEMIPayment) Set

func (*NullableCFPaymentsEntityCardlessEMIPayment) UnmarshalJSON

func (v *NullableCFPaymentsEntityCardlessEMIPayment) UnmarshalJSON(src []byte) error

func (*NullableCFPaymentsEntityCardlessEMIPayment) Unset

type NullableCFPaymentsEntityMethod

type NullableCFPaymentsEntityMethod struct {
	// contains filtered or unexported fields
}

func (NullableCFPaymentsEntityMethod) Get

func (NullableCFPaymentsEntityMethod) IsSet

func (NullableCFPaymentsEntityMethod) MarshalJSON

func (v NullableCFPaymentsEntityMethod) MarshalJSON() ([]byte, error)

func (*NullableCFPaymentsEntityMethod) Set

func (*NullableCFPaymentsEntityMethod) UnmarshalJSON

func (v *NullableCFPaymentsEntityMethod) UnmarshalJSON(src []byte) error

func (*NullableCFPaymentsEntityMethod) Unset

func (v *NullableCFPaymentsEntityMethod) Unset()

type NullableCFPaymentsEntityNetbankingPayment

type NullableCFPaymentsEntityNetbankingPayment struct {
	// contains filtered or unexported fields
}

func (NullableCFPaymentsEntityNetbankingPayment) Get

func (NullableCFPaymentsEntityNetbankingPayment) IsSet

func (NullableCFPaymentsEntityNetbankingPayment) MarshalJSON

func (*NullableCFPaymentsEntityNetbankingPayment) Set

func (*NullableCFPaymentsEntityNetbankingPayment) UnmarshalJSON

func (v *NullableCFPaymentsEntityNetbankingPayment) UnmarshalJSON(src []byte) error

func (*NullableCFPaymentsEntityNetbankingPayment) Unset

type NullableCFPaymentsEntityPaylaterPayment

type NullableCFPaymentsEntityPaylaterPayment struct {
	// contains filtered or unexported fields
}

func (NullableCFPaymentsEntityPaylaterPayment) Get

func (NullableCFPaymentsEntityPaylaterPayment) IsSet

func (NullableCFPaymentsEntityPaylaterPayment) MarshalJSON

func (v NullableCFPaymentsEntityPaylaterPayment) MarshalJSON() ([]byte, error)

func (*NullableCFPaymentsEntityPaylaterPayment) Set

func (*NullableCFPaymentsEntityPaylaterPayment) UnmarshalJSON

func (v *NullableCFPaymentsEntityPaylaterPayment) UnmarshalJSON(src []byte) error

func (*NullableCFPaymentsEntityPaylaterPayment) Unset

type NullableCFPaymentsEntityPayment

type NullableCFPaymentsEntityPayment struct {
	// contains filtered or unexported fields
}

func (NullableCFPaymentsEntityPayment) Get

func (NullableCFPaymentsEntityPayment) IsSet

func (NullableCFPaymentsEntityPayment) MarshalJSON

func (v NullableCFPaymentsEntityPayment) MarshalJSON() ([]byte, error)

func (*NullableCFPaymentsEntityPayment) Set

func (*NullableCFPaymentsEntityPayment) UnmarshalJSON

func (v *NullableCFPaymentsEntityPayment) UnmarshalJSON(src []byte) error

func (*NullableCFPaymentsEntityPayment) Unset

type NullableCFPaymentsEntityUPIPayment

type NullableCFPaymentsEntityUPIPayment struct {
	// contains filtered or unexported fields
}

func (NullableCFPaymentsEntityUPIPayment) Get

func (NullableCFPaymentsEntityUPIPayment) IsSet

func (NullableCFPaymentsEntityUPIPayment) MarshalJSON

func (v NullableCFPaymentsEntityUPIPayment) MarshalJSON() ([]byte, error)

func (*NullableCFPaymentsEntityUPIPayment) Set

func (*NullableCFPaymentsEntityUPIPayment) UnmarshalJSON

func (v *NullableCFPaymentsEntityUPIPayment) UnmarshalJSON(src []byte) error

func (*NullableCFPaymentsEntityUPIPayment) Unset

type NullableCFRefund

type NullableCFRefund struct {
	// contains filtered or unexported fields
}

func NewNullableCFRefund

func NewNullableCFRefund(val *CFRefund) *NullableCFRefund

func (NullableCFRefund) Get

func (v NullableCFRefund) Get() *CFRefund

func (NullableCFRefund) IsSet

func (v NullableCFRefund) IsSet() bool

func (NullableCFRefund) MarshalJSON

func (v NullableCFRefund) MarshalJSON() ([]byte, error)

func (*NullableCFRefund) Set

func (v *NullableCFRefund) Set(val *CFRefund)

func (*NullableCFRefund) UnmarshalJSON

func (v *NullableCFRefund) UnmarshalJSON(src []byte) error

func (*NullableCFRefund) Unset

func (v *NullableCFRefund) Unset()

type NullableCFRefundRequest

type NullableCFRefundRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCFRefundRequest

func NewNullableCFRefundRequest(val *CFRefundRequest) *NullableCFRefundRequest

func (NullableCFRefundRequest) Get

func (NullableCFRefundRequest) IsSet

func (v NullableCFRefundRequest) IsSet() bool

func (NullableCFRefundRequest) MarshalJSON

func (v NullableCFRefundRequest) MarshalJSON() ([]byte, error)

func (*NullableCFRefundRequest) Set

func (*NullableCFRefundRequest) UnmarshalJSON

func (v *NullableCFRefundRequest) UnmarshalJSON(src []byte) error

func (*NullableCFRefundRequest) Unset

func (v *NullableCFRefundRequest) Unset()

type NullableCFRefundURLObject

type NullableCFRefundURLObject struct {
	// contains filtered or unexported fields
}

func NewNullableCFRefundURLObject

func NewNullableCFRefundURLObject(val *CFRefundURLObject) *NullableCFRefundURLObject

func (NullableCFRefundURLObject) Get

func (NullableCFRefundURLObject) IsSet

func (v NullableCFRefundURLObject) IsSet() bool

func (NullableCFRefundURLObject) MarshalJSON

func (v NullableCFRefundURLObject) MarshalJSON() ([]byte, error)

func (*NullableCFRefundURLObject) Set

func (*NullableCFRefundURLObject) UnmarshalJSON

func (v *NullableCFRefundURLObject) UnmarshalJSON(src []byte) error

func (*NullableCFRefundURLObject) Unset

func (v *NullableCFRefundURLObject) Unset()

type NullableCFSavedInstrumentMeta

type NullableCFSavedInstrumentMeta struct {
	// contains filtered or unexported fields
}

func (NullableCFSavedInstrumentMeta) Get

func (NullableCFSavedInstrumentMeta) IsSet

func (NullableCFSavedInstrumentMeta) MarshalJSON

func (v NullableCFSavedInstrumentMeta) MarshalJSON() ([]byte, error)

func (*NullableCFSavedInstrumentMeta) Set

func (*NullableCFSavedInstrumentMeta) UnmarshalJSON

func (v *NullableCFSavedInstrumentMeta) UnmarshalJSON(src []byte) error

func (*NullableCFSavedInstrumentMeta) Unset

func (v *NullableCFSavedInstrumentMeta) Unset()

type NullableCFSettlementURLObject

type NullableCFSettlementURLObject struct {
	// contains filtered or unexported fields
}

func (NullableCFSettlementURLObject) Get

func (NullableCFSettlementURLObject) IsSet

func (NullableCFSettlementURLObject) MarshalJSON

func (v NullableCFSettlementURLObject) MarshalJSON() ([]byte, error)

func (*NullableCFSettlementURLObject) Set

func (*NullableCFSettlementURLObject) UnmarshalJSON

func (v *NullableCFSettlementURLObject) UnmarshalJSON(src []byte) error

func (*NullableCFSettlementURLObject) Unset

func (v *NullableCFSettlementURLObject) Unset()

type NullableCFSettlementsEntity

type NullableCFSettlementsEntity struct {
	// contains filtered or unexported fields
}

func NewNullableCFSettlementsEntity

func NewNullableCFSettlementsEntity(val *CFSettlementsEntity) *NullableCFSettlementsEntity

func (NullableCFSettlementsEntity) Get

func (NullableCFSettlementsEntity) IsSet

func (NullableCFSettlementsEntity) MarshalJSON

func (v NullableCFSettlementsEntity) MarshalJSON() ([]byte, error)

func (*NullableCFSettlementsEntity) Set

func (*NullableCFSettlementsEntity) UnmarshalJSON

func (v *NullableCFSettlementsEntity) UnmarshalJSON(src []byte) error

func (*NullableCFSettlementsEntity) Unset

func (v *NullableCFSettlementsEntity) Unset()

type NullableCFUPI

type NullableCFUPI struct {
	// contains filtered or unexported fields
}

func NewNullableCFUPI

func NewNullableCFUPI(val *CFUPI) *NullableCFUPI

func (NullableCFUPI) Get

func (v NullableCFUPI) Get() *CFUPI

func (NullableCFUPI) IsSet

func (v NullableCFUPI) IsSet() bool

func (NullableCFUPI) MarshalJSON

func (v NullableCFUPI) MarshalJSON() ([]byte, error)

func (*NullableCFUPI) Set

func (v *NullableCFUPI) Set(val *CFUPI)

func (*NullableCFUPI) UnmarshalJSON

func (v *NullableCFUPI) UnmarshalJSON(src []byte) error

func (*NullableCFUPI) Unset

func (v *NullableCFUPI) Unset()

type NullableCFUPIAuthorizeDetails

type NullableCFUPIAuthorizeDetails struct {
	// contains filtered or unexported fields
}

func (NullableCFUPIAuthorizeDetails) Get

func (NullableCFUPIAuthorizeDetails) IsSet

func (NullableCFUPIAuthorizeDetails) MarshalJSON

func (v NullableCFUPIAuthorizeDetails) MarshalJSON() ([]byte, error)

func (*NullableCFUPIAuthorizeDetails) Set

func (*NullableCFUPIAuthorizeDetails) UnmarshalJSON

func (v *NullableCFUPIAuthorizeDetails) UnmarshalJSON(src []byte) error

func (*NullableCFUPIAuthorizeDetails) Unset

func (v *NullableCFUPIAuthorizeDetails) Unset()

type NullableCFUPIPayment

type NullableCFUPIPayment struct {
	// contains filtered or unexported fields
}

func NewNullableCFUPIPayment

func NewNullableCFUPIPayment(val *CFUPIPayment) *NullableCFUPIPayment

func (NullableCFUPIPayment) Get

func (NullableCFUPIPayment) IsSet

func (v NullableCFUPIPayment) IsSet() bool

func (NullableCFUPIPayment) MarshalJSON

func (v NullableCFUPIPayment) MarshalJSON() ([]byte, error)

func (*NullableCFUPIPayment) Set

func (v *NullableCFUPIPayment) Set(val *CFUPIPayment)

func (*NullableCFUPIPayment) UnmarshalJSON

func (v *NullableCFUPIPayment) UnmarshalJSON(src []byte) error

func (*NullableCFUPIPayment) Unset

func (v *NullableCFUPIPayment) Unset()

type NullableCFVendorSplit

type NullableCFVendorSplit struct {
	// contains filtered or unexported fields
}

func NewNullableCFVendorSplit

func NewNullableCFVendorSplit(val *CFVendorSplit) *NullableCFVendorSplit

func (NullableCFVendorSplit) Get

func (NullableCFVendorSplit) IsSet

func (v NullableCFVendorSplit) IsSet() bool

func (NullableCFVendorSplit) MarshalJSON

func (v NullableCFVendorSplit) MarshalJSON() ([]byte, error)

func (*NullableCFVendorSplit) Set

func (v *NullableCFVendorSplit) Set(val *CFVendorSplit)

func (*NullableCFVendorSplit) UnmarshalJSON

func (v *NullableCFVendorSplit) UnmarshalJSON(src []byte) error

func (*NullableCFVendorSplit) Unset

func (v *NullableCFVendorSplit) Unset()

type NullableCardOffer added in v2.1.2

type NullableCardOffer struct {
	// contains filtered or unexported fields
}

func NewNullableCardOffer added in v2.1.2

func NewNullableCardOffer(val *CardOffer) *NullableCardOffer

func (NullableCardOffer) Get added in v2.1.2

func (v NullableCardOffer) Get() *CardOffer

func (NullableCardOffer) IsSet added in v2.1.2

func (v NullableCardOffer) IsSet() bool

func (NullableCardOffer) MarshalJSON added in v2.1.2

func (v NullableCardOffer) MarshalJSON() ([]byte, error)

func (*NullableCardOffer) Set added in v2.1.2

func (v *NullableCardOffer) Set(val *CardOffer)

func (*NullableCardOffer) UnmarshalJSON added in v2.1.2

func (v *NullableCardOffer) UnmarshalJSON(src []byte) error

func (*NullableCardOffer) Unset added in v2.1.2

func (v *NullableCardOffer) Unset()

type NullableCardlessEMIEntity added in v2.1.2

type NullableCardlessEMIEntity struct {
	// contains filtered or unexported fields
}

func NewNullableCardlessEMIEntity added in v2.1.2

func NewNullableCardlessEMIEntity(val *CardlessEMIEntity) *NullableCardlessEMIEntity

func (NullableCardlessEMIEntity) Get added in v2.1.2

func (NullableCardlessEMIEntity) IsSet added in v2.1.2

func (v NullableCardlessEMIEntity) IsSet() bool

func (NullableCardlessEMIEntity) MarshalJSON added in v2.1.2

func (v NullableCardlessEMIEntity) MarshalJSON() ([]byte, error)

func (*NullableCardlessEMIEntity) Set added in v2.1.2

func (*NullableCardlessEMIEntity) UnmarshalJSON added in v2.1.2

func (v *NullableCardlessEMIEntity) UnmarshalJSON(src []byte) error

func (*NullableCardlessEMIEntity) Unset added in v2.1.2

func (v *NullableCardlessEMIEntity) Unset()

type NullableCardlessEMIQueries added in v2.1.2

type NullableCardlessEMIQueries struct {
	// contains filtered or unexported fields
}

func NewNullableCardlessEMIQueries added in v2.1.2

func NewNullableCardlessEMIQueries(val *CardlessEMIQueries) *NullableCardlessEMIQueries

func (NullableCardlessEMIQueries) Get added in v2.1.2

func (NullableCardlessEMIQueries) IsSet added in v2.1.2

func (v NullableCardlessEMIQueries) IsSet() bool

func (NullableCardlessEMIQueries) MarshalJSON added in v2.1.2

func (v NullableCardlessEMIQueries) MarshalJSON() ([]byte, error)

func (*NullableCardlessEMIQueries) Set added in v2.1.2

func (*NullableCardlessEMIQueries) UnmarshalJSON added in v2.1.2

func (v *NullableCardlessEMIQueries) UnmarshalJSON(src []byte) error

func (*NullableCardlessEMIQueries) Unset added in v2.1.2

func (v *NullableCardlessEMIQueries) Unset()

type NullableCashbackDetails added in v2.1.2

type NullableCashbackDetails struct {
	// contains filtered or unexported fields
}

func NewNullableCashbackDetails added in v2.1.2

func NewNullableCashbackDetails(val *CashbackDetails) *NullableCashbackDetails

func (NullableCashbackDetails) Get added in v2.1.2

func (NullableCashbackDetails) IsSet added in v2.1.2

func (v NullableCashbackDetails) IsSet() bool

func (NullableCashbackDetails) MarshalJSON added in v2.1.2

func (v NullableCashbackDetails) MarshalJSON() ([]byte, error)

func (*NullableCashbackDetails) Set added in v2.1.2

func (*NullableCashbackDetails) UnmarshalJSON added in v2.1.2

func (v *NullableCashbackDetails) UnmarshalJSON(src []byte) error

func (*NullableCashbackDetails) Unset added in v2.1.2

func (v *NullableCashbackDetails) Unset()

type NullableCreateOfferBackendRequest added in v2.1.2

type NullableCreateOfferBackendRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateOfferBackendRequest added in v2.1.2

func NewNullableCreateOfferBackendRequest(val *CFCreateOfferBackendRequest) *NullableCreateOfferBackendRequest

func (NullableCreateOfferBackendRequest) Get added in v2.1.2

func (NullableCreateOfferBackendRequest) IsSet added in v2.1.2

func (NullableCreateOfferBackendRequest) MarshalJSON added in v2.1.2

func (v NullableCreateOfferBackendRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateOfferBackendRequest) Set added in v2.1.2

func (*NullableCreateOfferBackendRequest) UnmarshalJSON added in v2.1.2

func (v *NullableCreateOfferBackendRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateOfferBackendRequest) Unset added in v2.1.2

type NullableCustomerDetailsCardlessEMI added in v2.1.2

type NullableCustomerDetailsCardlessEMI struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerDetailsCardlessEMI added in v2.1.2

func NewNullableCustomerDetailsCardlessEMI(val *CustomerDetailsCardlessEMI) *NullableCustomerDetailsCardlessEMI

func (NullableCustomerDetailsCardlessEMI) Get added in v2.1.2

func (NullableCustomerDetailsCardlessEMI) IsSet added in v2.1.2

func (NullableCustomerDetailsCardlessEMI) MarshalJSON added in v2.1.2

func (v NullableCustomerDetailsCardlessEMI) MarshalJSON() ([]byte, error)

func (*NullableCustomerDetailsCardlessEMI) Set added in v2.1.2

func (*NullableCustomerDetailsCardlessEMI) UnmarshalJSON added in v2.1.2

func (v *NullableCustomerDetailsCardlessEMI) UnmarshalJSON(src []byte) error

func (*NullableCustomerDetailsCardlessEMI) Unset added in v2.1.2

type NullableDiscountDetails added in v2.1.2

type NullableDiscountDetails struct {
	// contains filtered or unexported fields
}

func NewNullableDiscountDetails added in v2.1.2

func NewNullableDiscountDetails(val *DiscountDetails) *NullableDiscountDetails

func (NullableDiscountDetails) Get added in v2.1.2

func (NullableDiscountDetails) IsSet added in v2.1.2

func (v NullableDiscountDetails) IsSet() bool

func (NullableDiscountDetails) MarshalJSON added in v2.1.2

func (v NullableDiscountDetails) MarshalJSON() ([]byte, error)

func (*NullableDiscountDetails) Set added in v2.1.2

func (*NullableDiscountDetails) UnmarshalJSON added in v2.1.2

func (v *NullableDiscountDetails) UnmarshalJSON(src []byte) error

func (*NullableDiscountDetails) Unset added in v2.1.2

func (v *NullableDiscountDetails) Unset()

type NullableEMIOffer added in v2.1.2

type NullableEMIOffer struct {
	// contains filtered or unexported fields
}

func NewNullableEMIOffer added in v2.1.2

func NewNullableEMIOffer(val *EMIOffer) *NullableEMIOffer

func (NullableEMIOffer) Get added in v2.1.2

func (v NullableEMIOffer) Get() *EMIOffer

func (NullableEMIOffer) IsSet added in v2.1.2

func (v NullableEMIOffer) IsSet() bool

func (NullableEMIOffer) MarshalJSON added in v2.1.2

func (v NullableEMIOffer) MarshalJSON() ([]byte, error)

func (*NullableEMIOffer) Set added in v2.1.2

func (v *NullableEMIOffer) Set(val *EMIOffer)

func (*NullableEMIOffer) UnmarshalJSON added in v2.1.2

func (v *NullableEMIOffer) UnmarshalJSON(src []byte) error

func (*NullableEMIOffer) Unset added in v2.1.2

func (v *NullableEMIOffer) Unset()

type NullableEMIPlansArray added in v2.1.2

type NullableEMIPlansArray struct {
	// contains filtered or unexported fields
}

func NewNullableEMIPlansArray added in v2.1.2

func NewNullableEMIPlansArray(val *EMIPlansArray) *NullableEMIPlansArray

func (NullableEMIPlansArray) Get added in v2.1.2

func (NullableEMIPlansArray) IsSet added in v2.1.2

func (v NullableEMIPlansArray) IsSet() bool

func (NullableEMIPlansArray) MarshalJSON added in v2.1.2

func (v NullableEMIPlansArray) MarshalJSON() ([]byte, error)

func (*NullableEMIPlansArray) Set added in v2.1.2

func (v *NullableEMIPlansArray) Set(val *EMIPlansArray)

func (*NullableEMIPlansArray) UnmarshalJSON added in v2.1.2

func (v *NullableEMIPlansArray) UnmarshalJSON(src []byte) error

func (*NullableEMIPlansArray) Unset added in v2.1.2

func (v *NullableEMIPlansArray) Unset()

type NullableEligibilityCardlessEMIRequest added in v2.1.2

type NullableEligibilityCardlessEMIRequest struct {
	// contains filtered or unexported fields
}

func NewNullableEligibilityCardlessEMIRequest added in v2.1.2

func NewNullableEligibilityCardlessEMIRequest(val *EligibilityCardlessEMIRequest) *NullableEligibilityCardlessEMIRequest

func (NullableEligibilityCardlessEMIRequest) Get added in v2.1.2

func (NullableEligibilityCardlessEMIRequest) IsSet added in v2.1.2

func (NullableEligibilityCardlessEMIRequest) MarshalJSON added in v2.1.2

func (v NullableEligibilityCardlessEMIRequest) MarshalJSON() ([]byte, error)

func (*NullableEligibilityCardlessEMIRequest) Set added in v2.1.2

func (*NullableEligibilityCardlessEMIRequest) UnmarshalJSON added in v2.1.2

func (v *NullableEligibilityCardlessEMIRequest) UnmarshalJSON(src []byte) error

func (*NullableEligibilityCardlessEMIRequest) Unset added in v2.1.2

type NullableEligibilityOffersRequest added in v2.1.2

type NullableEligibilityOffersRequest struct {
	// contains filtered or unexported fields
}

func NewNullableEligibilityOffersRequest added in v2.1.2

func NewNullableEligibilityOffersRequest(val *CFEligibilityOffersRequest) *NullableEligibilityOffersRequest

func (NullableEligibilityOffersRequest) Get added in v2.1.2

func (NullableEligibilityOffersRequest) IsSet added in v2.1.2

func (NullableEligibilityOffersRequest) MarshalJSON added in v2.1.2

func (v NullableEligibilityOffersRequest) MarshalJSON() ([]byte, error)

func (*NullableEligibilityOffersRequest) Set added in v2.1.2

func (*NullableEligibilityOffersRequest) UnmarshalJSON added in v2.1.2

func (v *NullableEligibilityOffersRequest) UnmarshalJSON(src []byte) error

func (*NullableEligibilityOffersRequest) Unset added in v2.1.2

type NullableEligibleCardlessEMIEntity added in v2.1.2

type NullableEligibleCardlessEMIEntity struct {
	// contains filtered or unexported fields
}

func NewNullableEligibleCardlessEMIEntity added in v2.1.2

func NewNullableEligibleCardlessEMIEntity(val *EligibleCardlessEMIEntity) *NullableEligibleCardlessEMIEntity

func (NullableEligibleCardlessEMIEntity) Get added in v2.1.2

func (NullableEligibleCardlessEMIEntity) IsSet added in v2.1.2

func (NullableEligibleCardlessEMIEntity) MarshalJSON added in v2.1.2

func (v NullableEligibleCardlessEMIEntity) MarshalJSON() ([]byte, error)

func (*NullableEligibleCardlessEMIEntity) Set added in v2.1.2

func (*NullableEligibleCardlessEMIEntity) UnmarshalJSON added in v2.1.2

func (v *NullableEligibleCardlessEMIEntity) UnmarshalJSON(src []byte) error

func (*NullableEligibleCardlessEMIEntity) Unset added in v2.1.2

type NullableEligibleOffersEntity added in v2.1.2

type NullableEligibleOffersEntity struct {
	// contains filtered or unexported fields
}

func NewNullableEligibleOffersEntity added in v2.1.2

func NewNullableEligibleOffersEntity(val *EligibleOffersEntity) *NullableEligibleOffersEntity

func (NullableEligibleOffersEntity) Get added in v2.1.2

func (NullableEligibleOffersEntity) IsSet added in v2.1.2

func (NullableEligibleOffersEntity) MarshalJSON added in v2.1.2

func (v NullableEligibleOffersEntity) MarshalJSON() ([]byte, error)

func (*NullableEligibleOffersEntity) Set added in v2.1.2

func (*NullableEligibleOffersEntity) UnmarshalJSON added in v2.1.2

func (v *NullableEligibleOffersEntity) UnmarshalJSON(src []byte) error

func (*NullableEligibleOffersEntity) Unset added in v2.1.2

func (v *NullableEligibleOffersEntity) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableNBOffer added in v2.1.2

type NullableNBOffer struct {
	// contains filtered or unexported fields
}

func NewNullableNBOffer added in v2.1.2

func NewNullableNBOffer(val *NBOffer) *NullableNBOffer

func (NullableNBOffer) Get added in v2.1.2

func (v NullableNBOffer) Get() *NBOffer

func (NullableNBOffer) IsSet added in v2.1.2

func (v NullableNBOffer) IsSet() bool

func (NullableNBOffer) MarshalJSON added in v2.1.2

func (v NullableNBOffer) MarshalJSON() ([]byte, error)

func (*NullableNBOffer) Set added in v2.1.2

func (v *NullableNBOffer) Set(val *NBOffer)

func (*NullableNBOffer) UnmarshalJSON added in v2.1.2

func (v *NullableNBOffer) UnmarshalJSON(src []byte) error

func (*NullableNBOffer) Unset added in v2.1.2

func (v *NullableNBOffer) Unset()

type NullableOfferAll added in v2.1.2

type NullableOfferAll struct {
	// contains filtered or unexported fields
}

func NewNullableOfferAll added in v2.1.2

func NewNullableOfferAll(val *OfferAll) *NullableOfferAll

func (NullableOfferAll) Get added in v2.1.2

func (v NullableOfferAll) Get() *OfferAll

func (NullableOfferAll) IsSet added in v2.1.2

func (v NullableOfferAll) IsSet() bool

func (NullableOfferAll) MarshalJSON added in v2.1.2

func (v NullableOfferAll) MarshalJSON() ([]byte, error)

func (*NullableOfferAll) Set added in v2.1.2

func (v *NullableOfferAll) Set(val *OfferAll)

func (*NullableOfferAll) UnmarshalJSON added in v2.1.2

func (v *NullableOfferAll) UnmarshalJSON(src []byte) error

func (*NullableOfferAll) Unset added in v2.1.2

func (v *NullableOfferAll) Unset()

type NullableOfferCard added in v2.1.2

type NullableOfferCard struct {
	// contains filtered or unexported fields
}

func NewNullableOfferCard added in v2.1.2

func NewNullableOfferCard(val *OfferCard) *NullableOfferCard

func (NullableOfferCard) Get added in v2.1.2

func (v NullableOfferCard) Get() *OfferCard

func (NullableOfferCard) IsSet added in v2.1.2

func (v NullableOfferCard) IsSet() bool

func (NullableOfferCard) MarshalJSON added in v2.1.2

func (v NullableOfferCard) MarshalJSON() ([]byte, error)

func (*NullableOfferCard) Set added in v2.1.2

func (v *NullableOfferCard) Set(val *OfferCard)

func (*NullableOfferCard) UnmarshalJSON added in v2.1.2

func (v *NullableOfferCard) UnmarshalJSON(src []byte) error

func (*NullableOfferCard) Unset added in v2.1.2

func (v *NullableOfferCard) Unset()

type NullableOfferDetails added in v2.1.2

type NullableOfferDetails struct {
	// contains filtered or unexported fields
}

func NewNullableOfferDetails added in v2.1.2

func NewNullableOfferDetails(val *OfferDetails) *NullableOfferDetails

func (NullableOfferDetails) Get added in v2.1.2

func (NullableOfferDetails) IsSet added in v2.1.2

func (v NullableOfferDetails) IsSet() bool

func (NullableOfferDetails) MarshalJSON added in v2.1.2

func (v NullableOfferDetails) MarshalJSON() ([]byte, error)

func (*NullableOfferDetails) Set added in v2.1.2

func (v *NullableOfferDetails) Set(val *OfferDetails)

func (*NullableOfferDetails) UnmarshalJSON added in v2.1.2

func (v *NullableOfferDetails) UnmarshalJSON(src []byte) error

func (*NullableOfferDetails) Unset added in v2.1.2

func (v *NullableOfferDetails) Unset()

type NullableOfferEMI added in v2.1.2

type NullableOfferEMI struct {
	// contains filtered or unexported fields
}

func NewNullableOfferEMI added in v2.1.2

func NewNullableOfferEMI(val *OfferEMI) *NullableOfferEMI

func (NullableOfferEMI) Get added in v2.1.2

func (v NullableOfferEMI) Get() *OfferEMI

func (NullableOfferEMI) IsSet added in v2.1.2

func (v NullableOfferEMI) IsSet() bool

func (NullableOfferEMI) MarshalJSON added in v2.1.2

func (v NullableOfferEMI) MarshalJSON() ([]byte, error)

func (*NullableOfferEMI) Set added in v2.1.2

func (v *NullableOfferEMI) Set(val *OfferEMI)

func (*NullableOfferEMI) UnmarshalJSON added in v2.1.2

func (v *NullableOfferEMI) UnmarshalJSON(src []byte) error

func (*NullableOfferEMI) Unset added in v2.1.2

func (v *NullableOfferEMI) Unset()

type NullableOfferEntity added in v2.1.2

type NullableOfferEntity struct {
	// contains filtered or unexported fields
}

func NewNullableOfferEntity added in v2.1.2

func NewNullableOfferEntity(val *CFOfferEntity) *NullableOfferEntity

func (NullableOfferEntity) Get added in v2.1.2

func (NullableOfferEntity) IsSet added in v2.1.2

func (v NullableOfferEntity) IsSet() bool

func (NullableOfferEntity) MarshalJSON added in v2.1.2

func (v NullableOfferEntity) MarshalJSON() ([]byte, error)

func (*NullableOfferEntity) Set added in v2.1.2

func (v *NullableOfferEntity) Set(val *CFOfferEntity)

func (*NullableOfferEntity) UnmarshalJSON added in v2.1.2

func (v *NullableOfferEntity) UnmarshalJSON(src []byte) error

func (*NullableOfferEntity) Unset added in v2.1.2

func (v *NullableOfferEntity) Unset()

type NullableOfferFilters added in v2.1.2

type NullableOfferFilters struct {
	// contains filtered or unexported fields
}

func NewNullableOfferFilters added in v2.1.2

func NewNullableOfferFilters(val *OfferFilters) *NullableOfferFilters

func (NullableOfferFilters) Get added in v2.1.2

func (NullableOfferFilters) IsSet added in v2.1.2

func (v NullableOfferFilters) IsSet() bool

func (NullableOfferFilters) MarshalJSON added in v2.1.2

func (v NullableOfferFilters) MarshalJSON() ([]byte, error)

func (*NullableOfferFilters) Set added in v2.1.2

func (v *NullableOfferFilters) Set(val *OfferFilters)

func (*NullableOfferFilters) UnmarshalJSON added in v2.1.2

func (v *NullableOfferFilters) UnmarshalJSON(src []byte) error

func (*NullableOfferFilters) Unset added in v2.1.2

func (v *NullableOfferFilters) Unset()

type NullableOfferMeta added in v2.1.2

type NullableOfferMeta struct {
	// contains filtered or unexported fields
}

func NewNullableOfferMeta added in v2.1.2

func NewNullableOfferMeta(val *OfferMeta) *NullableOfferMeta

func (NullableOfferMeta) Get added in v2.1.2

func (v NullableOfferMeta) Get() *OfferMeta

func (NullableOfferMeta) IsSet added in v2.1.2

func (v NullableOfferMeta) IsSet() bool

func (NullableOfferMeta) MarshalJSON added in v2.1.2

func (v NullableOfferMeta) MarshalJSON() ([]byte, error)

func (*NullableOfferMeta) Set added in v2.1.2

func (v *NullableOfferMeta) Set(val *OfferMeta)

func (*NullableOfferMeta) UnmarshalJSON added in v2.1.2

func (v *NullableOfferMeta) UnmarshalJSON(src []byte) error

func (*NullableOfferMeta) Unset added in v2.1.2

func (v *NullableOfferMeta) Unset()

type NullableOfferNB added in v2.1.2

type NullableOfferNB struct {
	// contains filtered or unexported fields
}

func NewNullableOfferNB added in v2.1.2

func NewNullableOfferNB(val *OfferNB) *NullableOfferNB

func (NullableOfferNB) Get added in v2.1.2

func (v NullableOfferNB) Get() *OfferNB

func (NullableOfferNB) IsSet added in v2.1.2

func (v NullableOfferNB) IsSet() bool

func (NullableOfferNB) MarshalJSON added in v2.1.2

func (v NullableOfferNB) MarshalJSON() ([]byte, error)

func (*NullableOfferNB) Set added in v2.1.2

func (v *NullableOfferNB) Set(val *OfferNB)

func (*NullableOfferNB) UnmarshalJSON added in v2.1.2

func (v *NullableOfferNB) UnmarshalJSON(src []byte) error

func (*NullableOfferNB) Unset added in v2.1.2

func (v *NullableOfferNB) Unset()

type NullableOfferPaylater added in v2.1.2

type NullableOfferPaylater struct {
	// contains filtered or unexported fields
}

func NewNullableOfferPaylater added in v2.1.2

func NewNullableOfferPaylater(val *OfferPaylater) *NullableOfferPaylater

func (NullableOfferPaylater) Get added in v2.1.2

func (NullableOfferPaylater) IsSet added in v2.1.2

func (v NullableOfferPaylater) IsSet() bool

func (NullableOfferPaylater) MarshalJSON added in v2.1.2

func (v NullableOfferPaylater) MarshalJSON() ([]byte, error)

func (*NullableOfferPaylater) Set added in v2.1.2

func (v *NullableOfferPaylater) Set(val *OfferPaylater)

func (*NullableOfferPaylater) UnmarshalJSON added in v2.1.2

func (v *NullableOfferPaylater) UnmarshalJSON(src []byte) error

func (*NullableOfferPaylater) Unset added in v2.1.2

func (v *NullableOfferPaylater) Unset()

type NullableOfferQueries added in v2.1.2

type NullableOfferQueries struct {
	// contains filtered or unexported fields
}

func NewNullableOfferQueries added in v2.1.2

func NewNullableOfferQueries(val *OfferQueries) *NullableOfferQueries

func (NullableOfferQueries) Get added in v2.1.2

func (NullableOfferQueries) IsSet added in v2.1.2

func (v NullableOfferQueries) IsSet() bool

func (NullableOfferQueries) MarshalJSON added in v2.1.2

func (v NullableOfferQueries) MarshalJSON() ([]byte, error)

func (*NullableOfferQueries) Set added in v2.1.2

func (v *NullableOfferQueries) Set(val *OfferQueries)

func (*NullableOfferQueries) UnmarshalJSON added in v2.1.2

func (v *NullableOfferQueries) UnmarshalJSON(src []byte) error

func (*NullableOfferQueries) Unset added in v2.1.2

func (v *NullableOfferQueries) Unset()

type NullableOfferTnc added in v2.1.2

type NullableOfferTnc struct {
	// contains filtered or unexported fields
}

func NewNullableOfferTnc added in v2.1.2

func NewNullableOfferTnc(val *OfferTnc) *NullableOfferTnc

func (NullableOfferTnc) Get added in v2.1.2

func (v NullableOfferTnc) Get() *OfferTnc

func (NullableOfferTnc) IsSet added in v2.1.2

func (v NullableOfferTnc) IsSet() bool

func (NullableOfferTnc) MarshalJSON added in v2.1.2

func (v NullableOfferTnc) MarshalJSON() ([]byte, error)

func (*NullableOfferTnc) Set added in v2.1.2

func (v *NullableOfferTnc) Set(val *OfferTnc)

func (*NullableOfferTnc) UnmarshalJSON added in v2.1.2

func (v *NullableOfferTnc) UnmarshalJSON(src []byte) error

func (*NullableOfferTnc) Unset added in v2.1.2

func (v *NullableOfferTnc) Unset()

type NullableOfferType added in v2.1.2

type NullableOfferType struct {
	// contains filtered or unexported fields
}

func NewNullableOfferType added in v2.1.2

func NewNullableOfferType(val *OfferType) *NullableOfferType

func (NullableOfferType) Get added in v2.1.2

func (v NullableOfferType) Get() *OfferType

func (NullableOfferType) IsSet added in v2.1.2

func (v NullableOfferType) IsSet() bool

func (NullableOfferType) MarshalJSON added in v2.1.2

func (v NullableOfferType) MarshalJSON() ([]byte, error)

func (*NullableOfferType) Set added in v2.1.2

func (v *NullableOfferType) Set(val *OfferType)

func (*NullableOfferType) UnmarshalJSON added in v2.1.2

func (v *NullableOfferType) UnmarshalJSON(src []byte) error

func (*NullableOfferType) Unset added in v2.1.2

func (v *NullableOfferType) Unset()

type NullableOfferUPI added in v2.1.2

type NullableOfferUPI struct {
	// contains filtered or unexported fields
}

func NewNullableOfferUPI added in v2.1.2

func NewNullableOfferUPI(val *OfferUPI) *NullableOfferUPI

func (NullableOfferUPI) Get added in v2.1.2

func (v NullableOfferUPI) Get() *OfferUPI

func (NullableOfferUPI) IsSet added in v2.1.2

func (v NullableOfferUPI) IsSet() bool

func (NullableOfferUPI) MarshalJSON added in v2.1.2

func (v NullableOfferUPI) MarshalJSON() ([]byte, error)

func (*NullableOfferUPI) Set added in v2.1.2

func (v *NullableOfferUPI) Set(val *OfferUPI)

func (*NullableOfferUPI) UnmarshalJSON added in v2.1.2

func (v *NullableOfferUPI) UnmarshalJSON(src []byte) error

func (*NullableOfferUPI) Unset added in v2.1.2

func (v *NullableOfferUPI) Unset()

type NullableOfferValidations added in v2.1.2

type NullableOfferValidations struct {
	// contains filtered or unexported fields
}

func NewNullableOfferValidations added in v2.1.2

func NewNullableOfferValidations(val *OfferValidations) *NullableOfferValidations

func (NullableOfferValidations) Get added in v2.1.2

func (NullableOfferValidations) IsSet added in v2.1.2

func (v NullableOfferValidations) IsSet() bool

func (NullableOfferValidations) MarshalJSON added in v2.1.2

func (v NullableOfferValidations) MarshalJSON() ([]byte, error)

func (*NullableOfferValidations) Set added in v2.1.2

func (*NullableOfferValidations) UnmarshalJSON added in v2.1.2

func (v *NullableOfferValidations) UnmarshalJSON(src []byte) error

func (*NullableOfferValidations) Unset added in v2.1.2

func (v *NullableOfferValidations) Unset()

type NullableOfferValidationsPaymentMethod added in v2.1.2

type NullableOfferValidationsPaymentMethod struct {
	// contains filtered or unexported fields
}

func NewNullableOfferValidationsPaymentMethod added in v2.1.2

func NewNullableOfferValidationsPaymentMethod(val *OfferValidationsPaymentMethod) *NullableOfferValidationsPaymentMethod

func (NullableOfferValidationsPaymentMethod) Get added in v2.1.2

func (NullableOfferValidationsPaymentMethod) IsSet added in v2.1.2

func (NullableOfferValidationsPaymentMethod) MarshalJSON added in v2.1.2

func (v NullableOfferValidationsPaymentMethod) MarshalJSON() ([]byte, error)

func (*NullableOfferValidationsPaymentMethod) Set added in v2.1.2

func (*NullableOfferValidationsPaymentMethod) UnmarshalJSON added in v2.1.2

func (v *NullableOfferValidationsPaymentMethod) UnmarshalJSON(src []byte) error

func (*NullableOfferValidationsPaymentMethod) Unset added in v2.1.2

type NullableOfferWallet added in v2.1.2

type NullableOfferWallet struct {
	// contains filtered or unexported fields
}

func NewNullableOfferWallet added in v2.1.2

func NewNullableOfferWallet(val *OfferWallet) *NullableOfferWallet

func (NullableOfferWallet) Get added in v2.1.2

func (NullableOfferWallet) IsSet added in v2.1.2

func (v NullableOfferWallet) IsSet() bool

func (NullableOfferWallet) MarshalJSON added in v2.1.2

func (v NullableOfferWallet) MarshalJSON() ([]byte, error)

func (*NullableOfferWallet) Set added in v2.1.2

func (v *NullableOfferWallet) Set(val *OfferWallet)

func (*NullableOfferWallet) UnmarshalJSON added in v2.1.2

func (v *NullableOfferWallet) UnmarshalJSON(src []byte) error

func (*NullableOfferWallet) Unset added in v2.1.2

func (v *NullableOfferWallet) Unset()

type NullablePaylaterOffer added in v2.1.2

type NullablePaylaterOffer struct {
	// contains filtered or unexported fields
}

func NewNullablePaylaterOffer added in v2.1.2

func NewNullablePaylaterOffer(val *PaylaterOffer) *NullablePaylaterOffer

func (NullablePaylaterOffer) Get added in v2.1.2

func (NullablePaylaterOffer) IsSet added in v2.1.2

func (v NullablePaylaterOffer) IsSet() bool

func (NullablePaylaterOffer) MarshalJSON added in v2.1.2

func (v NullablePaylaterOffer) MarshalJSON() ([]byte, error)

func (*NullablePaylaterOffer) Set added in v2.1.2

func (v *NullablePaylaterOffer) Set(val *PaylaterOffer)

func (*NullablePaylaterOffer) UnmarshalJSON added in v2.1.2

func (v *NullablePaylaterOffer) UnmarshalJSON(src []byte) error

func (*NullablePaylaterOffer) Unset added in v2.1.2

func (v *NullablePaylaterOffer) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableWalletOffer added in v2.1.2

type NullableWalletOffer struct {
	// contains filtered or unexported fields
}

func NewNullableWalletOffer added in v2.1.2

func NewNullableWalletOffer(val *WalletOffer) *NullableWalletOffer

func (NullableWalletOffer) Get added in v2.1.2

func (NullableWalletOffer) IsSet added in v2.1.2

func (v NullableWalletOffer) IsSet() bool

func (NullableWalletOffer) MarshalJSON added in v2.1.2

func (v NullableWalletOffer) MarshalJSON() ([]byte, error)

func (*NullableWalletOffer) Set added in v2.1.2

func (v *NullableWalletOffer) Set(val *WalletOffer)

func (*NullableWalletOffer) UnmarshalJSON added in v2.1.2

func (v *NullableWalletOffer) UnmarshalJSON(src []byte) error

func (*NullableWalletOffer) Unset added in v2.1.2

func (v *NullableWalletOffer) Unset()

type OfferAll added in v2.1.2

type OfferAll struct {
	All map[string]interface{} `json:"all"`
}

OfferAll struct for OfferAll

func NewOfferAll added in v2.1.2

func NewOfferAll(all map[string]interface{}) *OfferAll

NewOfferAll instantiates a new OfferAll object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferAllWithDefaults added in v2.1.2

func NewOfferAllWithDefaults() *OfferAll

NewOfferAllWithDefaults instantiates a new OfferAll object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferAll) GetAll added in v2.1.2

func (o *OfferAll) GetAll() map[string]interface{}

GetAll returns the All field value

func (*OfferAll) GetAllOk added in v2.1.2

func (o *OfferAll) GetAllOk() (map[string]interface{}, bool)

GetAllOk returns a tuple with the All field value and a boolean to check if the value has been set.

func (OfferAll) MarshalJSON added in v2.1.2

func (o OfferAll) MarshalJSON() ([]byte, error)

func (*OfferAll) SetAll added in v2.1.2

func (o *OfferAll) SetAll(v map[string]interface{})

SetAll sets field value

func (OfferAll) ToMap added in v2.1.2

func (o OfferAll) ToMap() (map[string]interface{}, error)

type OfferCard added in v2.1.2

type OfferCard struct {
	Card CardOffer `json:"card"`
}

OfferCard struct for OfferCard

func NewOfferCard added in v2.1.2

func NewOfferCard(card CardOffer) *OfferCard

NewOfferCard instantiates a new OfferCard object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferCardWithDefaults added in v2.1.2

func NewOfferCardWithDefaults() *OfferCard

NewOfferCardWithDefaults instantiates a new OfferCard object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferCard) GetCard added in v2.1.2

func (o *OfferCard) GetCard() CardOffer

GetCard returns the Card field value

func (*OfferCard) GetCardOk added in v2.1.2

func (o *OfferCard) GetCardOk() (*CardOffer, bool)

GetCardOk returns a tuple with the Card field value and a boolean to check if the value has been set.

func (OfferCard) MarshalJSON added in v2.1.2

func (o OfferCard) MarshalJSON() ([]byte, error)

func (*OfferCard) SetCard added in v2.1.2

func (o *OfferCard) SetCard(v CardOffer)

SetCard sets field value

func (OfferCard) ToMap added in v2.1.2

func (o OfferCard) ToMap() (map[string]interface{}, error)

type OfferDetails added in v2.1.2

type OfferDetails struct {
	// Offer Type for the Offer.
	OfferType       string           `json:"offer_type"`
	DiscountDetails *DiscountDetails `json:"discount_details,omitempty"`
	CashbackDetails *CashbackDetails `json:"cashback_details,omitempty"`
}

OfferDetails struct for OfferDetails

func NewOfferDetails added in v2.1.2

func NewOfferDetails(offerType string) *OfferDetails

NewOfferDetails instantiates a new OfferDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferDetailsWithDefaults added in v2.1.2

func NewOfferDetailsWithDefaults() *OfferDetails

NewOfferDetailsWithDefaults instantiates a new OfferDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferDetails) GetCashbackDetails added in v2.1.2

func (o *OfferDetails) GetCashbackDetails() CashbackDetails

GetCashbackDetails returns the CashbackDetails field value if set, zero value otherwise.

func (*OfferDetails) GetCashbackDetailsOk added in v2.1.2

func (o *OfferDetails) GetCashbackDetailsOk() (*CashbackDetails, bool)

GetCashbackDetailsOk returns a tuple with the CashbackDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OfferDetails) GetDiscountDetails added in v2.1.2

func (o *OfferDetails) GetDiscountDetails() DiscountDetails

GetDiscountDetails returns the DiscountDetails field value if set, zero value otherwise.

func (*OfferDetails) GetDiscountDetailsOk added in v2.1.2

func (o *OfferDetails) GetDiscountDetailsOk() (*DiscountDetails, bool)

GetDiscountDetailsOk returns a tuple with the DiscountDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OfferDetails) GetOfferType added in v2.1.2

func (o *OfferDetails) GetOfferType() string

GetOfferType returns the OfferType field value

func (*OfferDetails) GetOfferTypeOk added in v2.1.2

func (o *OfferDetails) GetOfferTypeOk() (*string, bool)

GetOfferTypeOk returns a tuple with the OfferType field value and a boolean to check if the value has been set.

func (*OfferDetails) HasCashbackDetails added in v2.1.2

func (o *OfferDetails) HasCashbackDetails() bool

HasCashbackDetails returns a boolean if a field has been set.

func (*OfferDetails) HasDiscountDetails added in v2.1.2

func (o *OfferDetails) HasDiscountDetails() bool

HasDiscountDetails returns a boolean if a field has been set.

func (OfferDetails) MarshalJSON added in v2.1.2

func (o OfferDetails) MarshalJSON() ([]byte, error)

func (*OfferDetails) SetCashbackDetails added in v2.1.2

func (o *OfferDetails) SetCashbackDetails(v CashbackDetails)

SetCashbackDetails gets a reference to the given CashbackDetails and assigns it to the CashbackDetails field.

func (*OfferDetails) SetDiscountDetails added in v2.1.2

func (o *OfferDetails) SetDiscountDetails(v DiscountDetails)

SetDiscountDetails gets a reference to the given DiscountDetails and assigns it to the DiscountDetails field.

func (*OfferDetails) SetOfferType added in v2.1.2

func (o *OfferDetails) SetOfferType(v string)

SetOfferType sets field value

func (OfferDetails) ToMap added in v2.1.2

func (o OfferDetails) ToMap() (map[string]interface{}, error)

type OfferEMI added in v2.1.2

type OfferEMI struct {
	Emi EMIOffer `json:"emi"`
}

OfferEMI struct for OfferEMI

func NewOfferEMI added in v2.1.2

func NewOfferEMI(emi EMIOffer) *OfferEMI

NewOfferEMI instantiates a new OfferEMI object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferEMIWithDefaults added in v2.1.2

func NewOfferEMIWithDefaults() *OfferEMI

NewOfferEMIWithDefaults instantiates a new OfferEMI object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferEMI) GetEmi added in v2.1.2

func (o *OfferEMI) GetEmi() EMIOffer

GetEmi returns the Emi field value

func (*OfferEMI) GetEmiOk added in v2.1.2

func (o *OfferEMI) GetEmiOk() (*EMIOffer, bool)

GetEmiOk returns a tuple with the Emi field value and a boolean to check if the value has been set.

func (OfferEMI) MarshalJSON added in v2.1.2

func (o OfferEMI) MarshalJSON() ([]byte, error)

func (*OfferEMI) SetEmi added in v2.1.2

func (o *OfferEMI) SetEmi(v EMIOffer)

SetEmi sets field value

func (OfferEMI) ToMap added in v2.1.2

func (o OfferEMI) ToMap() (map[string]interface{}, error)

type OfferFilters added in v2.1.2

type OfferFilters struct {
	// Array of offer_type to be filtered.
	OfferType []OfferType `json:"offer_type,omitempty"`
}

OfferFilters struct for OfferFilters

func NewOfferFilters added in v2.1.2

func NewOfferFilters() *OfferFilters

NewOfferFilters instantiates a new OfferFilters object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferFiltersWithDefaults added in v2.1.2

func NewOfferFiltersWithDefaults() *OfferFilters

NewOfferFiltersWithDefaults instantiates a new OfferFilters object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferFilters) GetOfferType added in v2.1.2

func (o *OfferFilters) GetOfferType() []OfferType

GetOfferType returns the OfferType field value if set, zero value otherwise.

func (*OfferFilters) GetOfferTypeOk added in v2.1.2

func (o *OfferFilters) GetOfferTypeOk() ([]OfferType, bool)

GetOfferTypeOk returns a tuple with the OfferType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OfferFilters) HasOfferType added in v2.1.2

func (o *OfferFilters) HasOfferType() bool

HasOfferType returns a boolean if a field has been set.

func (OfferFilters) MarshalJSON added in v2.1.2

func (o OfferFilters) MarshalJSON() ([]byte, error)

func (*OfferFilters) SetOfferType added in v2.1.2

func (o *OfferFilters) SetOfferType(v []OfferType)

SetOfferType gets a reference to the given []OfferType and assigns it to the OfferType field.

func (OfferFilters) ToMap added in v2.1.2

func (o OfferFilters) ToMap() (map[string]interface{}, error)

type OfferMeta added in v2.1.2

type OfferMeta struct {
	// Title for the Offer.
	OfferTitle string `json:"offer_title"`
	// Description for the Offer.
	OfferDescription string `json:"offer_description"`
	// Unique identifier for the Offer.
	OfferCode string `json:"offer_code"`
	// Start Time for the Offer
	OfferStartTime string `json:"offer_start_time"`
	// Expiry Time for the Offer
	OfferEndTime string `json:"offer_end_time"`
}

OfferMeta struct for OfferMeta

func NewOfferMeta added in v2.1.2

func NewOfferMeta(offerTitle string, offerDescription string, offerCode string, offerStartTime string, offerEndTime string) *OfferMeta

NewOfferMeta instantiates a new OfferMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferMetaWithDefaults added in v2.1.2

func NewOfferMetaWithDefaults() *OfferMeta

NewOfferMetaWithDefaults instantiates a new OfferMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferMeta) GetOfferCode added in v2.1.2

func (o *OfferMeta) GetOfferCode() string

GetOfferCode returns the OfferCode field value

func (*OfferMeta) GetOfferCodeOk added in v2.1.2

func (o *OfferMeta) GetOfferCodeOk() (*string, bool)

GetOfferCodeOk returns a tuple with the OfferCode field value and a boolean to check if the value has been set.

func (*OfferMeta) GetOfferDescription added in v2.1.2

func (o *OfferMeta) GetOfferDescription() string

GetOfferDescription returns the OfferDescription field value

func (*OfferMeta) GetOfferDescriptionOk added in v2.1.2

func (o *OfferMeta) GetOfferDescriptionOk() (*string, bool)

GetOfferDescriptionOk returns a tuple with the OfferDescription field value and a boolean to check if the value has been set.

func (*OfferMeta) GetOfferEndTime added in v2.1.2

func (o *OfferMeta) GetOfferEndTime() string

GetOfferEndTime returns the OfferEndTime field value

func (*OfferMeta) GetOfferEndTimeOk added in v2.1.2

func (o *OfferMeta) GetOfferEndTimeOk() (*string, bool)

GetOfferEndTimeOk returns a tuple with the OfferEndTime field value and a boolean to check if the value has been set.

func (*OfferMeta) GetOfferStartTime added in v2.1.2

func (o *OfferMeta) GetOfferStartTime() string

GetOfferStartTime returns the OfferStartTime field value

func (*OfferMeta) GetOfferStartTimeOk added in v2.1.2

func (o *OfferMeta) GetOfferStartTimeOk() (*string, bool)

GetOfferStartTimeOk returns a tuple with the OfferStartTime field value and a boolean to check if the value has been set.

func (*OfferMeta) GetOfferTitle added in v2.1.2

func (o *OfferMeta) GetOfferTitle() string

GetOfferTitle returns the OfferTitle field value

func (*OfferMeta) GetOfferTitleOk added in v2.1.2

func (o *OfferMeta) GetOfferTitleOk() (*string, bool)

GetOfferTitleOk returns a tuple with the OfferTitle field value and a boolean to check if the value has been set.

func (OfferMeta) MarshalJSON added in v2.1.2

func (o OfferMeta) MarshalJSON() ([]byte, error)

func (*OfferMeta) SetOfferCode added in v2.1.2

func (o *OfferMeta) SetOfferCode(v string)

SetOfferCode sets field value

func (*OfferMeta) SetOfferDescription added in v2.1.2

func (o *OfferMeta) SetOfferDescription(v string)

SetOfferDescription sets field value

func (*OfferMeta) SetOfferEndTime added in v2.1.2

func (o *OfferMeta) SetOfferEndTime(v string)

SetOfferEndTime sets field value

func (*OfferMeta) SetOfferStartTime added in v2.1.2

func (o *OfferMeta) SetOfferStartTime(v string)

SetOfferStartTime sets field value

func (*OfferMeta) SetOfferTitle added in v2.1.2

func (o *OfferMeta) SetOfferTitle(v string)

SetOfferTitle sets field value

func (OfferMeta) ToMap added in v2.1.2

func (o OfferMeta) ToMap() (map[string]interface{}, error)

type OfferNB added in v2.1.2

type OfferNB struct {
	Netbanking *NBOffer `json:"netbanking,omitempty"`
}

OfferNB struct for OfferNB

func NewOfferNB added in v2.1.2

func NewOfferNB() *OfferNB

NewOfferNB instantiates a new OfferNB object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferNBWithDefaults added in v2.1.2

func NewOfferNBWithDefaults() *OfferNB

NewOfferNBWithDefaults instantiates a new OfferNB object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferNB) GetNetbanking added in v2.1.2

func (o *OfferNB) GetNetbanking() NBOffer

GetNetbanking returns the Netbanking field value if set, zero value otherwise.

func (*OfferNB) GetNetbankingOk added in v2.1.2

func (o *OfferNB) GetNetbankingOk() (*NBOffer, bool)

GetNetbankingOk returns a tuple with the Netbanking field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OfferNB) HasNetbanking added in v2.1.2

func (o *OfferNB) HasNetbanking() bool

HasNetbanking returns a boolean if a field has been set.

func (OfferNB) MarshalJSON added in v2.1.2

func (o OfferNB) MarshalJSON() ([]byte, error)

func (*OfferNB) SetNetbanking added in v2.1.2

func (o *OfferNB) SetNetbanking(v NBOffer)

SetNetbanking gets a reference to the given NBOffer and assigns it to the Netbanking field.

func (OfferNB) ToMap added in v2.1.2

func (o OfferNB) ToMap() (map[string]interface{}, error)

type OfferPaylater added in v2.1.2

type OfferPaylater struct {
	Paylater PaylaterOffer `json:"paylater"`
}

OfferPaylater struct for OfferPaylater

func NewOfferPaylater added in v2.1.2

func NewOfferPaylater(paylater PaylaterOffer) *OfferPaylater

NewOfferPaylater instantiates a new OfferPaylater object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferPaylaterWithDefaults added in v2.1.2

func NewOfferPaylaterWithDefaults() *OfferPaylater

NewOfferPaylaterWithDefaults instantiates a new OfferPaylater object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferPaylater) GetPaylater added in v2.1.2

func (o *OfferPaylater) GetPaylater() PaylaterOffer

GetPaylater returns the Paylater field value

func (*OfferPaylater) GetPaylaterOk added in v2.1.2

func (o *OfferPaylater) GetPaylaterOk() (*PaylaterOffer, bool)

GetPaylaterOk returns a tuple with the Paylater field value and a boolean to check if the value has been set.

func (OfferPaylater) MarshalJSON added in v2.1.2

func (o OfferPaylater) MarshalJSON() ([]byte, error)

func (*OfferPaylater) SetPaylater added in v2.1.2

func (o *OfferPaylater) SetPaylater(v PaylaterOffer)

SetPaylater sets field value

func (OfferPaylater) ToMap added in v2.1.2

func (o OfferPaylater) ToMap() (map[string]interface{}, error)

type OfferQueries added in v2.1.2

type OfferQueries struct {
	// OrderId of the order. Either of `order_id` or `order_amount` is mandatory.
	OrderId *float64 `json:"order_id,omitempty"`
	// Amount of the order. OrderId of the order. Either of `order_id` or `order_amount` is mandatory.
	Amount *float32 `json:"amount,omitempty"`
}

OfferQueries struct for OfferQueries

func NewOfferQueries added in v2.1.2

func NewOfferQueries() *OfferQueries

NewOfferQueries instantiates a new OfferQueries object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferQueriesWithDefaults added in v2.1.2

func NewOfferQueriesWithDefaults() *OfferQueries

NewOfferQueriesWithDefaults instantiates a new OfferQueries object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferQueries) GetAmount added in v2.1.2

func (o *OfferQueries) GetAmount() float32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*OfferQueries) GetAmountOk added in v2.1.2

func (o *OfferQueries) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OfferQueries) GetOrderId added in v2.1.2

func (o *OfferQueries) GetOrderId() float64

GetOrderId returns the OrderId field value if set, zero value otherwise.

func (*OfferQueries) GetOrderIdOk added in v2.1.2

func (o *OfferQueries) GetOrderIdOk() (*float64, bool)

GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OfferQueries) HasAmount added in v2.1.2

func (o *OfferQueries) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*OfferQueries) HasOrderId added in v2.1.2

func (o *OfferQueries) HasOrderId() bool

HasOrderId returns a boolean if a field has been set.

func (OfferQueries) MarshalJSON added in v2.1.2

func (o OfferQueries) MarshalJSON() ([]byte, error)

func (*OfferQueries) SetAmount added in v2.1.2

func (o *OfferQueries) SetAmount(v float32)

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*OfferQueries) SetOrderId added in v2.1.2

func (o *OfferQueries) SetOrderId(v float64)

SetOrderId gets a reference to the given float64 and assigns it to the OrderId field.

func (OfferQueries) ToMap added in v2.1.2

func (o OfferQueries) ToMap() (map[string]interface{}, error)

type OfferTnc added in v2.1.2

type OfferTnc struct {
	// TnC Type for the Offer. It can be either `text` or `link`
	OfferTncType string `json:"offer_tnc_type"`
	// TnC for the Offer.
	OfferTncValue string `json:"offer_tnc_value"`
}

OfferTnc struct for OfferTnc

func NewOfferTnc added in v2.1.2

func NewOfferTnc(offerTncType string, offerTncValue string) *OfferTnc

NewOfferTnc instantiates a new OfferTnc object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferTncWithDefaults added in v2.1.2

func NewOfferTncWithDefaults() *OfferTnc

NewOfferTncWithDefaults instantiates a new OfferTnc object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferTnc) GetOfferTncType added in v2.1.2

func (o *OfferTnc) GetOfferTncType() string

GetOfferTncType returns the OfferTncType field value

func (*OfferTnc) GetOfferTncTypeOk added in v2.1.2

func (o *OfferTnc) GetOfferTncTypeOk() (*string, bool)

GetOfferTncTypeOk returns a tuple with the OfferTncType field value and a boolean to check if the value has been set.

func (*OfferTnc) GetOfferTncValue added in v2.1.2

func (o *OfferTnc) GetOfferTncValue() string

GetOfferTncValue returns the OfferTncValue field value

func (*OfferTnc) GetOfferTncValueOk added in v2.1.2

func (o *OfferTnc) GetOfferTncValueOk() (*string, bool)

GetOfferTncValueOk returns a tuple with the OfferTncValue field value and a boolean to check if the value has been set.

func (OfferTnc) MarshalJSON added in v2.1.2

func (o OfferTnc) MarshalJSON() ([]byte, error)

func (*OfferTnc) SetOfferTncType added in v2.1.2

func (o *OfferTnc) SetOfferTncType(v string)

SetOfferTncType sets field value

func (*OfferTnc) SetOfferTncValue added in v2.1.2

func (o *OfferTnc) SetOfferTncValue(v string)

SetOfferTncValue sets field value

func (OfferTnc) ToMap added in v2.1.2

func (o OfferTnc) ToMap() (map[string]interface{}, error)

type OfferType added in v2.1.2

type OfferType string

OfferType the model 'OfferType'

const (
	DISCOUNT              OfferType = "DISCOUNT"
	CASHBACK              OfferType = "CASHBACK"
	DISCOUNT_AND_CASHBACK OfferType = "DISCOUNT_AND_CASHBACK"
	NO_COST_EMI           OfferType = "NO_COST_EMI"
)

List of OfferType

func NewOfferTypeFromValue added in v2.1.2

func NewOfferTypeFromValue(v string) (*OfferType, error)

NewOfferTypeFromValue returns a pointer to a valid OfferType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (OfferType) IsValid added in v2.1.2

func (v OfferType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (OfferType) Ptr added in v2.1.2

func (v OfferType) Ptr() *OfferType

Ptr returns reference to OfferType value

func (*OfferType) UnmarshalJSON added in v2.1.2

func (v *OfferType) UnmarshalJSON(src []byte) error

type OfferUPI added in v2.1.2

type OfferUPI struct {
	Upi map[string]interface{} `json:"upi"`
}

OfferUPI struct for OfferUPI

func NewOfferUPI added in v2.1.2

func NewOfferUPI(upi map[string]interface{}) *OfferUPI

NewOfferUPI instantiates a new OfferUPI object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferUPIWithDefaults added in v2.1.2

func NewOfferUPIWithDefaults() *OfferUPI

NewOfferUPIWithDefaults instantiates a new OfferUPI object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferUPI) GetUpi added in v2.1.2

func (o *OfferUPI) GetUpi() map[string]interface{}

GetUpi returns the Upi field value

func (*OfferUPI) GetUpiOk added in v2.1.2

func (o *OfferUPI) GetUpiOk() (map[string]interface{}, bool)

GetUpiOk returns a tuple with the Upi field value and a boolean to check if the value has been set.

func (OfferUPI) MarshalJSON added in v2.1.2

func (o OfferUPI) MarshalJSON() ([]byte, error)

func (*OfferUPI) SetUpi added in v2.1.2

func (o *OfferUPI) SetUpi(v map[string]interface{})

SetUpi sets field value

func (OfferUPI) ToMap added in v2.1.2

func (o OfferUPI) ToMap() (map[string]interface{}, error)

type OfferValidations added in v2.1.2

type OfferValidations struct {
	// Minimum Amount for Offer to be Applicable
	MinAmount     *float32                      `json:"min_amount,omitempty"`
	PaymentMethod OfferValidationsPaymentMethod `json:"payment_method"`
	// Maximum amount of Offer that can be availed.
	MaxAllowed float32 `json:"max_allowed"`
}

OfferValidations struct for OfferValidations

func NewOfferValidations added in v2.1.2

func NewOfferValidations(paymentMethod OfferValidationsPaymentMethod, maxAllowed float32) *OfferValidations

NewOfferValidations instantiates a new OfferValidations object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferValidationsWithDefaults added in v2.1.2

func NewOfferValidationsWithDefaults() *OfferValidations

NewOfferValidationsWithDefaults instantiates a new OfferValidations object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferValidations) GetMaxAllowed added in v2.1.2

func (o *OfferValidations) GetMaxAllowed() float32

GetMaxAllowed returns the MaxAllowed field value

func (*OfferValidations) GetMaxAllowedOk added in v2.1.2

func (o *OfferValidations) GetMaxAllowedOk() (*float32, bool)

GetMaxAllowedOk returns a tuple with the MaxAllowed field value and a boolean to check if the value has been set.

func (*OfferValidations) GetMinAmount added in v2.1.2

func (o *OfferValidations) GetMinAmount() float32

GetMinAmount returns the MinAmount field value if set, zero value otherwise.

func (*OfferValidations) GetMinAmountOk added in v2.1.2

func (o *OfferValidations) GetMinAmountOk() (*float32, bool)

GetMinAmountOk returns a tuple with the MinAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OfferValidations) GetPaymentMethod added in v2.1.2

func (o *OfferValidations) GetPaymentMethod() OfferValidationsPaymentMethod

GetPaymentMethod returns the PaymentMethod field value

func (*OfferValidations) GetPaymentMethodOk added in v2.1.2

func (o *OfferValidations) GetPaymentMethodOk() (*OfferValidationsPaymentMethod, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value and a boolean to check if the value has been set.

func (*OfferValidations) HasMinAmount added in v2.1.2

func (o *OfferValidations) HasMinAmount() bool

HasMinAmount returns a boolean if a field has been set.

func (OfferValidations) MarshalJSON added in v2.1.2

func (o OfferValidations) MarshalJSON() ([]byte, error)

func (*OfferValidations) SetMaxAllowed added in v2.1.2

func (o *OfferValidations) SetMaxAllowed(v float32)

SetMaxAllowed sets field value

func (*OfferValidations) SetMinAmount added in v2.1.2

func (o *OfferValidations) SetMinAmount(v float32)

SetMinAmount gets a reference to the given string and assigns it to the MinAmount field.

func (*OfferValidations) SetPaymentMethod added in v2.1.2

func (o *OfferValidations) SetPaymentMethod(v OfferValidationsPaymentMethod)

SetPaymentMethod sets field value

func (OfferValidations) ToMap added in v2.1.2

func (o OfferValidations) ToMap() (map[string]interface{}, error)

type OfferValidationsPaymentMethod added in v2.1.2

type OfferValidationsPaymentMethod struct {
	OfferAll      *OfferAll
	OfferCard     *OfferCard
	OfferEMI      *OfferEMI
	OfferNB       *OfferNB
	OfferPaylater *OfferPaylater
	OfferUPI      *OfferUPI
	OfferWallet   *OfferWallet
}

OfferValidationsPaymentMethod - struct for OfferValidationsPaymentMethod

func OfferAllAsOfferValidationsPaymentMethod added in v2.1.2

func OfferAllAsOfferValidationsPaymentMethod(v *OfferAll) OfferValidationsPaymentMethod

OfferAllAsOfferValidationsPaymentMethod is a convenience function that returns OfferAll wrapped in OfferValidationsPaymentMethod

func OfferCardAsOfferValidationsPaymentMethod added in v2.1.2

func OfferCardAsOfferValidationsPaymentMethod(v *OfferCard) OfferValidationsPaymentMethod

OfferCardAsOfferValidationsPaymentMethod is a convenience function that returns OfferCard wrapped in OfferValidationsPaymentMethod

func OfferEMIAsOfferValidationsPaymentMethod added in v2.1.2

func OfferEMIAsOfferValidationsPaymentMethod(v *OfferEMI) OfferValidationsPaymentMethod

OfferEMIAsOfferValidationsPaymentMethod is a convenience function that returns OfferEMI wrapped in OfferValidationsPaymentMethod

func OfferNBAsOfferValidationsPaymentMethod added in v2.1.2

func OfferNBAsOfferValidationsPaymentMethod(v *OfferNB) OfferValidationsPaymentMethod

OfferNBAsOfferValidationsPaymentMethod is a convenience function that returns OfferNB wrapped in OfferValidationsPaymentMethod

func OfferPaylaterAsOfferValidationsPaymentMethod added in v2.1.2

func OfferPaylaterAsOfferValidationsPaymentMethod(v *OfferPaylater) OfferValidationsPaymentMethod

OfferPaylaterAsOfferValidationsPaymentMethod is a convenience function that returns OfferPaylater wrapped in OfferValidationsPaymentMethod

func OfferUPIAsOfferValidationsPaymentMethod added in v2.1.2

func OfferUPIAsOfferValidationsPaymentMethod(v *OfferUPI) OfferValidationsPaymentMethod

OfferUPIAsOfferValidationsPaymentMethod is a convenience function that returns OfferUPI wrapped in OfferValidationsPaymentMethod

func OfferWalletAsOfferValidationsPaymentMethod added in v2.1.2

func OfferWalletAsOfferValidationsPaymentMethod(v *OfferWallet) OfferValidationsPaymentMethod

OfferWalletAsOfferValidationsPaymentMethod is a convenience function that returns OfferWallet wrapped in OfferValidationsPaymentMethod

func (*OfferValidationsPaymentMethod) GetActualInstance added in v2.1.2

func (obj *OfferValidationsPaymentMethod) GetActualInstance() interface{}

Get the actual instance

func (OfferValidationsPaymentMethod) MarshalJSON added in v2.1.2

func (src OfferValidationsPaymentMethod) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*OfferValidationsPaymentMethod) UnmarshalJSON added in v2.1.2

func (dst *OfferValidationsPaymentMethod) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type OfferWallet added in v2.1.2

type OfferWallet struct {
	App *WalletOffer `json:"app,omitempty"`
}

OfferWallet struct for OfferWallet

func NewOfferWallet added in v2.1.2

func NewOfferWallet() *OfferWallet

NewOfferWallet instantiates a new OfferWallet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOfferWalletWithDefaults added in v2.1.2

func NewOfferWalletWithDefaults() *OfferWallet

NewOfferWalletWithDefaults instantiates a new OfferWallet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OfferWallet) GetApp added in v2.1.2

func (o *OfferWallet) GetApp() WalletOffer

GetApp returns the App field value if set, zero value otherwise.

func (*OfferWallet) GetAppOk added in v2.1.2

func (o *OfferWallet) GetAppOk() (*WalletOffer, bool)

GetAppOk returns a tuple with the App field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OfferWallet) HasApp added in v2.1.2

func (o *OfferWallet) HasApp() bool

HasApp returns a boolean if a field has been set.

func (OfferWallet) MarshalJSON added in v2.1.2

func (o OfferWallet) MarshalJSON() ([]byte, error)

func (*OfferWallet) SetApp added in v2.1.2

func (o *OfferWallet) SetApp(v WalletOffer)

SetApp gets a reference to the given WalletOffer and assigns it to the App field.

func (OfferWallet) ToMap added in v2.1.2

func (o OfferWallet) ToMap() (map[string]interface{}, error)

type OffersApiService added in v2.1.2

type OffersApiService service

OffersApiService OffersApi service

func (*OffersApiService) CreateOffer added in v2.1.2

CreateOffer Create Offer

Use this API to create offers with Cashfree from your backend

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateOfferRequest

func (*OffersApiService) CreateOfferExecute added in v2.1.2

func (a *OffersApiService) CreateOfferExecute(r ApiCreateOfferRequest) (*CFOfferEntity, *http.Response, error)

Execute executes the request

@return OfferEntity

func (*OffersApiService) GetOffer added in v2.1.2

func (a *OffersApiService) GetOffer(ctx context.Context, offerId string) ApiGetOfferRequest

GetOffer Get Offer by ID

Use this API to get offer by offer_id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param offerId
@return ApiGetOfferRequest

func (*OffersApiService) GetOfferExecute added in v2.1.2

Execute executes the request

@return OfferEntity

type OrdersApiService

type OrdersApiService service

OrdersApiService OrdersApi service

func (*OrdersApiService) CreateOrder

CreateOrder Create Order

Use this API to create orders with Cashfree from your backend and get the payment link

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateOrderRequest

func (*OrdersApiService) CreateOrderExecute

func (a *OrdersApiService) CreateOrderExecute(r ApiCreateOrderRequest) (*CFOrder, *http.Response, error)

Execute executes the request

@return CFOrder

func (*OrdersApiService) GetOrder

func (a *OrdersApiService) GetOrder(ctx context.Context, orderId string) ApiGetOrderRequest

GetOrder Get Order

Use this API to view all details of an order.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orderId
@return ApiGetOrderRequest

func (*OrdersApiService) GetOrderExecute

func (a *OrdersApiService) GetOrderExecute(r ApiGetOrderRequest) (*CFOrder, *http.Response, error)

Execute executes the request

@return CFOrder

func (*OrdersApiService) OrderPay

OrderPay Order Pay

Use this API when you have already created the orders and want Cashfree to process the payment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiOrderPayRequest

func (*OrdersApiService) OrderPayExecute

Execute executes the request

@return CFOrderPayResponse

func (*OrdersApiService) OrderPayExecuteSessionId

func (a *OrdersApiService) OrderPayExecuteSessionId(r ApiOrderPayRequest) (*CFOrderPayResponse, *http.Response, error)

func (*OrdersApiService) Preauthorization

func (a *OrdersApiService) Preauthorization(ctx context.Context, orderId string) ApiPreauthorizationRequest

Preauthorization Preauthorization

Use this API to capture or void a preauthorized payment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orderId
@return ApiPreauthorizationRequest

func (*OrdersApiService) PreauthorizationExecute

func (a *OrdersApiService) PreauthorizationExecute(r ApiPreauthorizationRequest) (*CFPaymentsEntity, *http.Response, error)

Execute executes the request

@return CFPaymentsEntity

type PaylaterOffer added in v2.1.2

type PaylaterOffer struct {
	Provider *string `json:"provider,omitempty"`
}

PaylaterOffer struct for PaylaterOffer

func NewPaylaterOffer added in v2.1.2

func NewPaylaterOffer() *PaylaterOffer

NewPaylaterOffer instantiates a new PaylaterOffer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaylaterOfferWithDefaults added in v2.1.2

func NewPaylaterOfferWithDefaults() *PaylaterOffer

NewPaylaterOfferWithDefaults instantiates a new PaylaterOffer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaylaterOffer) GetProvider added in v2.1.2

func (o *PaylaterOffer) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*PaylaterOffer) GetProviderOk added in v2.1.2

func (o *PaylaterOffer) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaylaterOffer) HasProvider added in v2.1.2

func (o *PaylaterOffer) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (PaylaterOffer) MarshalJSON added in v2.1.2

func (o PaylaterOffer) MarshalJSON() ([]byte, error)

func (*PaylaterOffer) SetProvider added in v2.1.2

func (o *PaylaterOffer) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (PaylaterOffer) ToMap added in v2.1.2

func (o PaylaterOffer) ToMap() (map[string]interface{}, error)

type PaymentLinksApiService

type PaymentLinksApiService service

PaymentLinksApiService PaymentLinksApi service

CreatePaymentLink Create Payment Link

Use this API to create a new payment link. The created payment link url will be available in the API response parameter link_url.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreatePaymentLinkRequest

func (*PaymentLinksApiService) CreatePaymentLinkExecute

func (a *PaymentLinksApiService) CreatePaymentLinkExecute(r ApiCreatePaymentLinkRequest) (*CFLink, *http.Response, error)

Execute executes the request

@return CFLink

func (*PaymentLinksApiService) GetPaymentLinkDetails

func (a *PaymentLinksApiService) GetPaymentLinkDetails(ctx context.Context, linkId string) ApiGetPaymentLinkDetailsRequest

GetPaymentLinkDetails Fetch Payment Link Details

Use this API to view all details and status of a payment link.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param linkId
@return ApiGetPaymentLinkDetailsRequest

func (*PaymentLinksApiService) GetPaymentLinkDetailsExecute

func (a *PaymentLinksApiService) GetPaymentLinkDetailsExecute(r ApiGetPaymentLinkDetailsRequest) (*CFLink, *http.Response, error)

Execute executes the request

@return CFLink

func (*PaymentLinksApiService) GetPaymentLinkOrders

func (a *PaymentLinksApiService) GetPaymentLinkOrders(ctx context.Context, linkId string) ApiGetPaymentLinkOrdersRequest

GetPaymentLinkOrders Get Orders for a Payment Link

Use this API to view all order details for a payment link.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param linkId
@return ApiGetPaymentLinkOrdersRequest

func (*PaymentLinksApiService) GetPaymentLinkOrdersExecute

func (a *PaymentLinksApiService) GetPaymentLinkOrdersExecute(r ApiGetPaymentLinkOrdersRequest) ([]CFLinkOrders, *http.Response, error)

Execute executes the request

@return []CFLinkOrders

type PaymentsApiService

type PaymentsApiService service

PaymentsApiService PaymentsApi service

func (*PaymentsApiService) GetPaymentbyId

func (a *PaymentsApiService) GetPaymentbyId(ctx context.Context, orderId string, cfPaymentId int64) ApiGetPaymentbyIdRequest

GetPaymentbyId Get Payment by ID

Use this API to view payment details of an order for a payment ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orderId
@param cfPaymentId
@return ApiGetPaymentbyIdRequest

func (*PaymentsApiService) GetPaymentbyIdExecute

Execute executes the request

@return CFPaymentsEntity

func (*PaymentsApiService) GetPaymentsfororder

func (a *PaymentsApiService) GetPaymentsfororder(ctx context.Context, orderId string) ApiGetPaymentsfororderRequest

GetPaymentsfororder Get Payments for an Order

Use this API to view all payment details for an order.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orderId
@return ApiGetPaymentsfororderRequest

func (*PaymentsApiService) GetPaymentsfororderExecute

func (a *PaymentsApiService) GetPaymentsfororderExecute(r ApiGetPaymentsfororderRequest) ([]CFPaymentsEntity, *http.Response, error)

Execute executes the request

@return []CFPaymentsEntity

type RefundsApiService

type RefundsApiService service

RefundsApiService RefundsApi service

func (*RefundsApiService) Createrefund

func (a *RefundsApiService) Createrefund(ctx context.Context, orderId string) ApiCreaterefundRequest

Createrefund Create Refund

Use this API to initiate refunds.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orderId
@return ApiCreaterefundRequest

func (*RefundsApiService) CreaterefundExecute

func (a *RefundsApiService) CreaterefundExecute(r ApiCreaterefundRequest) (*CFRefund, *http.Response, error)

Execute executes the request

@return CFRefund

func (*RefundsApiService) GetRefund

func (a *RefundsApiService) GetRefund(ctx context.Context, orderId string, refundId string) ApiGetRefundRequest

GetRefund Get Refund

Use this API to fetch a specific refund processed on your Cashfree Account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orderId
@param refundId Refund Id of the refund you want to fetch.
@return ApiGetRefundRequest

func (*RefundsApiService) GetRefundExecute

func (a *RefundsApiService) GetRefundExecute(r ApiGetRefundRequest) (*CFRefund, *http.Response, error)

Execute executes the request

@return CFRefund

func (*RefundsApiService) Getallrefundsfororder

func (a *RefundsApiService) Getallrefundsfororder(ctx context.Context, orderId string) ApiGetallrefundsfororderRequest

Getallrefundsfororder Get All Refunds for an Order

Use this API to fetch all refunds processed against an order.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orderId
@return ApiGetallrefundsfororderRequest

func (*RefundsApiService) GetallrefundsfororderExecute

func (a *RefundsApiService) GetallrefundsfororderExecute(r ApiGetallrefundsfororderRequest) ([]CFRefund, *http.Response, error)

Execute executes the request

@return []CFRefund

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SettlementsApiService

type SettlementsApiService service

SettlementsApiService SettlementsApi service

func (*SettlementsApiService) Getsettlements

func (a *SettlementsApiService) Getsettlements(ctx context.Context, orderId string) ApiGetsettlementsRequest

Getsettlements Get Settlements

Use this API to view all the settlements of a particular order.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orderId
@return ApiGetsettlementsRequest

func (*SettlementsApiService) GetsettlementsExecute

Execute executes the request

@return CFSettlementsEntity

type TokenVaultApiService

type TokenVaultApiService service

TokenVaultApiService TokenVaultApi service

func (*TokenVaultApiService) DeleteSpecificSavedInstrument

func (a *TokenVaultApiService) DeleteSpecificSavedInstrument(ctx context.Context, customerId string, instrumentId string) ApiDeleteSpecificSavedInstrumentRequest

DeleteSpecificSavedInstrument Delete Saved Instrument

To delete a saved instrument for a customer id and instrument id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param customerId
@param instrumentId
@return ApiDeleteSpecificSavedInstrumentRequest

func (*TokenVaultApiService) DeleteSpecificSavedInstrumentExecute

Execute executes the request

@return CFFetchAllSavedInstruments

func (*TokenVaultApiService) FetchAllSavedInstruments

func (a *TokenVaultApiService) FetchAllSavedInstruments(ctx context.Context, customerId string) ApiFetchAllSavedInstrumentsRequest

FetchAllSavedInstruments Fetch All Saved Instruments

To get all saved instruments for a customer id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param customerId
@return ApiFetchAllSavedInstrumentsRequest

func (*TokenVaultApiService) FetchAllSavedInstrumentsExecute

Execute executes the request

@return []CFFetchAllSavedInstruments

func (*TokenVaultApiService) FetchCryptogram

func (a *TokenVaultApiService) FetchCryptogram(ctx context.Context, customerId string, instrumentId string) ApiFetchCryptogramRequest

FetchCryptogram Fetch cryptogram for saved instrument

To get the card network token, token expiry and cryptogram for a saved instrument using instrument id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param customerId
@param instrumentId
@return ApiFetchCryptogramRequest

func (*TokenVaultApiService) FetchCryptogramExecute

Execute executes the request

@return CFCryptogram

func (*TokenVaultApiService) FetchSpecificSavedInstrument

func (a *TokenVaultApiService) FetchSpecificSavedInstrument(ctx context.Context, customerId string, instrumentId string) ApiFetchSpecificSavedInstrumentRequest

FetchSpecificSavedInstrument Fetch Single Saved Instrument

To get specific saved instrument for a customer id and instrument id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param customerId
@param instrumentId
@return ApiFetchSpecificSavedInstrumentRequest

func (*TokenVaultApiService) FetchSpecificSavedInstrumentExecute

Execute executes the request

@return CFFetchAllSavedInstruments

type WalletOffer added in v2.1.2

type WalletOffer struct {
	Provider *string `json:"provider,omitempty"`
}

WalletOffer struct for WalletOffer

func NewWalletOffer added in v2.1.2

func NewWalletOffer() *WalletOffer

NewWalletOffer instantiates a new WalletOffer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWalletOfferWithDefaults added in v2.1.2

func NewWalletOfferWithDefaults() *WalletOffer

NewWalletOfferWithDefaults instantiates a new WalletOffer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WalletOffer) GetProvider added in v2.1.2

func (o *WalletOffer) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*WalletOffer) GetProviderOk added in v2.1.2

func (o *WalletOffer) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WalletOffer) HasProvider added in v2.1.2

func (o *WalletOffer) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (WalletOffer) MarshalJSON added in v2.1.2

func (o WalletOffer) MarshalJSON() ([]byte, error)

func (*WalletOffer) SetProvider added in v2.1.2

func (o *WalletOffer) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (WalletOffer) ToMap added in v2.1.2

func (o WalletOffer) ToMap() (map[string]interface{}, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL