Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix property read syntax to supported by more tools #188

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions lib/Resources/BankAuthorisation.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
* A thin wrapper around a bank_authorisation, providing access to its
* attributes
*
* @property-read $authorisation_type
* @property-read $authorised_at
* @property-read $created_at
* @property-read $expires_at
* @property-read $id
* @property-read $last_visited_at
* @property-read $links
* @property-read $qr_code_url
* @property-read $redirect_uri
* @property-read $url
* @property-read mixed $authorisation_type
* @property-read mixed $authorised_at
* @property-read mixed $created_at
* @property-read mixed $expires_at
* @property-read mixed $id
* @property-read mixed $last_visited_at
* @property-read mixed $links
* @property-read mixed $qr_code_url
* @property-read mixed $redirect_uri
* @property-read mixed $url
*/
class BankAuthorisation extends BaseResource
{
Expand Down
6 changes: 3 additions & 3 deletions lib/Resources/BankDetailsLookup.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
* A thin wrapper around a bank_details_lookup, providing access to its
* attributes
*
* @property-read $available_debit_schemes
* @property-read $bank_name
* @property-read $bic
* @property-read mixed $available_debit_schemes
* @property-read mixed $bank_name
* @property-read mixed $bic
*/
class BankDetailsLookup extends BaseResource
{
Expand Down
22 changes: 11 additions & 11 deletions lib/Resources/BillingRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
* A thin wrapper around a billing_request, providing access to its
* attributes
*
* @property-read $actions
* @property-read $created_at
* @property-read $fallback_enabled
* @property-read $id
* @property-read $links
* @property-read $mandate_request
* @property-read $metadata
* @property-read $payment_request
* @property-read $purpose_code
* @property-read $resources
* @property-read $status
* @property-read mixed $actions
* @property-read mixed $created_at
* @property-read mixed $fallback_enabled
* @property-read mixed $id
* @property-read mixed $links
* @property-read mixed $mandate_request
* @property-read mixed $metadata
* @property-read mixed $payment_request
* @property-read mixed $purpose_code
* @property-read mixed $resources
* @property-read mixed $status
*/
class BillingRequest extends BaseResource
{
Expand Down
36 changes: 18 additions & 18 deletions lib/Resources/BillingRequestFlow.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
* A thin wrapper around a billing_request_flow, providing access to its
* attributes
*
* @property-read $authorisation_url
* @property-read $auto_fulfil
* @property-read $created_at
* @property-read $customer_details_captured
* @property-read $exit_uri
* @property-read $expires_at
* @property-read $id
* @property-read $language
* @property-read $links
* @property-read $lock_bank_account
* @property-read $lock_currency
* @property-read $lock_customer_details
* @property-read $prefilled_bank_account
* @property-read $prefilled_customer
* @property-read $redirect_uri
* @property-read $session_token
* @property-read $show_redirect_buttons
* @property-read $show_success_redirect_button
* @property-read mixed $authorisation_url
* @property-read mixed $auto_fulfil
* @property-read mixed $created_at
* @property-read mixed $customer_details_captured
* @property-read mixed $exit_uri
* @property-read mixed $expires_at
* @property-read mixed $id
* @property-read mixed $language
* @property-read mixed $links
* @property-read mixed $lock_bank_account
* @property-read mixed $lock_currency
* @property-read mixed $lock_customer_details
* @property-read mixed $prefilled_bank_account
* @property-read mixed $prefilled_customer
* @property-read mixed $redirect_uri
* @property-read mixed $session_token
* @property-read mixed $show_redirect_buttons
* @property-read mixed $show_success_redirect_button
*/
class BillingRequestFlow extends BaseResource
{
Expand Down
34 changes: 17 additions & 17 deletions lib/Resources/BillingRequestTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
* A thin wrapper around a billing_request_template, providing access to its
* attributes
*
* @property-read $authorisation_url
* @property-read $created_at
* @property-read $id
* @property-read $mandate_request_currency
* @property-read $mandate_request_description
* @property-read $mandate_request_metadata
* @property-read $mandate_request_scheme
* @property-read $mandate_request_verify
* @property-read $metadata
* @property-read $name
* @property-read $payment_request_amount
* @property-read $payment_request_currency
* @property-read $payment_request_description
* @property-read $payment_request_metadata
* @property-read $payment_request_scheme
* @property-read $redirect_uri
* @property-read $updated_at
* @property-read mixed $authorisation_url
* @property-read mixed $created_at
* @property-read mixed $id
* @property-read mixed $mandate_request_currency
* @property-read mixed $mandate_request_description
* @property-read mixed $mandate_request_metadata
* @property-read mixed $mandate_request_scheme
* @property-read mixed $mandate_request_verify
* @property-read mixed $metadata
* @property-read mixed $name
* @property-read mixed $payment_request_amount
* @property-read mixed $payment_request_currency
* @property-read mixed $payment_request_description
* @property-read mixed $payment_request_metadata
* @property-read mixed $payment_request_scheme
* @property-read mixed $redirect_uri
* @property-read mixed $updated_at
*/
class BillingRequestTemplate extends BaseResource
{
Expand Down
16 changes: 8 additions & 8 deletions lib/Resources/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
* A thin wrapper around a block, providing access to its
* attributes
*
* @property-read $active
* @property-read $block_type
* @property-read $created_at
* @property-read $id
* @property-read $reason_description
* @property-read $reason_type
* @property-read $resource_reference
* @property-read $updated_at
* @property-read mixed $active
* @property-read mixed $block_type
* @property-read mixed $created_at
* @property-read mixed $id
* @property-read mixed $reason_description
* @property-read mixed $reason_type
* @property-read mixed $resource_reference
* @property-read mixed $updated_at
*/
class Block extends BaseResource
{
Expand Down
42 changes: 21 additions & 21 deletions lib/Resources/Creditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@
* A thin wrapper around a creditor, providing access to its
* attributes
*
* @property-read $address_line1
* @property-read $address_line2
* @property-read $address_line3
* @property-read $bank_reference_prefix
* @property-read $can_create_refunds
* @property-read $city
* @property-read $country_code
* @property-read $created_at
* @property-read $creditor_type
* @property-read $custom_payment_pages_enabled
* @property-read $fx_payout_currency
* @property-read $id
* @property-read $links
* @property-read $logo_url
* @property-read $mandate_imports_enabled
* @property-read $merchant_responsible_for_notifications
* @property-read $name
* @property-read $postal_code
* @property-read $region
* @property-read $scheme_identifiers
* @property-read $verification_status
* @property-read mixed $address_line1
* @property-read mixed $address_line2
* @property-read mixed $address_line3
* @property-read mixed $bank_reference_prefix
* @property-read mixed $can_create_refunds
* @property-read mixed $city
* @property-read mixed $country_code
* @property-read mixed $created_at
* @property-read mixed $creditor_type
* @property-read mixed $custom_payment_pages_enabled
* @property-read mixed $fx_payout_currency
* @property-read mixed $id
* @property-read mixed $links
* @property-read mixed $logo_url
* @property-read mixed $mandate_imports_enabled
* @property-read mixed $merchant_responsible_for_notifications
* @property-read mixed $name
* @property-read mixed $postal_code
* @property-read mixed $region
* @property-read mixed $scheme_identifiers
* @property-read mixed $verification_status
*/
class Creditor extends BaseResource
{
Expand Down
24 changes: 12 additions & 12 deletions lib/Resources/CreditorBankAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
* A thin wrapper around a creditor_bank_account, providing access to its
* attributes
*
* @property-read $account_holder_name
* @property-read $account_number_ending
* @property-read $account_type
* @property-read $bank_name
* @property-read $country_code
* @property-read $created_at
* @property-read $currency
* @property-read $enabled
* @property-read $id
* @property-read $links
* @property-read $metadata
* @property-read $verification_status
* @property-read mixed $account_holder_name
* @property-read mixed $account_number_ending
* @property-read mixed $account_type
* @property-read mixed $bank_name
* @property-read mixed $country_code
* @property-read mixed $created_at
* @property-read mixed $currency
* @property-read mixed $enabled
* @property-read mixed $id
* @property-read mixed $links
* @property-read mixed $metadata
* @property-read mixed $verification_status
*/
class CreditorBankAccount extends BaseResource
{
Expand Down
8 changes: 4 additions & 4 deletions lib/Resources/CurrencyExchangeRate.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
* A thin wrapper around a currency_exchange_rate, providing access to its
* attributes
*
* @property-read $rate
* @property-read $source
* @property-read $target
* @property-read $time
* @property-read mixed $rate
* @property-read mixed $source
* @property-read mixed $target
* @property-read mixed $time
*/
class CurrencyExchangeRate extends BaseResource
{
Expand Down
36 changes: 18 additions & 18 deletions lib/Resources/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
* A thin wrapper around a customer, providing access to its
* attributes
*
* @property-read $address_line1
* @property-read $address_line2
* @property-read $address_line3
* @property-read $city
* @property-read $company_name
* @property-read $country_code
* @property-read $created_at
* @property-read $danish_identity_number
* @property-read $email
* @property-read $family_name
* @property-read $given_name
* @property-read $id
* @property-read $language
* @property-read $metadata
* @property-read $phone_number
* @property-read $postal_code
* @property-read $region
* @property-read $swedish_identity_number
* @property-read mixed $address_line1
* @property-read mixed $address_line2
* @property-read mixed $address_line3
* @property-read mixed $city
* @property-read mixed $company_name
* @property-read mixed $country_code
* @property-read mixed $created_at
* @property-read mixed $danish_identity_number
* @property-read mixed $email
* @property-read mixed $family_name
* @property-read mixed $given_name
* @property-read mixed $id
* @property-read mixed $language
* @property-read mixed $metadata
* @property-read mixed $phone_number
* @property-read mixed $postal_code
* @property-read mixed $region
* @property-read mixed $swedish_identity_number
*/
class Customer extends BaseResource
{
Expand Down
22 changes: 11 additions & 11 deletions lib/Resources/CustomerBankAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
* A thin wrapper around a customer_bank_account, providing access to its
* attributes
*
* @property-read $account_holder_name
* @property-read $account_number_ending
* @property-read $account_type
* @property-read $bank_name
* @property-read $country_code
* @property-read $created_at
* @property-read $currency
* @property-read $enabled
* @property-read $id
* @property-read $links
* @property-read $metadata
* @property-read mixed $account_holder_name
* @property-read mixed $account_number_ending
* @property-read mixed $account_type
* @property-read mixed $bank_name
* @property-read mixed $country_code
* @property-read mixed $created_at
* @property-read mixed $currency
* @property-read mixed $enabled
* @property-read mixed $id
* @property-read mixed $links
* @property-read mixed $metadata
*/
class CustomerBankAccount extends BaseResource
{
Expand Down
12 changes: 6 additions & 6 deletions lib/Resources/CustomerNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
* A thin wrapper around a customer_notification, providing access to its
* attributes
*
* @property-read $action_taken
* @property-read $action_taken_at
* @property-read $action_taken_by
* @property-read $id
* @property-read $links
* @property-read $type
* @property-read mixed $action_taken
* @property-read mixed $action_taken_at
* @property-read mixed $action_taken_by
* @property-read mixed $id
* @property-read mixed $links
* @property-read mixed $type
*/
class CustomerNotification extends BaseResource
{
Expand Down
18 changes: 9 additions & 9 deletions lib/Resources/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
* A thin wrapper around a event, providing access to its
* attributes
*
* @property-read $action
* @property-read $created_at
* @property-read $customer_notifications
* @property-read $details
* @property-read $id
* @property-read $links
* @property-read $metadata
* @property-read $resource_metadata
* @property-read $resource_type
* @property-read mixed $action
* @property-read mixed $created_at
* @property-read mixed $customer_notifications
* @property-read mixed $details
* @property-read mixed $id
* @property-read mixed $links
* @property-read mixed $metadata
* @property-read mixed $resource_metadata
* @property-read mixed $resource_type
*/
class Event extends BaseResource
{
Expand Down
Loading