Files
zeekay 189ce08e51 Regenerate against the document the deployment answers for
The projection these were generated from was a month old and predated the
compute migration, so every one of them described /v1/visor — which the API
serves at zero paths now. That is why a hand-written console client and a
generated one had drifted the same way at the same time.

No /v1/visor path survives here. The word still appears as a source-plane
value and inside gvisor and supervisor, which are not this rename.
2026-09-05 18:07:13 -07:00

174 lines
5.3 KiB
C++

/**
* Hanzo Cloud API
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
* BankTxnRow.h
*
*
*/
#ifndef HANZO_MODEL_BankTxnRow_H_
#define HANZO_MODEL_BankTxnRow_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class BankTxnRow
: public ModelBase
{
public:
BankTxnRow();
virtual ~BankTxnRow();
/////////////////////////////////////////////
/// ModelBase overrides
void validate() override;
web::json::value toJson() const override;
bool fromJson(const web::json::value& json) override;
void toMultipart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) const override;
bool fromMultiPart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) override;
/////////////////////////////////////////////
/// BankTxnRow members
/// <summary>
/// AmountCents is the size of the movement in whole cents, always POSITIVE — direction carries the sign, so a caller must read both to know which way money went.
/// </summary>
int64_t getAmountCents() const;
bool amountCentsIsSet() const;
void unsetAmountCents();
void setAmountCents(int64_t value);
/// <summary>
/// Connector names the feed this row arrived on — which bank or processor connection it was synced from. With externalId it is the row&#39;s identity, so re-syncing the same statement never books a second copy.
/// </summary>
utility::string_t getConnector() const;
bool connectorIsSet() const;
void unsetConnector();
void setConnector(const utility::string_t& value);
/// <summary>
/// Currency is the ISO code the bank reported the line in.
/// </summary>
utility::string_t getCurrency() const;
bool currencyIsSet() const;
void unsetCurrency();
void setCurrency(const utility::string_t& value);
/// <summary>
/// Description is the statement memo as the bank wrote it.
/// </summary>
utility::string_t getDescription() const;
bool descriptionIsSet() const;
void unsetDescription();
void setDescription(const utility::string_t& value);
/// <summary>
/// Direction is which way the money moved: an inflow into the account or an outflow from it, from the org&#39;s point of view.
/// </summary>
utility::string_t getDirection() const;
bool directionIsSet() const;
void unsetDirection();
void setDirection(const utility::string_t& value);
/// <summary>
/// ExternalID is the bank&#39;s OWN id for the line, carried verbatim. It is unique only within its connector.
/// </summary>
utility::string_t getExternalId() const;
bool externalIdIsSet() const;
void unsetExternalId();
void setExternalId(const utility::string_t& value);
/// <summary>
/// MatchedVoucher names the ledger voucher this line was reconciled against — the bill it paid, or the settlement it cleared. Absent when nothing matched, which for an inflow is what raises a question.
/// </summary>
utility::string_t getMatchedVoucher() const;
bool matchedVoucherIsSet() const;
void unsetMatchedVoucher();
void setMatchedVoucher(const utility::string_t& value);
/// <summary>
/// Merchant is the counterparty the feed identified, where it did.
/// </summary>
utility::string_t getMerchant() const;
bool merchantIsSet() const;
void unsetMerchant();
void setMerchant(const utility::string_t& value);
/// <summary>
/// PostedAt is the bank&#39;s posting date for the line, not when we synced it.
/// </summary>
utility::string_t getPostedAt() const;
bool postedAtIsSet() const;
void unsetPostedAt();
void setPostedAt(const utility::string_t& value);
/// <summary>
/// Status is where the line got to: posted (an outflow booked straight to an expense), settled (an outflow that paid down a scanned bill), reconciled (an inflow that cleared a pending settlement), transfer (a move between the org&#39;s own accounts, recorded but with no effect on the books), or unmatched (an inflow nobody could place, which is waiting on a human answer).
/// </summary>
utility::string_t getStatus() const;
bool statusIsSet() const;
void unsetStatus();
void setStatus(const utility::string_t& value);
protected:
int64_t m_AmountCents;
bool m_AmountCentsIsSet;
utility::string_t m_Connector;
bool m_ConnectorIsSet;
utility::string_t m_Currency;
bool m_CurrencyIsSet;
utility::string_t m_Description;
bool m_DescriptionIsSet;
utility::string_t m_Direction;
bool m_DirectionIsSet;
utility::string_t m_ExternalId;
bool m_ExternalIdIsSet;
utility::string_t m_MatchedVoucher;
bool m_MatchedVoucherIsSet;
utility::string_t m_Merchant;
bool m_MerchantIsSet;
utility::string_t m_PostedAt;
bool m_PostedAtIsSet;
utility::string_t m_Status;
bool m_StatusIsSet;
};
}
}
#endif /* HANZO_MODEL_BankTxnRow_H_ */