Documentation ¶
Index ¶
- func CheckCallback(token string) (valid bool, err error)
- func GenerateRSAKey() (privateKey string, publicKey string, err error)
- func GetSignature(payload any) (signature string, err error)
- type BaseFlip
- func (base *BaseFlip) ConfirmBillPayment(transactionID int64) (payment *models.ConfirmBillPaymentResponse, err error)
- func (base *BaseFlip) CreateAgentIdentity(formData models.CreateAgentIdentityRequest) (agentIdentity *models.CreateAgentIdentityResponse, err error)
- func (base *BaseFlip) CreateBill(formData models.CreateBillRequest) (bill *models.CreateBillResponse, idempotencyKey string, err error)
- func (base *BaseFlip) CreateDisbursement(formData models.CreateDisbursementRequest) (responseModel *models.CreateDisbursementResponse, idempotencyKey string, ...)
- func (base *BaseFlip) CreateDisbursementAgent(formData models.CreateDisbursementAgentRequest) (disbursement *models.CreateDisbursementAgentResponse, idempotencyKey string, ...)
- func (base *BaseFlip) CreateInternationalTransferB2CB2B(multipartData models.CreateInternationalTransferB2XRequest, ...) (internationalTransfer *models.CreateInternationalTransferB2CB2BResponse, ...)
- func (base *BaseFlip) CreateInternationalTransferC2CC2B(formData models.CreateInternationalTransferC2CC2BRequest) (internationalTransfer *models.CreateInternationalTransferC2CC2BResponse, ...)
- func (base *BaseFlip) CreateSpecialDisbursement(formData models.CreateSpecialDisbursementRequest) (responseModel *models.CreateSpecialDisbursementResponse, idempotencyKey string, ...)
- func (base *BaseFlip) EditBill(billID int64, formData models.EditBillingRequest) (bill *models.EditBillingResponse, err error)
- func (base *BaseFlip) GetAgentIdentity(agentID int64) (agentIdentity *models.GetAgentIdentityResponse, err error)
- func (base *BaseFlip) GetAllBill() (bills *models.GetAllBillingResponse, err error)
- func (base *BaseFlip) GetAllDisbursement(params models.GetAllDisbursementRequest) (disbursements *models.GetAllDisbursementResponse, idempotencyKey string, ...)
- func (base *BaseFlip) GetAllInternationalTransfer(params models.GetAllInternationalTransferRequest) (internationalTransfers *models.GetAllInternationalTransferResponse, err error)
- func (base *BaseFlip) GetAllPayment(params models.GetAllPaymentRequest) (payments *models.GetAllPaymentResponse, err error)
- func (base *BaseFlip) GetBalance() (balanceModel *models.GetBalanceResponse, err error)
- func (base *BaseFlip) GetBankInfo(params models.GetBankInfoRequest) (bankList *models.GetBankInfoResponse, err error)
- func (base *BaseFlip) GetBill(billID int64) (bill *models.EditBillingResponse, err error)
- func (base *BaseFlip) GetCityList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error)
- func (base *BaseFlip) GetCountryList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error)
- func (base *BaseFlip) GetDisbursementAgentByID(transactionID int64) (disbursementModel *models.DisbursementModel, err error)
- func (base *BaseFlip) GetDisbursementAgentList(params models.GetDisbursementAgentListRequest) (disbursementModel *models.GetDisbursementAgentListResponse, err error)
- func (base *BaseFlip) GetDisbursementById(disbursementID int64) (disbursementModel *models.DisbursementModel, err error)
- func (base *BaseFlip) GetDisbursementByIdemKey(idempotencyKey string) (disbursementModel *models.DisbursementModel, err error)
- func (base *BaseFlip) GetDisbursementCityList() (cityList *models.CityListResponse, err error)
- func (base *BaseFlip) GetDisbursementCountryCityList() (country *models.CountryCityListResponse, err error)
- func (base *BaseFlip) GetDisbursementCountryList() (country *models.CountryListResponse, err error)
- func (base *BaseFlip) GetDistrictList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error)
- func (base *BaseFlip) GetErrorDetails() []constants.ErrorDetailModel
- func (base *BaseFlip) GetExchangeRate(params models.GetExchangeRatesRequest) (exchangeRates []models.GetExchangeRateResponse, err error)
- func (base *BaseFlip) GetFormData(params models.GetFormDataRequest) (formData *models.GetFormDataResponse, err error)
- func (base *BaseFlip) GetIdempotencyKey() string
- func (base *BaseFlip) GetInternationalTransfer(transactionID int64) (internationalTransfer *models.GetInternationalTransferResponse, err error)
- func (base *BaseFlip) GetPayment(billID int64, params models.GetPaymentRequest) (payments *models.GetPaymentResponse, err error)
- func (base *BaseFlip) GetProvinceList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error)
- func (base *BaseFlip) IsMaintenance() (isMaintenance *models.GetMaintenanceStatusResponse, err error)
- func (base *BaseFlip) KYCSubmissions(agentID int64, uuid string, formData models.KycSubmissionRequest) (message *models.KycSubmissionResponse, requestID string, err error)
- func (base *BaseFlip) RepairData(agentID int64, uuid string, formData models.RepairDataRequest) (repairedData *models.RepairDataResponse, requestID string, err error)
- func (base *BaseFlip) RepairIdentityImage(agentID int64, uuid string, multipartData models.RepairIdentityImageRequest, ...) (repairedData *models.RepairDataResponse, requestID string, err error)
- func (base *BaseFlip) RepairIdentitySelfieImage(agentID int64, uuid string, multipartData models.RepairIdentityImageRequest, ...) (repairedData *models.RepairDataResponse, requestID string, err error)
- func (base *BaseFlip) SendBankAccountInquiry(params models.SendBankAccountInquiryRequest) (inquiry *models.SendBankAccountInquiryResponse, err error)
- func (base *BaseFlip) SetIdempotencyKey(idemKey string) *BaseFlip
- func (base *BaseFlip) UpdateAgentIdentity(agentID int64, formData models.UpdateAgentIdentityRequest) (identityModel *models.UpdateAgentIdentityResponse, err error)
- func (base *BaseFlip) UploadAgentIdentityImage(agentID int64, uuid string, multipartData models.UploadAgentIdentityRequest, ...) (imageFlip *models.UploadAgentIdentityResponse, requestID string, err error)
- func (base *BaseFlip) UploadSupportingDocuments(uuid string, multipartData models.UploadSupportingDocumentsRequest, ...) (documents *models.UploadSupportingDocumentResponse, requestID string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCallback ¶
func GenerateRSAKey ¶
func GetSignature ¶
Types ¶
type BaseFlip ¶
type BaseFlip struct {
// contains filtered or unexported fields
}
func NewBaseFlip ¶
func NewBaseFlip() *BaseFlip
func (*BaseFlip) ConfirmBillPayment ¶
func (base *BaseFlip) ConfirmBillPayment(transactionID int64) (payment *models.ConfirmBillPaymentResponse, err error)
func (*BaseFlip) CreateAgentIdentity ¶
func (base *BaseFlip) CreateAgentIdentity(formData models.CreateAgentIdentityRequest) (agentIdentity *models.CreateAgentIdentityResponse, err error)
func (*BaseFlip) CreateBill ¶
func (base *BaseFlip) CreateBill(formData models.CreateBillRequest) (bill *models.CreateBillResponse, idempotencyKey string, err error)
func (*BaseFlip) CreateDisbursement ¶
func (base *BaseFlip) CreateDisbursement(formData models.CreateDisbursementRequest) (responseModel *models.CreateDisbursementResponse, idempotencyKey string, err error)
func (*BaseFlip) CreateDisbursementAgent ¶
func (base *BaseFlip) CreateDisbursementAgent(formData models.CreateDisbursementAgentRequest) (disbursement *models.CreateDisbursementAgentResponse, idempotencyKey string, err error)
func (*BaseFlip) CreateInternationalTransferB2CB2B ¶
func (base *BaseFlip) CreateInternationalTransferB2CB2B(multipartData models.CreateInternationalTransferB2XRequest, multipartFile models.CreateInternationalTransferB2XFileRequest) (internationalTransfer *models.CreateInternationalTransferB2CB2BResponse, idempotencyKey string, err error)
func (*BaseFlip) CreateInternationalTransferC2CC2B ¶
func (base *BaseFlip) CreateInternationalTransferC2CC2B(formData models.CreateInternationalTransferC2CC2BRequest) (internationalTransfer *models.CreateInternationalTransferC2CC2BResponse, idempotencyKey string, err error)
func (*BaseFlip) CreateSpecialDisbursement ¶
func (base *BaseFlip) CreateSpecialDisbursement(formData models.CreateSpecialDisbursementRequest) (responseModel *models.CreateSpecialDisbursementResponse, idempotencyKey string, err error)
func (*BaseFlip) EditBill ¶
func (base *BaseFlip) EditBill(billID int64, formData models.EditBillingRequest) (bill *models.EditBillingResponse, err error)
func (*BaseFlip) GetAgentIdentity ¶
func (base *BaseFlip) GetAgentIdentity(agentID int64) (agentIdentity *models.GetAgentIdentityResponse, err error)
func (*BaseFlip) GetAllBill ¶
func (base *BaseFlip) GetAllBill() (bills *models.GetAllBillingResponse, err error)
func (*BaseFlip) GetAllDisbursement ¶
func (base *BaseFlip) GetAllDisbursement(params models.GetAllDisbursementRequest) (disbursements *models.GetAllDisbursementResponse, idempotencyKey string, err error)
func (*BaseFlip) GetAllInternationalTransfer ¶
func (base *BaseFlip) GetAllInternationalTransfer(params models.GetAllInternationalTransferRequest) (internationalTransfers *models.GetAllInternationalTransferResponse, err error)
func (*BaseFlip) GetAllPayment ¶
func (base *BaseFlip) GetAllPayment(params models.GetAllPaymentRequest) (payments *models.GetAllPaymentResponse, err error)
func (*BaseFlip) GetBalance ¶
func (base *BaseFlip) GetBalance() (balanceModel *models.GetBalanceResponse, err error)
func (*BaseFlip) GetBankInfo ¶
func (base *BaseFlip) GetBankInfo(params models.GetBankInfoRequest) (bankList *models.GetBankInfoResponse, err error)
func (*BaseFlip) GetBill ¶
func (base *BaseFlip) GetBill(billID int64) (bill *models.EditBillingResponse, err error)
func (*BaseFlip) GetCityList ¶
func (base *BaseFlip) GetCityList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error)
func (*BaseFlip) GetCountryList ¶
func (base *BaseFlip) GetCountryList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error)
func (*BaseFlip) GetDisbursementAgentByID ¶
func (base *BaseFlip) GetDisbursementAgentByID(transactionID int64) (disbursementModel *models.DisbursementModel, err error)
func (*BaseFlip) GetDisbursementAgentList ¶
func (base *BaseFlip) GetDisbursementAgentList(params models.GetDisbursementAgentListRequest) (disbursementModel *models.GetDisbursementAgentListResponse, err error)
func (*BaseFlip) GetDisbursementById ¶
func (base *BaseFlip) GetDisbursementById(disbursementID int64) (disbursementModel *models.DisbursementModel, err error)
func (*BaseFlip) GetDisbursementByIdemKey ¶
func (base *BaseFlip) GetDisbursementByIdemKey(idempotencyKey string) (disbursementModel *models.DisbursementModel, err error)
func (*BaseFlip) GetDisbursementCityList ¶
func (base *BaseFlip) GetDisbursementCityList() (cityList *models.CityListResponse, err error)
func (*BaseFlip) GetDisbursementCountryCityList ¶
func (base *BaseFlip) GetDisbursementCountryCityList() (country *models.CountryCityListResponse, err error)
func (*BaseFlip) GetDisbursementCountryList ¶
func (base *BaseFlip) GetDisbursementCountryList() (country *models.CountryListResponse, err error)
func (*BaseFlip) GetDistrictList ¶
func (base *BaseFlip) GetDistrictList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error)
func (*BaseFlip) GetErrorDetails ¶
func (base *BaseFlip) GetErrorDetails() []constants.ErrorDetailModel
func (*BaseFlip) GetExchangeRate ¶
func (base *BaseFlip) GetExchangeRate(params models.GetExchangeRatesRequest) (exchangeRates []models.GetExchangeRateResponse, err error)
func (*BaseFlip) GetFormData ¶
func (base *BaseFlip) GetFormData(params models.GetFormDataRequest) (formData *models.GetFormDataResponse, err error)
func (*BaseFlip) GetIdempotencyKey ¶
func (*BaseFlip) GetInternationalTransfer ¶
func (base *BaseFlip) GetInternationalTransfer(transactionID int64) (internationalTransfer *models.GetInternationalTransferResponse, err error)
func (*BaseFlip) GetPayment ¶
func (base *BaseFlip) GetPayment(billID int64, params models.GetPaymentRequest) (payments *models.GetPaymentResponse, err error)
func (*BaseFlip) GetProvinceList ¶
func (base *BaseFlip) GetProvinceList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error)
func (*BaseFlip) IsMaintenance ¶
func (base *BaseFlip) IsMaintenance() (isMaintenance *models.GetMaintenanceStatusResponse, err error)
func (*BaseFlip) KYCSubmissions ¶
func (base *BaseFlip) KYCSubmissions(agentID int64, uuid string, formData models.KycSubmissionRequest) (message *models.KycSubmissionResponse, requestID string, err error)
func (*BaseFlip) RepairData ¶
func (base *BaseFlip) RepairData(agentID int64, uuid string, formData models.RepairDataRequest) (repairedData *models.RepairDataResponse, requestID string, err error)
func (*BaseFlip) RepairIdentityImage ¶
func (base *BaseFlip) RepairIdentityImage(agentID int64, uuid string, multipartData models.RepairIdentityImageRequest, multipartFile models.RepairIdentityImageFileRequest) (repairedData *models.RepairDataResponse, requestID string, err error)
func (*BaseFlip) RepairIdentitySelfieImage ¶
func (base *BaseFlip) RepairIdentitySelfieImage(agentID int64, uuid string, multipartData models.RepairIdentityImageRequest, multipartFile models.RepairIdentityImageFileRequest) (repairedData *models.RepairDataResponse, requestID string, err error)
func (*BaseFlip) SendBankAccountInquiry ¶
func (base *BaseFlip) SendBankAccountInquiry(params models.SendBankAccountInquiryRequest) (inquiry *models.SendBankAccountInquiryResponse, err error)
func (*BaseFlip) SetIdempotencyKey ¶
func (*BaseFlip) UpdateAgentIdentity ¶
func (base *BaseFlip) UpdateAgentIdentity(agentID int64, formData models.UpdateAgentIdentityRequest) (identityModel *models.UpdateAgentIdentityResponse, err error)
func (*BaseFlip) UploadAgentIdentityImage ¶
func (base *BaseFlip) UploadAgentIdentityImage(agentID int64, uuid string, multipartData models.UploadAgentIdentityRequest, multipartFile models.UploadAgentIdentityFileRequest) (imageFlip *models.UploadAgentIdentityResponse, requestID string, err error)
func (*BaseFlip) UploadSupportingDocuments ¶
func (base *BaseFlip) UploadSupportingDocuments(uuid string, multipartData models.UploadSupportingDocumentsRequest, multipartFile models.UploadSupportingDocumentFilesRequest) (documents *models.UploadSupportingDocumentResponse, requestID string, err error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.