Skip to content

Latest commit

 

History

History
140 lines (75 loc) · 3.89 KB

File metadata and controls

140 lines (75 loc) · 3.89 KB

PaymentRequestDto

Properties

Name Type Description Notes
VendorId string
PaymentMethod string
Amount float32
BankDetail Pointer to BankDetailDto [optional]
Data PaymentRequestDtoData

Methods

NewPaymentRequestDto

func NewPaymentRequestDto(vendorId string, paymentMethod string, amount float32, data PaymentRequestDtoData, ) *PaymentRequestDto

NewPaymentRequestDto instantiates a new PaymentRequestDto 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

NewPaymentRequestDtoWithDefaults

func NewPaymentRequestDtoWithDefaults() *PaymentRequestDto

NewPaymentRequestDtoWithDefaults instantiates a new PaymentRequestDto 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

GetVendorId

func (o *PaymentRequestDto) GetVendorId() string

GetVendorId returns the VendorId field if non-nil, zero value otherwise.

GetVendorIdOk

func (o *PaymentRequestDto) GetVendorIdOk() (*string, bool)

GetVendorIdOk returns a tuple with the VendorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetVendorId

func (o *PaymentRequestDto) SetVendorId(v string)

SetVendorId sets VendorId field to given value.

GetPaymentMethod

func (o *PaymentRequestDto) GetPaymentMethod() string

GetPaymentMethod returns the PaymentMethod field if non-nil, zero value otherwise.

GetPaymentMethodOk

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

GetPaymentMethodOk returns a tuple with the PaymentMethod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPaymentMethod

func (o *PaymentRequestDto) SetPaymentMethod(v string)

SetPaymentMethod sets PaymentMethod field to given value.

GetAmount

func (o *PaymentRequestDto) GetAmount() float32

GetAmount returns the Amount field if non-nil, zero value otherwise.

GetAmountOk

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

GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAmount

func (o *PaymentRequestDto) SetAmount(v float32)

SetAmount sets Amount field to given value.

GetBankDetail

func (o *PaymentRequestDto) GetBankDetail() BankDetailDto

GetBankDetail returns the BankDetail field if non-nil, zero value otherwise.

GetBankDetailOk

func (o *PaymentRequestDto) GetBankDetailOk() (*BankDetailDto, bool)

GetBankDetailOk returns a tuple with the BankDetail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBankDetail

func (o *PaymentRequestDto) SetBankDetail(v BankDetailDto)

SetBankDetail sets BankDetail field to given value.

HasBankDetail

func (o *PaymentRequestDto) HasBankDetail() bool

HasBankDetail returns a boolean if a field has been set.

GetData

func (o *PaymentRequestDto) GetData() PaymentRequestDtoData

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *PaymentRequestDto) GetDataOk() (*PaymentRequestDtoData, bool)

GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetData

func (o *PaymentRequestDto) SetData(v PaymentRequestDtoData)

SetData sets Data field to given value.

[Back to Model list] [Back to API list] [Back to README]