Skip to content

Commit

Permalink
Improve constants visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Mar 18, 2024
1 parent 1b4bbb7 commit 4181e1d
Show file tree
Hide file tree
Showing 102 changed files with 812 additions and 812 deletions.
4 changes: 2 additions & 2 deletions src/accounting/Model/AccountingAccountInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ interface AccountingAccountInterface extends JsonSerializable {
*
* @var string
*/
const TYPE_GENERAL = "G";
public const TYPE_GENERAL = "G";

/**
* Type "third".
*
* @var string
*/
const TYPE_THIRD = "T";
public const TYPE_THIRD = "T";

/**
* Get the label.
Expand Down
22 changes: 11 additions & 11 deletions src/accounting/Serializer/SerializerKeys.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,75 +26,75 @@ interface SerializerKeys {
*
* @var string
*/
const ACCOUNT_NUMBER = "accountNumber";
public const ACCOUNT_NUMBER = "accountNumber";

/**
* Serializer key "bank code".
*
* @var string
*/
const BANK_CODE = "bankCode";
public const BANK_CODE = "bankCode";

/**
* Serializer key "bank domiciliation".
*
* @var string
*/
const BANK_DOMICILIATION = "bankDomiciliation";
public const BANK_DOMICILIATION = "bankDomiciliation";

/**
* Serializer key "bank name".
*
* @var string
*/
const BANK_NAME = "bankName";
public const BANK_NAME = "bankName";

/**
* Serializer key "BIC".
*
* @var string
*/
const BIC = "bic";
public const BIC = "bic";

/**
* Serializer key "branch code".
*
* @var string
*/
const BRANCH_CODE = "branchCode";
public const BRANCH_CODE = "branchCode";

/**
* Serializer key "IBAN".
*
* @var string
*/
const IBAN = "iban";
public const IBAN = "iban";

/**
* Serializer key "owner".
*
* @var string
*/
const OWNER = "owner";
public const OWNER = "owner";

/**
* Serializer key "purchases accounting account".
*
* @var string
*/
const PURCHASES_ACCOUNTING_ACCOUNT = "purchasesAccountingAccount";
public const PURCHASES_ACCOUNTING_ACCOUNT = "purchasesAccountingAccount";

/**
* Serializer key "RIB key".
*
* @var string
*/
const RIB_KEY = "ribKey";
public const RIB_KEY = "ribKey";

/**
* Serializer key "sales accounting account".
*
* @var string
*/
const SALES_ACCOUNTING_ACCOUNT = "salesAccountingAccount";
public const SALES_ACCOUNTING_ACCOUNT = "salesAccountingAccount";
}
4 changes: 2 additions & 2 deletions src/adoria/Api/ApiProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ interface ApiProviderInterface {
*
* @avr string
*/
const ENDPOINT_PATH = "http://ws.adoria.com";
public const ENDPOINT_PATH = "http://ws.adoria.com";

/**
* Request data resource path.
*
* @var string
*/
const REQUEST_DATA_RESOURCE_PATH = "/MdbProcurement.adoria.ExternalsServices/EProcurement/Buying/V10.svc/rest/AcountingInterface";
public const REQUEST_DATA_RESOURCE_PATH = "/MdbProcurement.adoria.ExternalsServices/EProcurement/Buying/V10.svc/rest/AcountingInterface";
}
2 changes: 1 addition & 1 deletion src/adoria/Serializer/RequestSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class RequestSerializer {
*
* @var string
*/
const REQUEST_DATE_FORMAT = "Y-m-d";
public const REQUEST_DATE_FORMAT = "Y-m-d";

/**
* Serialize a request data.
Expand Down
2 changes: 1 addition & 1 deletion src/adoria/Serializer/ResponseDeserializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ResponseDeserializer {
*
* @var string
*/
const RESPONSE_DATE_FORMAT = RequestSerializer::REQUEST_DATE_FORMAT;
public const RESPONSE_DATE_FORMAT = RequestSerializer::REQUEST_DATE_FORMAT;

/**
* Deserialize a line.
Expand Down
42 changes: 21 additions & 21 deletions src/billing/Serializer/SerializerKeys.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,145 +26,145 @@ interface SerializerKeys {
*
* @var string
*/
const BILLABLE = "billable";
public const BILLABLE = "billable";

/**
* Serializer key "billing address addressee".
*
* @var string
*/
const BILLING_ADDRESS_ADDRESSEE = "billingAddressAddressee";
public const BILLING_ADDRESS_ADDRESSEE = "billingAddressAddressee";

/**
* Serializer key "billing address country".
*
* @var string
*/
const BILLING_ADDRESS_COUNTRY = "billingAddressCountry";
public const BILLING_ADDRESS_COUNTRY = "billingAddressCountry";

/**
* Serializer key "billing address house number".
*
* @var string
*/
const BILLING_ADDRESS_HOUSE_NUMBER = "billingAddressHouseNumber";
public const BILLING_ADDRESS_HOUSE_NUMBER = "billingAddressHouseNumber";

/**
* Serializer key "billing address location".
*
* @var string
*/
const BILLING_ADDRESS_LOCATION = "billingAddressLocation";
public const BILLING_ADDRESS_LOCATION = "billingAddressLocation";

/**
* Serializer key "billing address postal code".
*
* @var string
*/
const BILLING_ADDRESS_POSTAL_CODE = "billingAddressPostalCode";
public const BILLING_ADDRESS_POSTAL_CODE = "billingAddressPostalCode";

/**
* Serializer key "billing address street name".
*
* @var string
*/
const BILLING_ADDRESS_STREET_NAME = "billingAddressStreetName";
public const BILLING_ADDRESS_STREET_NAME = "billingAddressStreetName";

/**
* Serializer key "delivery address addressee".
*
* @var string
*/
const DELIVERY_ADDRESS_ADDRESSEE = "deliveryAddressAddressee";
public const DELIVERY_ADDRESS_ADDRESSEE = "deliveryAddressAddressee";

/**
* Serializer key "delivery address country".
*
* @var string
*/
const DELIVERY_ADDRESS_COUNTRY = "deliveryAddressCountry";
public const DELIVERY_ADDRESS_COUNTRY = "deliveryAddressCountry";

/**
* Serializer key "delivery address house number".
*
* @var string
*/
const DELIVERY_ADDRESS_HOUSE_NUMBER = "deliveryAddressHouseNumber";
public const DELIVERY_ADDRESS_HOUSE_NUMBER = "deliveryAddressHouseNumber";

/**
* Serializer key "delivery address location".
*
* @var string
*/
const DELIVERY_ADDRESS_LOCATION = "deliveryAddressLocation";
public const DELIVERY_ADDRESS_LOCATION = "deliveryAddressLocation";

/**
* Serializer key "delivery address postal code".
*
* @var string
*/
const DELIVERY_ADDRESS_POSTAL_CODE = "deliveryAddressPostalCode";
public const DELIVERY_ADDRESS_POSTAL_CODE = "deliveryAddressPostalCode";

/**
* Serializer key "delivery address street name".
*
* @var string
*/
const DELIVERY_ADDRESS_STREET_NAME = "deliveryAddressStreetName";
public const DELIVERY_ADDRESS_STREET_NAME = "deliveryAddressStreetName";

/**
* Serializer key "details".
*
* @var string
*/
const DETAILS = "details";
public const DETAILS = "details";

/**
* Serializer key "expiration date".
*
* @var string
*/
const EXPIRATION_DATE = "expirationDate";
public const EXPIRATION_DATE = "expirationDate";

/**
* Serializer key "sending address addressee".
*
* @var string
*/
const SENDING_ADDRESS_ADDRESSEE = "sendingAddressAddressee";
public const SENDING_ADDRESS_ADDRESSEE = "sendingAddressAddressee";

/**
* Serializer key "sending address country".
*
* @var string
*/
const SENDING_ADDRESS_COUNTRY = "sendingAddressCountry";
public const SENDING_ADDRESS_COUNTRY = "sendingAddressCountry";

/**
* Serializer key "sending address house number".
*
* @var string
*/
const SENDING_ADDRESS_HOUSE_NUMBER = "sendingAddressHouseNumber";
public const SENDING_ADDRESS_HOUSE_NUMBER = "sendingAddressHouseNumber";

/**
* Serializer key "sending address location".
*
* @var string
*/
const SENDING_ADDRESS_LOCATION = "sendingAddressLocation";
public const SENDING_ADDRESS_LOCATION = "sendingAddressLocation";

/**
* Serializer key "sending address postal code".
*
* @var string
*/
const SENDING_ADDRESS_POSTAL_CODE = "sendingAddressPostalCode";
public const SENDING_ADDRESS_POSTAL_CODE = "sendingAddressPostalCode";

/**
* Serializer key "sending address street name".
*
* @var string
*/
const SENDING_ADDRESS_STREET_NAME = "sendingAddressStreetName";
public const SENDING_ADDRESS_STREET_NAME = "sendingAddressStreetName";
}
8 changes: 4 additions & 4 deletions src/core/Model/CivilityInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,26 @@ interface CivilityInterface {
*
* @var int
*/
const CIVILITY_EMPTY = -1;
public const CIVILITY_EMPTY = -1;

/**
* Civility "miss".
*
* @var int
*/
const CIVILITY_MISS = 164;
public const CIVILITY_MISS = 164;

/**
* Civility "mister".
*
* @var int
*/
const CIVILITY_MISTER = 301;
public const CIVILITY_MISTER = 301;

/**
* Civility "mrs".
*
* @var int
*/
const CIVILITY_MRS = 106;
public const CIVILITY_MRS = 106;
}
12 changes: 6 additions & 6 deletions src/core/Model/MaritalStatusInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,40 +26,40 @@ interface MaritalStatusInterface {
*
* @var int
*/
const MARITAL_STATUS_DIVORCED = 323;
public const MARITAL_STATUS_DIVORCED = 323;

/**
* Marital status "empty".
*
* @var int
*/
const MARITAL_STATUS_EMPTY = -1;
public const MARITAL_STATUS_EMPTY = -1;

/**
* Marital status "married".
*
* @var int
*/
const MARITAL_STATUS_MARRIED = 244;
public const MARITAL_STATUS_MARRIED = 244;

/**
* Marital status "pacs".
*
* @var int
*/
const MARITAL_STATUS_PACS = 103;
public const MARITAL_STATUS_PACS = 103;

/**
* Marital status "single".
*
* @var int
*/
const MARITAL_STATUS_SINGLE = 197;
public const MARITAL_STATUS_SINGLE = 197;

/**
* Marital status "widower".
*
* @var int
*/
const MARITAL_STATUS_WIDOWER = 384;
public const MARITAL_STATUS_WIDOWER = 384;
}
Loading

0 comments on commit 4181e1d

Please sign in to comment.