Skip to content

Commit

Permalink
Merge pull request #987 from stripe/ctrudeau-fix-php-generated-snippets
Browse files Browse the repository at this point in the history
Adding generated comment
  • Loading branch information
ctrudeau-stripe authored Jul 31, 2020
2 parents 21e5001 + c7f9b24 commit f87a526
Show file tree
Hide file tree
Showing 143 changed files with 286 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

// Stripe singleton
require __DIR__ . '/lib/Stripe.php';

Expand Down
2 changes: 2 additions & 0 deletions lib/Account.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/AccountLink.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/ApplePayDomain.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/ApplicationFee.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/ApplicationFeeRefund.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Balance.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/BalanceTransaction.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/BankAccount.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/BillingPortal/Session.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe\BillingPortal;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/BitcoinReceiver.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/BitcoinTransaction.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Capability.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Card.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Charge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Checkout/Session.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe\Checkout;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/CountrySpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Coupon.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/CreditNote.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/CreditNoteLineItem.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Customer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/CustomerBalanceTransaction.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Dispute.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/EphemeralKey.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Event.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/ExchangeRate.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/File.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/FileLink.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Invoice.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/InvoiceItem.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/InvoiceLineItem.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Issuing/Authorization.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe\Issuing;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Issuing/Card.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe\Issuing;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Issuing/Cardholder.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe\Issuing;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Issuing/Dispute.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe\Issuing;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Issuing/Transaction.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe\Issuing;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/LineItem.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/LoginLink.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Mandate.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Order.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/OrderReturn.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/PaymentIntent.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/PaymentMethod.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Payout.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Person.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Plan.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Price.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Product.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Radar/EarlyFraudWarning.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe\Radar;

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/Radar/ValueList.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe\Radar;

/**
Expand Down
Loading

0 comments on commit f87a526

Please sign in to comment.