| Name | Type | Description | Notes |
|---|---|---|---|
| CollectionMethod | Pointer to NullableCollectionMethodEnum | [optional] | |
| CouponId | Pointer to NullableString | [optional] | |
| CustomFields | Pointer to map[string]interface{} | [optional] | |
| CustomerId | string | The external id of the customer. | |
| Description | Pointer to string | Description for newly created invoice | [optional] [default to "Manual creation of invoice"] |
| EmailInvoiceOnFinalization | Pointer to NullableBool | [optional] | |
| FinalizeInvoiceImmediately | Pointer to NullableBool | [optional] | |
| InvoiceItemDetails | Pointer to map[string]InvoiceItemDetails | [optional] | |
| InvoiceType | Pointer to InvoiceType | The type of invoice to create. Choose standard to create the subscription based invoice and one_off to create the one-off invoices. | [optional] |
| IsPreview | Pointer to bool | Whether the request is in preview mode (Invoice won't actually be created) | [optional] [default to false] |
| NetD | Pointer to NullableInt32 | [optional] | |
| PaymentMethodId | Pointer to NullableString | [optional] | |
| SelectedProductPriceQuantity | Pointer to []SelectedPriceQuantity | This object contains details of selected product' price and quantity. | [optional] [default to []] |
| SubscriptionId | Pointer to NullableString | [optional] |
func NewCreateInvoiceRequest(customerId string, ) *CreateInvoiceRequest
NewCreateInvoiceRequest instantiates a new CreateInvoiceRequest 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 NewCreateInvoiceRequestWithDefaults() *CreateInvoiceRequest
NewCreateInvoiceRequestWithDefaults instantiates a new CreateInvoiceRequest 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 (o *CreateInvoiceRequest) GetCollectionMethod() CollectionMethodEnum
GetCollectionMethod returns the CollectionMethod field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetCollectionMethodOk() (*CollectionMethodEnum, bool)
GetCollectionMethodOk returns a tuple with the CollectionMethod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetCollectionMethod(v CollectionMethodEnum)
SetCollectionMethod sets CollectionMethod field to given value.
func (o *CreateInvoiceRequest) HasCollectionMethod() bool
HasCollectionMethod returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) SetCollectionMethodNil(b bool)
SetCollectionMethodNil sets the value for CollectionMethod to be an explicit nil
func (o *CreateInvoiceRequest) UnsetCollectionMethod()
UnsetCollectionMethod ensures that no value is present for CollectionMethod, not even an explicit nil
func (o *CreateInvoiceRequest) GetCouponId() string
GetCouponId returns the CouponId field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetCouponIdOk() (*string, bool)
GetCouponIdOk returns a tuple with the CouponId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetCouponId(v string)
SetCouponId sets CouponId field to given value.
func (o *CreateInvoiceRequest) HasCouponId() bool
HasCouponId returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) SetCouponIdNil(b bool)
SetCouponIdNil sets the value for CouponId to be an explicit nil
func (o *CreateInvoiceRequest) UnsetCouponId()
UnsetCouponId ensures that no value is present for CouponId, not even an explicit nil
func (o *CreateInvoiceRequest) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)
GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *CreateInvoiceRequest) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) SetCustomFieldsNil(b bool)
SetCustomFieldsNil sets the value for CustomFields to be an explicit nil
func (o *CreateInvoiceRequest) UnsetCustomFields()
UnsetCustomFields ensures that no value is present for CustomFields, not even an explicit nil
func (o *CreateInvoiceRequest) GetCustomerId() string
GetCustomerId returns the CustomerId field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetCustomerId(v string)
SetCustomerId sets CustomerId field to given value.
func (o *CreateInvoiceRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateInvoiceRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) GetEmailInvoiceOnFinalization() bool
GetEmailInvoiceOnFinalization returns the EmailInvoiceOnFinalization field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetEmailInvoiceOnFinalizationOk() (*bool, bool)
GetEmailInvoiceOnFinalizationOk returns a tuple with the EmailInvoiceOnFinalization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetEmailInvoiceOnFinalization(v bool)
SetEmailInvoiceOnFinalization sets EmailInvoiceOnFinalization field to given value.
func (o *CreateInvoiceRequest) HasEmailInvoiceOnFinalization() bool
HasEmailInvoiceOnFinalization returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) SetEmailInvoiceOnFinalizationNil(b bool)
SetEmailInvoiceOnFinalizationNil sets the value for EmailInvoiceOnFinalization to be an explicit nil
func (o *CreateInvoiceRequest) UnsetEmailInvoiceOnFinalization()
UnsetEmailInvoiceOnFinalization ensures that no value is present for EmailInvoiceOnFinalization, not even an explicit nil
func (o *CreateInvoiceRequest) GetFinalizeInvoiceImmediately() bool
GetFinalizeInvoiceImmediately returns the FinalizeInvoiceImmediately field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetFinalizeInvoiceImmediatelyOk() (*bool, bool)
GetFinalizeInvoiceImmediatelyOk returns a tuple with the FinalizeInvoiceImmediately field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetFinalizeInvoiceImmediately(v bool)
SetFinalizeInvoiceImmediately sets FinalizeInvoiceImmediately field to given value.
func (o *CreateInvoiceRequest) HasFinalizeInvoiceImmediately() bool
HasFinalizeInvoiceImmediately returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) SetFinalizeInvoiceImmediatelyNil(b bool)
SetFinalizeInvoiceImmediatelyNil sets the value for FinalizeInvoiceImmediately to be an explicit nil
func (o *CreateInvoiceRequest) UnsetFinalizeInvoiceImmediately()
UnsetFinalizeInvoiceImmediately ensures that no value is present for FinalizeInvoiceImmediately, not even an explicit nil
func (o *CreateInvoiceRequest) GetInvoiceItemDetails() map[string]InvoiceItemDetails
GetInvoiceItemDetails returns the InvoiceItemDetails field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetInvoiceItemDetailsOk() (*map[string]InvoiceItemDetails, bool)
GetInvoiceItemDetailsOk returns a tuple with the InvoiceItemDetails field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetInvoiceItemDetails(v map[string]InvoiceItemDetails)
SetInvoiceItemDetails sets InvoiceItemDetails field to given value.
func (o *CreateInvoiceRequest) HasInvoiceItemDetails() bool
HasInvoiceItemDetails returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) SetInvoiceItemDetailsNil(b bool)
SetInvoiceItemDetailsNil sets the value for InvoiceItemDetails to be an explicit nil
func (o *CreateInvoiceRequest) UnsetInvoiceItemDetails()
UnsetInvoiceItemDetails ensures that no value is present for InvoiceItemDetails, not even an explicit nil
func (o *CreateInvoiceRequest) GetInvoiceType() InvoiceType
GetInvoiceType returns the InvoiceType field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetInvoiceTypeOk() (*InvoiceType, bool)
GetInvoiceTypeOk returns a tuple with the InvoiceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetInvoiceType(v InvoiceType)
SetInvoiceType sets InvoiceType field to given value.
func (o *CreateInvoiceRequest) HasInvoiceType() bool
HasInvoiceType returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) GetIsPreview() bool
GetIsPreview returns the IsPreview field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetIsPreviewOk() (*bool, bool)
GetIsPreviewOk returns a tuple with the IsPreview field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetIsPreview(v bool)
SetIsPreview sets IsPreview field to given value.
func (o *CreateInvoiceRequest) HasIsPreview() bool
HasIsPreview returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) GetNetD() int32
GetNetD returns the NetD field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetNetDOk() (*int32, bool)
GetNetDOk returns a tuple with the NetD field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetNetD(v int32)
SetNetD sets NetD field to given value.
func (o *CreateInvoiceRequest) HasNetD() bool
HasNetD returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) SetNetDNil(b bool)
SetNetDNil sets the value for NetD to be an explicit nil
func (o *CreateInvoiceRequest) UnsetNetD()
UnsetNetD ensures that no value is present for NetD, not even an explicit nil
func (o *CreateInvoiceRequest) GetPaymentMethodId() string
GetPaymentMethodId returns the PaymentMethodId field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetPaymentMethodIdOk() (*string, bool)
GetPaymentMethodIdOk returns a tuple with the PaymentMethodId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetPaymentMethodId(v string)
SetPaymentMethodId sets PaymentMethodId field to given value.
func (o *CreateInvoiceRequest) HasPaymentMethodId() bool
HasPaymentMethodId returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) SetPaymentMethodIdNil(b bool)
SetPaymentMethodIdNil sets the value for PaymentMethodId to be an explicit nil
func (o *CreateInvoiceRequest) UnsetPaymentMethodId()
UnsetPaymentMethodId ensures that no value is present for PaymentMethodId, not even an explicit nil
func (o *CreateInvoiceRequest) GetSelectedProductPriceQuantity() []SelectedPriceQuantity
GetSelectedProductPriceQuantity returns the SelectedProductPriceQuantity field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetSelectedProductPriceQuantityOk() (*[]SelectedPriceQuantity, bool)
GetSelectedProductPriceQuantityOk returns a tuple with the SelectedProductPriceQuantity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetSelectedProductPriceQuantity(v []SelectedPriceQuantity)
SetSelectedProductPriceQuantity sets SelectedProductPriceQuantity field to given value.
func (o *CreateInvoiceRequest) HasSelectedProductPriceQuantity() bool
HasSelectedProductPriceQuantity returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) GetSubscriptionId() string
GetSubscriptionId returns the SubscriptionId field if non-nil, zero value otherwise.
func (o *CreateInvoiceRequest) GetSubscriptionIdOk() (*string, bool)
GetSubscriptionIdOk returns a tuple with the SubscriptionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateInvoiceRequest) SetSubscriptionId(v string)
SetSubscriptionId sets SubscriptionId field to given value.
func (o *CreateInvoiceRequest) HasSubscriptionId() bool
HasSubscriptionId returns a boolean if a field has been set.
func (o *CreateInvoiceRequest) SetSubscriptionIdNil(b bool)
SetSubscriptionIdNil sets the value for SubscriptionId to be an explicit nil
func (o *CreateInvoiceRequest) UnsetSubscriptionId()
UnsetSubscriptionId ensures that no value is present for SubscriptionId, not even an explicit nil