Skip to content

Commit

Permalink
chore: update SDK from api-definitions (#733)
Browse files Browse the repository at this point in the history
Co-authored-by: rebilly-machine-user <[email protected]>
  • Loading branch information
rebilly-machine-user and rebilly-machine-user authored Dec 12, 2024
1 parent b1092a9 commit 58be891
Show file tree
Hide file tree
Showing 10 changed files with 69 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/swift-mugs-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

SDK Generator updated
4 changes: 4 additions & 0 deletions src/Model/AdjustPaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@
interface AdjustPaymentMethod extends JsonSerializable
{
public function getPaymentMethod(): string;

public function getFeature(): ?string;

public function setFeature(null|string $feature): static;
}
4 changes: 4 additions & 0 deletions src/Model/CustomField.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ public function getDescription(): ?string;

public function setDescription(null|string $description): static;

public function getAdditionalSchema(): null|ArrayCustomFieldAdditionalSchema|BooleanCustomFieldAdditionalSchema|DateCustomFieldAdditionalSchema|DateTimeCustomFieldAdditionalSchema|IntegerCustomFieldAdditionalSchema|MonetaryCustomFieldAdditionalSchema|NumberCustomFieldAdditionalSchema|StringCustomFieldAdditionalSchema;

public function setAdditionalSchema(null|array $additionalSchema): static;

/**
* @return null|ResourceLink[]
*/
Expand Down
8 changes: 8 additions & 0 deletions src/Model/DataExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public function getName(): string;

public function setName(string $name): static;

public function getFormat(): string;

public function setFormat(string $format): static;

public function getArguments(): ?DataExportArguments;

public function setArguments(null|DataExportArguments|array $arguments): static;
Expand Down Expand Up @@ -77,4 +81,8 @@ public function setDateRange(null|DataExportDateRange|array $dateRange): static;
* @return null|ResourceLink[]
*/
public function getLinks(): ?array;

public function getEmbedded(): null|AmlChecksDataExportEmbedded|CustomersDataExportEmbedded|DisputesDataExportEmbedded|InvoiceItemsDataExportEmbedded|InvoicesDataExportEmbedded|RevenueAuditDataExportEmbedded|SubscriptionsDataExportEmbedded|TransactionsDataExportEmbedded;

public function setEmbedded(null|array $embedded): static;
}
10 changes: 10 additions & 0 deletions src/Model/KycDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,18 @@ public function setMatchLevel(null|int $matchLevel): static;

public function getRevision(): ?int;

public function getDocumentMatches(): null|ProofOfAddressKycDocumentDocumentMatches|ProofOfCreditFileKycDocumentDocumentMatches|ProofOfFundsKycDocumentDocumentMatches|ProofOfIdentityKycDocumentDocumentMatches|ProofOfPurchaseKycDocumentDocumentMatches;

public function setDocumentMatches(null|array $documentMatches): static;

public function getSettings(): null|KycSettingsAddress|KycSettingsIdentity|array;

/**
* @return null|ResourceLink[]
*/
public function getLinks(): ?array;

public function getEmbedded(): null|ProofOfAddressKycDocumentEmbedded|ProofOfCreditFileKycDocumentEmbedded|ProofOfFundsKycDocumentEmbedded|ProofOfIdentityKycDocumentEmbedded|ProofOfPurchaseKycDocumentEmbedded;

public function setEmbedded(null|array $embedded): static;
}
6 changes: 6 additions & 0 deletions src/Model/PaymentInstrument.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public function getBillingAddress(): ?ContactObject;

public function setBillingAddress(ContactObject|array $billingAddress): static;

public function getStatus(): ?string;

public function getUseAsBackup(): ?bool;

public function setUseAsBackup(null|bool $useAsBackup): static;
Expand All @@ -55,4 +57,8 @@ public function getRevision(): ?int;
* @return null|ResourceLink[]
*/
public function getLinks(): ?array;

public function getEmbedded(): null|AlternativeInstrumentEmbedded|BankAccountEmbedded|KhelocardCardEmbedded|PayPalAccountEmbedded|PaymentCardEmbedded;

public function setEmbedded(null|array $embedded): static;
}
2 changes: 2 additions & 0 deletions src/Model/PeriodAnchor.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ interface PeriodAnchor extends JsonSerializable
{
public function getMethod(): string;

public function getDay(): int|string;

public function getTime(): ?string;

public function setTime(null|string $time): static;
Expand Down
22 changes: 22 additions & 0 deletions src/Model/Quote.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ public function getAcceptanceConditions(): ?array;
*/
public function setAcceptanceConditions(null|array $acceptanceConditions): static;

/**
* @return null|QuoteChangeOrderAcceptanceFulfillment[]|QuoteCreateOrderAcceptanceFulfillment[]|QuoteReactivateOrderAcceptanceFulfillment[]
*/
public function getAcceptanceFulfillment(): ?array;

public function getSubscriptionId(): ?string;

public function getInvoiceId(): ?string;
Expand All @@ -49,6 +54,15 @@ public function getCustomerId(): string;

public function setCustomerId(string $customerId): static;

/**
* @return QuoteChangeOrderItems[]|QuoteCreateOrderItems[]|QuoteReactivateOrderItems[]
*/
public function getItems(): array;

public function getInvoicePreview(): null|QuoteChangeOrderInvoicePreview|QuoteCreateOrderInvoicePreview|QuoteReactivateOrderInvoicePreview;

public function setInvoicePreview(null|array $invoicePreview): static;

public function getAutopay(): ?bool;

public function setAutopay(null|bool $autopay): static;
Expand Down Expand Up @@ -77,6 +91,10 @@ public function getRedirectUrl(): ?string;

public function setRedirectUrl(null|string $redirectUrl): static;

public function getSignature(): null|QuoteChangeOrderSignature|QuoteCreateOrderSignature|QuoteReactivateOrderSignature;

public function setSignature(null|array $signature): static;

public function getShipping(): ?Shipping;

public function setShipping(null|Shipping|array $shipping): static;
Expand All @@ -99,4 +117,8 @@ public function setCouponIds(null|array $couponIds): static;
* @return null|ResourceLink[]
*/
public function getLinks(): ?array;

public function getEmbedded(): null|QuoteChangeOrderEmbedded|QuoteCreateOrderEmbedded|QuoteReactivateOrderEmbedded;

public function setEmbedded(null|array $embedded): static;
}
2 changes: 2 additions & 0 deletions src/Model/ServicePeriodAnchorInstruction.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ interface ServicePeriodAnchorInstruction extends JsonSerializable
{
public function getMethod(): string;

public function getDay(): int|string;

public function getTime(): ?string;

public function setTime(null|string $time): static;
Expand Down
6 changes: 6 additions & 0 deletions src/Model/SubscriptionOrOneTimeSale.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public function setCustomerId(string $customerId): static;

public function getOrganizationId(): ?string;

public function getStatus(): ?string;

public function getBillingStatus(): ?string;

public function getWebsiteId(): string;
Expand Down Expand Up @@ -107,4 +109,8 @@ public function getUpdatedTime(): ?DateTimeImmutable;
* @return null|ResourceLink[]
*/
public function getLinks(): ?array;

public function getEmbedded(): null|OneTimeSaleEmbedded|SubscriptionEmbedded;

public function setEmbedded(null|array $embedded): static;
}

0 comments on commit 58be891

Please sign in to comment.